Jump to content

[Solved] Changing PresShop folder name


DelBoy

Recommended Posts

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

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

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

  • 2 weeks later...
  • 2 years later...

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