Drew Posted April 5, 2011 Share Posted April 5, 2011 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 Thanks guys and gals Link to comment Share on other sites More sharing options...
Drew Posted April 5, 2011 Author Share Posted April 5, 2011 Solved found the answer here http://www.prestashop.com/forums/viewthread/73870/ Link to comment Share on other sites More sharing options...
tobie montana Posted April 5, 2011 Share Posted April 5, 2011 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now