PrestaShop Forums: Root directory vs subdirectory? Which one is better? - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


Root directory vs subdirectory? Which one is better?


Root directory vs subdirectory? Which one is better?

#1 SK01

    PrestaShop Apprentice

  • 06 Aug 2010
  • Members
  • PipPip
  • 47 posts

Posted 07 September 2010 - 01:56 PM

Hello. I have just finished my new design for my new store.

Currently it is located in a subdirectory (/store)

Is there any problems to have the store in a subdirectory? Or is it better to let it be in the root directory?

Also 1 more question, how can I move my store from the subdirectory to the root? Without losing any data and so on..

/SK01
Have you been helped? Give something back - help others!

#2 DevNet

    PrestaShop Fanatic

  • 21 Jun 2010
  • Moderators
  • 1753 posts

Posted 07 September 2010 - 02:54 PM

Yes you can make your migration easier.
Do not forget to configure your config/setting.inc.php.

Just replace :
define('__PS_BASE_URI__', '/store/');

by :
define('__PS_BASE_URI__', '/');


For database, there is nothing to do.

Best regards





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users