shervin6623 Posted March 5, 2014 Share Posted March 5, 2014 Hi dear users I have problem with my website seo, My webmaster tools submit near 400 error on not found links monthly these links are the link from my old link structure, that was like this: http://www.mysite.com/id-category/product.html But I have changed my links to this structure: http://www.mysite.com/id-product.html & from then I have this errors again & again. I dont know how to solve these errors, no such links are in google index anymore & I dont know where google got this links from !!! some body please guide me through this thanks in advance Link to comment Share on other sites More sharing options...
Chris2013 Posted March 5, 2014 Share Posted March 5, 2014 Shervin I'm no expert but I'd guess it's comeing from your sitemap.xml file Update the file by Modules-->SEO-->Google Sitemap-->Configure click generate sitemap, this should update your sitemap.xml file 1 Link to comment Share on other sites More sharing options...
shervin6623 Posted March 6, 2014 Author Share Posted March 6, 2014 Shervin I'm no expert but I'd guess it's comeing from your sitemap.xml file Update the file by Modules-->SEO-->Google Sitemap-->Configure click generate sitemap, this should update your sitemap.xml file Dear Chris I use presta 1.5.4 & update my sitemap & resumbit it whenever i add new product, these old link are not in the new sitemap anymore but I still have these errors No one else have any answer? Link to comment Share on other sites More sharing options...
berka.pavel Posted March 6, 2014 Share Posted March 6, 2014 old sites are in "cache" of the google... whatever. the only one solution is to redirect all death links (http://www.htaccessredirect.co.uk/) to similar product or to some other page 1 Link to comment Share on other sites More sharing options...
shervin6623 Posted March 6, 2014 Author Share Posted March 6, 2014 Thank berka but its a time consuming redirection for me, does anyone know how to automatically redirect old structured links with new one? My presta doest redirect these link automatically even though the settings in SEO is Ok. my old links was in another language & I did the 301 redirection in .httaccess to english format links. OLD Structure: http://www.mysite.com/id-category/product.html NEW Structure:http://www.mysite.com/id-product.html Link to comment Share on other sites More sharing options...
inweb Posted March 23, 2014 Share Posted March 23, 2014 (edited) Try: RewriteBase / RewriteRule ^([0-9]+)\-([a-z0-9\-]*)/([0-9]+)\-([a-z0-9\-]*)\.html$ http://www.mysite.com/$3-$4.html [R=301,L] (it assumes product ID is included in old URLs) Edited March 23, 2014 by inweb (see edit history) 1 Link to comment Share on other sites More sharing options...
Bill Dalton Posted March 23, 2014 Share Posted March 23, 2014 inweb has a good solution that will work. I would not use Prestashop without this module, http://www.presto-changeo.com/en/prestashop-modules/25-duplicate-url-redirect.html Link to comment Share on other sites More sharing options...
Recommended Posts