Jump to content

how to auto update image path after moving website from test folder to root?


Recommended Posts

after you move the site to the root folder, you need to log into your back office and go to the SEO and URL page and update the domain and base url so it reflects the site in the root folder.

 

Saving that should also update your .htaccess file which will update all the path information

Link to comment
Share on other sites

i dont know the answer but since every setting is saved in the database....i would start with a full database backup. Then i would export all the database from phpmyadmin and open it with Notepad++, search and replace "www.mysite.com/testfolder/" with "www.mysite.com/"

 

This scenario assumes that the footer's module saves all the directory. You could start by finding the "www.mysite.com/testfolder/" in your DB and then you will know what to do.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...