eCasper Posted November 10, 2010 Share Posted November 10, 2010 Since recent times google webmaster tool has started reporting some weird looking URLs under crawl error section. Please check the attachment. http://mysite/computer-components/mysite/computer-components/28-biostar-geforce-9400-gt-1gb-128-bit-ddr2-pci-express-20-x16-hdcp-ready-video-card.html http://mysite/computer-components/mysite/computer-components/28-biostar-geforce-9400-gt-1gb-128-bit-ddr2-pci-express-20-x16-hdcp-ready-video-card.html Here is my .htacess file.# URL rewriting module activation RewriteEngine on RewriteCond %{HTTP_HOST} ^mysite RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php\ HTTP/ RewriteRule ^(.*)index\.php$ /$1 [R=301,L] RewriteBase / # URL rewriting rules RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg [QSA,L,E] RewriteRule ^([0-9]+)\-([0-9]+)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2.jpg [QSA,L,E] RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [QSA,L,E] RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$3&isolang;=$1$5 [QSA,L,E] RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2&isolang;=$1$4 [QSA,L,E] RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$2&isolang;=$1 [QSA,L,E] RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2$4 [QSA,L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$1$3 [QSA,L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$1 [QSA,L,E] RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /cms.php?id_cms=$1 [QSA,L,E] RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /supplier.php?id_supplier=$1$3 [QSA,L,E] RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /manufacturer.php?id_manufacturer=$1$3 [QSA,L,E] RewriteRule ^lang-([a-z]{2})/(.*)$ /$2?isolang=$1 [QSA,L,E] # Catch 404 errors ErrorDocument 404 /404.php mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* Header append Vary Accept-Encoding Header set Expires "Thu, 15 Apr 2012 20:00:00 GMT" Header unset ETag FileETag None Can anyone help me to get rid of these URLs?Thanks in Advance! Link to comment Share on other sites More sharing options...
Pippo3000 Posted November 17, 2010 Share Posted November 17, 2010 Can anyone help me to get rid of these URLs?Thanks in Advance! do you have canonical URL enabled? had the same and once I deinstalled the module these errors are gone.phil Link to comment Share on other sites More sharing options...
eCasper Posted November 20, 2010 Author Share Posted November 20, 2010 Hi Pippo3000,Thank you for your support.I had it & uninstalled the module few days back. but reporting such weird 404 errors not yet been stopped.now number of 404 errors has gone up to 142. every day it increases.Any help?Thanks in advance! Link to comment Share on other sites More sharing options...
eCasper Posted November 21, 2010 Author Share Posted November 21, 2010 Please refer here for more details. Link to comment Share on other sites More sharing options...
uddhava Posted November 21, 2010 Share Posted November 21, 2010 You should really read this :http://www.presto-changeo.com/content/6-prestashopseotipsand this :http://www.presto-changeo.com/content/16-duplicate-url-fixAND this :http://www.presto-changeo.com/content/12-prestashop-multilingual-seo-fix Link to comment Share on other sites More sharing options...
lynx887 Posted November 23, 2010 Share Posted November 23, 2010 Read them, done them, bought your module, still have the problem. Any other options? 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