Jump to content

Several issues after moving from subfolder to root in the back and front of the shop


Recommended Posts

Hello ,

My Prestashop version is 1.6.014

 

I am asking assistance please with a very urgent and serious problem.

 

I developed my website on a subfolder and now moved to the root of the domain.

 

I changed the urls in the DB fields and also changed in httacess the RewriteRule . - [E=REWRITEBASE:/subfolder/] to RewriteRule . - [E=REWRITEBASE:/]

 

The problems:

- In the office backend just few functions are working but no filters are working, the drop  menus are not showing and in some actions I have 500 error, for example when called to action the Advanced Setting menu.

Another problem in the back is that is never finishing to load the page, the circle arrows are moving continually and is not finishing to upload the dashboard.

 

- On the front the Home page is giving 404 error and when browsing on other menu items I have a 404 error because how the url is constructed:

www.domain.comcom/subpage

 

I think this issue maybe I could solve it from the back end if I could work properly there...

 

I really appreciate any help.

Thank you

Edited by dirdi (see edit history)
Link to comment
Share on other sites

Just open your database and find ps_shop_url table. Change the physical_url field from /<your_subfolder>/ to only /

Nothing to do anything with .htaccess, once you move your site just disable friendly url and load your website and again enable friendly url so .htaccess will be regenerated automatically

Simple.

Edited by Vipul Hadiya (see edit history)
  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...

I have the same issue. My old shop (ver 1.4) is in /shop/. I installed ver 1.6 in folder /shop2/. Now I want demote /shop to /shop(old) and rename /shop2/ to shop/. BO work fine but FO show blank page with URL http://www.mydomain.com/shop/en/. I have set the BO Seo and Url to originally /shop2/ to /shop/. 

 

How should I go about fixing this issue ? Appreciate your help and thanks.

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