Jump to content

Moving Prestashop from folder to root [Solved]


Recommended Posts

Hi guys I've done a very stupid thing ...
I installed prestashop in a folder not on the root dir of my website I've set everything up in that folder, obviously realizing my mistake I want to move prestashop from the folder to the root, but when ever I do it it breaks tremendously, all the database links are still directing to the folder, is there any way I can fix this with out starting again ? :(

I have tried moving all the files to root under a new install and importing my database but all the links point to the wrong place :(

thanks very much for reading, I hope to hear some solutions :D

Thanks guys and gals

Link to comment
Share on other sites

After u move the whole this to another folder u have to edit in back end under tabs: prefrences>database and prefrences>URL setup(if u have 1.4 its those tabs, cant remember for previous ver) if u cant acces the back end go to prestashop\prestashop\config\settings.inc.php and change: define('__PS_BASE_URI__', '/root/');(im just guessing it says root cuz u had it in that folder) to define('__PS_BASE_URI__', '/what ever folder u have now/'); and if its no folder its just define('__PS_BASE_URI__', '/');

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...