TheHat Posted June 28, 2012 Share Posted June 28, 2012 Hi All I deleted all languages apart from English but now I have lots of 404 errors for all the old en/es/fr pages etc. How can I redirect these or stop search engines giving 404 errors on them? Is it possible to add a 301 to home page for all of them? I have added disallow all links in my robots file is this enough? Many Thanks Gary Link to comment Share on other sites More sharing options...
TheHat Posted July 2, 2012 Author Share Posted July 2, 2012 Can anyone please advise on this, I'm sure other people have the same issues. Cheers Gary Link to comment Share on other sites More sharing options...
croustade Posted August 2, 2012 Share Posted August 2, 2012 I get the same problem but modify robot.txt dont work Someone help please Link to comment Share on other sites More sharing options...
Peter Liska Posted August 9, 2012 Share Posted August 9, 2012 (edited) I deleted all languages apart from English but now I have lots of 404 errors for all the old en/es/fr pages etc. How can I redirect these or stop search engines giving 404 errors on them? Is it possible to add a 301 to home page for all of them? I have added disallow all links in my robots file is this enough? Disallow all old language url links in robots.txt - this is enough. You can test your url's + robots.txt in Google Webmaster Tools. Or you can delete old links from Google index in Google Webmaster Tools directly. It takes some time for Google to show your eshop correctly. 301 means: this page has been moved If you redirect your old language pages to your home page in english - you may have some penalization from Google, because the new page content does not match old page content. Edited August 13, 2012 by Peter Liska (see edit history) 1 Link to comment Share on other sites More sharing options...
shaka Posted June 11, 2013 Share Posted June 11, 2013 Hi, Is this code in htaccess ok to prevent 404 error on old french product page when i activate the languages. #RewriteCond %{HTTP_HOST} !^www.mysite.com/new-catalog/lang-fr/$ #RewriteRule ^lang-fr/(.*) http://www.mysite.com/new-catalog /$1 [QSA,L,R=301] 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