gray Posted June 10 Share Posted June 10 htaccess - prestashop v8.1.6 does not seem to work correctly. RewriteCond %{HTTPS} on RewriteCond %{HTTP_HOST} ^myshop\.co\.uk$ [NC] RewriteCond %{REQUEST_URI} ^/eshop/?$ [NC] RewriteRule ^(.*)$ https://eshop.myneweshop.co.uk/$1 [L,R=301] myshop.co.uk redirects ok to https://eshop.myneweshop.co.uk myshop.co.uk/eshop redirects ok to https://eshop.myneweshop.co.uk However any subdirectory or file from myshop.co.uk/eshop like myshop.co.uk/eshop/contact_us comes up with the original contact-us page, and it does not do any redirecting. Any ideas where I am going wrong ?? Link to comment Share on other sites More sharing options...
Inform-All Posted June 10 Share Posted June 10 Check your hosting if you are actually using Apache and not Nginx. And also check if you don't have any server side caching (like Redis) that should be cleaned. Link to comment Share on other sites More sharing options...
Nickz Posted June 10 Share Posted June 10 36 minutes ago, gray said: However any subdirectory or file from myshop.co.uk/eshop like myshop.co.uk/eshop/contact_us comes up with the original contact-us page, and it does not do any redirecting. just redirect the original contact-us page to the page you'd like to use. Link to comment Share on other sites More sharing options...
gray Posted June 11 Author Share Posted June 11 From the htaccess file everything beyond myshop.co.uk/eshop should redirect to eshop.myneweshop.co.uk but it does not work. So the likes of contact page myshop.co.uk/eshop/contact_us , product pages, category pages and admin etc etc are still displayed in the old shop myshop.co.uk/eshop . Either PS is stopping redirects or my hosting server is ?? Link to comment Share on other sites More sharing options...
Prestashop Addict Posted June 11 Share Posted June 11 (edited) I think you have wrong rules test it online Edited June 11 by Prestashop Addict (see edit history) 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