Hamilton Posted July 12, 2019 Share Posted July 12, 2019 Hello, I have finished building a prestashop site under a sub folder (domain.com/subfolder), while the original shop using a different basic platform ran on the root location (domain.com). I am now urgently trying to find a way to migrate the finished prestashop shop from the subfolder to the main domain location. - I have tried to move/ copy the subfolder content onto the main root, and then changed the domain settings in the BO, but the site does not load properly. (Also tried editing pr_shopurl) - I have also tried cloning the prestashop installation to the root location, but with similar loading issues (this was done using GoDaddy widgets). Can anyone point me towards the best way to moving the shop to the main domain and taking the prestashop site live? I have unfortunately already caused a lot of down time from the above attempts. Thank you in advance! Link to comment Share on other sites More sharing options...
Rhobur Posted July 13, 2019 Share Posted July 13, 2019 This is the way, moving the subfolder content into parent root folder, make sure that the ps_configuration domain keys (two of them) point to the domain.com, the ps_shop_url also point to the same domain.com and edit the .htaccess (assuming your server is apache) and change the: #Domain: domain.com RewriteRule . - [E=REWRITEBASE:/subfolder/] to: #Domain: domain.com RewriteRule . - [E=REWRITEBASE:/] Link to comment Share on other sites More sharing options...
Hamilton Posted July 15, 2019 Author Share Posted July 15, 2019 Hello Rhonur, thank you very much for your reply and help! I suspect I was missing the proper edits to the ps_configuration and .htaccess files. I actually ended up launching the website by again trying to clone the working subfolder version to the root location, and then editing the ps_shop_url to get rid of an extra "/" that appeared. I used a widget offered by GoDaddy, so perhaps some of the other settings were updated by it. In my particular case (incase anyone else also clones via GoDaddy) the website then fully worked, but I was missing the whole "admin" folder. I copied this folder from a back up I made of the working subdomain version in, and everything has since worked fine. 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