bedoor Posted April 23, 2018 Share Posted April 23, 2018 I am trying to move Prestashop file (on CPanel) to my root directory (public_html) I tried to apply the suggestions given in this like, but non of them is working! https://www.prestashop.com/forums/topic/18393-solved-move-prestashop-from-subfolder-to-root/ prestashop version: 1.6.0.14 Link to comment Share on other sites More sharing options...
selectshop.at Posted April 23, 2018 Share Posted April 23, 2018 The tutorial you are using is very old. You simply go to your back-office change on tab Preferences -> SEO & URL the BASE URI to / (now should be /shop/ or something like this). Save it. Than you go to FTP file administration and simply move all data you are having on Folder /shop to the folder /public_html. Better you can do it with Filezilla, instead of the feature of cPanel. After moved you simply log to your back-office without the /shop/ in the url. Regenerate your .htaccess if necessary and also robots.txt. Delete browser cache and cookies, delete smarty cache as well, if you are using own theme. Link to comment Share on other sites More sharing options...
bedoor Posted April 23, 2018 Author Share Posted April 23, 2018 issues solved Thank you very much Link to comment Share on other sites More sharing options...
Yorts Posted March 7, 2019 Share Posted March 7, 2019 On 4/23/2018 at 4:31 AM, selectshop.at said: The tutorial you are using is very old. You simply go to your back-office change on tab Preferences -> SEO & URL the BASE URI to / (now should be /shop/ or something like this). Save it. Than you go to FTP file administration and simply move all data you are having on Folder /shop to the folder /public_html. Better you can do it with Filezilla, instead of the feature of cPanel. After moved you simply log to your back-office without the /shop/ in the url. Regenerate your .htaccess if necessary and also robots.txt. Delete browser cache and cookies, delete smarty cache as well, if you are using own theme. Sr! I just logued in for very first time to say THANK YOU!!!...Easy and effective. Link to comment Share on other sites More sharing options...
Carlos Barrios Posted September 26, 2020 Share Posted September 26, 2020 On 4/23/2018 at 4:31 AM, selectshop.at said: The tutorial you are using is very old. You simply go to your back-office change on tab Preferences -> SEO & URL the BASE URI to / (now should be /shop/ or something like this). Save it. Than you go to FTP file administration and simply move all data you are having on Folder /shop to the folder /public_html. Better you can do it with Filezilla, instead of the feature of cPanel. After moved you simply log to your back-office without the /shop/ in the url. Regenerate your .htaccess if necessary and also robots.txt. Delete browser cache and cookies, delete smarty cache as well, if you are using own theme. Hi: I have done all you said and the result was good, but the only issue is that product images are not shown on the Front end, but they are in the back office. Any Ideas? Thanks in advance. Link to comment Share on other sites More sharing options...
JCPS Posted March 2, 2022 Share Posted March 2, 2022 Hi, I renamed the folder from [domain]/testing to [domain]/shop I changed the BASE URI in Preferences -> SEO & URL and regenerated the .htaccess and robots.txt files and cleared the cache. It seems to have worked for the most part. However, when I try to do any translations for any of the installed modules it seems to still be referencing the old directory. I get errors like the following =========== Oops... looks like an unexpected error occurred. Compile Error: require_once(): Failed opening required '/home/user/example.com/testing/modules/paypal/paypal.php' (include_path='/home/user/example.com/shop/vendor/pear/pear_exception:/home/user/example.com/shop/vendor/pear/console_getopt:/home/user/example.com/shop/vendor/pear/pear-core-minimal/src:/home/user/example.com/shop/vendor/pear/archive_tar:.:/opt/cpanel/ea-php74/root/usr/share/pear') [Symfony\Component\Debug\Exception\FatalErrorException 0] ============= What else do I need to do to correct this problem? Thanks. Link to comment Share on other sites More sharing options...
georgemezzo Posted July 15, 2022 Share Posted July 15, 2022 On 4/23/2018 at 12:31 PM, selectshop.at said: The tutorial you are using is very old. You simply go to your back-office change on tab Preferences -> SEO & URL the BASE URI to / (now should be /shop/ or something like this). Save it. Than you go to FTP file administration and simply move all data you are having on Folder /shop to the folder /public_html. Better you can do it with Filezilla, instead of the feature of cPanel. After moved you simply log to your back-office without the /shop/ in the url. Regenerate your .htaccess if necessary and also robots.txt. Delete browser cache and cookies, delete smarty cache as well, if you are using own theme. Hello thanks for informations but i want to do the same but on prestahsop 1.7 , is the same procedure? 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