Prestashop move to root

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

It should be enough to move your shop to root directory.

Read More