HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Image Loading In Old Domain

I have changed the domain name of vanilla forums and it is working fine except the images which are still trying to loading in old domain name and show the broken image.

If i upload image from new domain it is working fine. but already uploaded images in old domain is not working in the new domain because it still try to load image from old domain.....

So how to change the old domain to new domain for already uploaded images.


  • Options

    Not very easily, those URL's are stored in the database. There is probably a way of changing them there but unfortunately databases are not my forte. Hopefully someone else can help.

  • Options

    Alternatively if you still have the old domain you can 301 redirect it, which is also good for seo.

    If you are using the old domain for another site you can always upload the uploads folder to the site of the old domain and your images should render.

Sign In or Register to comment.