prestBarka Posted May 23, 2017 Share Posted May 23, 2017 (edited) Hello, I have a shop which is divided in multishops by language. myshop.com/de for german, myshop.com/en for england, etc... The exception is my french shop which is located in myshop.fr/ I changed this to myshop.com/fr from the backend Advanced parameters > Multistore and now my french shop has two URLs. The main is myshop.com/fr/ and the other (the old) is myshop.fr/ Are 301 redirects automatically done ? Are all my old myshop.fr/randomPage redirected to myshop.com/fr/randomPage ? I checked in the .htaccess file but there is no R=301 flag. Thank you in advance. Edited May 23, 2017 by prestBarka (see edit history) Link to comment Share on other sites More sharing options...
mma87 Posted June 18, 2021 Share Posted June 18, 2021 first of all: backup! then: disable the languages don't used open .htaccess and add this code before "# Dispatcher" (if you have only en and it lang) RewriteRule ^en/(.*)$ /$1 [R=301,L] RewriteRule ^it/(.*)$ /$1 [R=301,L] save and upload the edited .htaccess TIP: regenerate the sitemap! Matteo 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