Jump to content

google, languages and redirect


Recommended Posts

Hi, 

 

I had a shop with 2 languages: EN and IT. Prestashop is installed into examplesite.it/shop/, so there were like:

examplesite.it/shop/en

examplesite.it/shop/it

 

Now I have disabled the EN so that there is only one language , IT.

 

The thing is that google from GWT is returning a lot of 404 error of every page under /en/ that does not exist anymore.

 

To fix the issue I tryed to put a rule in .htaccess file that redirect all the page under the shop/en to the  examplesite.it/shop/ but it does not work.

 

RewriteRule ^shop/en/(.*)$ /shop/$1 [R=301,NC,L]

 

is the rule wrong? is there a different way? where am I wrong? :)

 

 

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