Jump to content

Moving From Sub-directory to Root


Recommended Posts

I have my PS in a sub-directory of /store. How do I make it appear on the root?

 

One of the things I see is this:

 

URL rewriting (mod_rewrite) is not active on your server, or it is not possible to check your server configuration. If you want to use Friendly URLs, you must activate this mod.

Link to comment
Share on other sites

If you have your prestashop in subfolder and you want move it to root, you have to:

- Copy/paste all files to root

- Change configuration (config/settings.inc.php) file

Change this line:

 

define(‘__PS_BASE_URI__’, ‘/subfolder/’);   

 

to

 

define(‘__PS_BASE_URI__’, ‘/’);


If you are using user friendly url you have to edit your .htaccess file

-Open .htaccess file with text editor

-Delete subfolder string from all lines

Edited by walidon (see edit history)
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...