DelBoy Posted September 10, 2009 Share Posted September 10, 2009 Hi,I have just installed PrestaShop into a folder called PrestaShop but would like to change the folder name to shop instead. Is there an easy way of doing this?I am completely new to PrestaShop, so be gentle with me. ThanksDel Link to comment Share on other sites More sharing options...
fs_xyz Posted September 10, 2009 Share Posted September 10, 2009 Inside your prestashop installation directory, there is a directory called config.Inside it, a file named setting.inc.php.Open it using notepad. ( or other web application )define('__PS_BASE_URI__', 'Search for that line. For your case, probably will look like this :define('__PS_BASE_URI__', '/PrestaShop/');Changed the word PrestaShop into whatever you want. Don't delete the "/" tough. Link to comment Share on other sites More sharing options...
DelBoy Posted September 11, 2009 Author Share Posted September 11, 2009 Thanks for the quick response, I'll give it a try. Link to comment Share on other sites More sharing options...
Tropical Dream Posted September 11, 2009 Share Posted September 11, 2009 I confirm that this is the right procedure. Also don't forget to rename your prestashop folder in FTP and rename it to whatever you wrote in the define(’PS_BASE_URI‘, ‘/PrestaShop/’);There is an easier way: in the backoffice, go on the tools tab and change the "PS directory" (first in the list). But I haven't tried this. Link to comment Share on other sites More sharing options...
DelBoy Posted September 11, 2009 Author Share Posted September 11, 2009 Lost my shop for a few minutes there, but now it is up and running! Thanks guys! Link to comment Share on other sites More sharing options...
Tropical Dream Posted September 11, 2009 Share Posted September 11, 2009 you're welcome Please change your topic title from your first post and start it with [sOLVED] to let other forum visitors that this solved your issue. Link to comment Share on other sites More sharing options...
coolmoov Posted September 16, 2009 Share Posted September 16, 2009 I am glad the the problem has been solved. Please keep in mind you need to make sure that the new directory exists before changing the PS directory setting under the admin>preferences. Here is why: the system will crash and you have no easy way to get back in admin to fix the problem. The only way I found was to make the change in the \config\settings.inc.php file as you stated.Cheers Link to comment Share on other sites More sharing options...
manageacc Posted September 24, 2009 Share Posted September 24, 2009 Hi guys,I did as instructed above, however my system did not like it, and my website was consequently all out of order,any suggestions please.thank you Link to comment Share on other sites More sharing options...
Koo Posted November 18, 2011 Share Posted November 18, 2011 Thanks. Works good. 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