Hi there everyone,
I noticed a few weeks back there was a thread here about someone having almost the exact same issue as us here: [
webmasterworld.com...]
We had started noticing many many errors in WMT showing duplicate content that was being created due to the improper association of categories with other categories. We did our best to correct this with the use of 301's and rel canonical.
the more and more I keep digging the more I suspect that the original source for this problem lies somewhere in our htaccess file. I have a hunch that there is a missing slash somewhere that caused a flurry of invalid urls.
I was hoping to get some input as This is a language that I don't really speak and it looked as though the members here were able to help the person in the above mentioned thread so I thought I'd go ahead and post the main body of our ht access file to see if anyone can see something that we overlooked that could cause such a problem.
ok here goes>>>
----------------------------------------------
SetEnv TZ America/Halifax
AddDefaultCharset ISO-8859-1
php_flag display_errors Off
php_flag zlib.output_compression On
php_value zlib.output_compression_level 5
RewriteEngine On
RewriteCond %{HTTP_HOST} !^(www\.example\.com|example\.intranet\.nvi) [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
#anti-hotlink codes were asked to remove
#RewriteCond %{HTTP_REFERER} !^$
#RewriteCond %{HTTP_REFERER} !^(http(s)?://(www\.)?example.com|http(s)?://example\.intranet\.nvi)/ [NC]
#RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
#RewriteCond %{HTTP_REFERER} !google\. [NC]
#RewriteCond %{HTTP_REFERER} !bing\. [NC]
#RewriteCond %{HTTP_REFERER} !yahoo\. [NC]
#RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F,L]
#Rewrite any CMS pages
RewriteRule ^content/(.*) /cms.php?key=$1 [NC,L]
#Rewrite the wrong licen bands with license name pages
RewriteRule ^License/Bands/([^/]+)/pCat/(.*) /License/Bands/pCat/$2 [R=301,L]
#RewriteRule ^(.*)/store/(.*) - [R=404,L,NC]
RewriteRule ^(.*)/store/(.*) http://www.example.com [R=301,L]
#Rewrite any store pages
RewriteRule ^store/SMOKE_SHOP_19_ONLY(.*) / [NC,L]
RewriteRule ^store/(.*) /products.php?key=$1 [NC,L]
RewriteRule ^store(.*) /products.php [NC,L]
RewriteRule ^License/(.*) /products.php?key=$1 [NC,L]
RewriteRule ^License(.*) /products.php [NC,L]
#ExpiresByType application/x-Shockwave-Flash A2592000
#ExpiresByType image/gif A2592000
#ExpiresByType image/png A2592000
#ExpiresByType image/jpg A2592000
#ExpiresByType image/jpeg A2592000
<Files 403.shtml>
order allow,deny
allow from all
</Files>
deny from 147.84.200.85
deny from 165.98.225.68
ReWriteBase /
ReWriteCond %{HTTP:accept-encoding} (gzip.*)
ReWriteCond %{REQUEST_FILENAME}.gz -f
ReWriteRule ^(.*) $1.gz [L]
<FilesMatch "\.(css.gz)$">
AddEncoding x-gzip .gz
ForceType text/css
</FilesMatch>
<FilesMatch "\.(html.gz)$">
AddEncoding x-gzip .gz
ForceType text/html
</FilesMatch>
<FilesMatch "\.(js.gz)$">
AddEncoding x-gzip .gz
ForceType text/javascript
</FilesMatch>
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/jpeg A604800
ExpiresByType image/gif A604800
ExpiresByType image/png A604800
ExpiresByType application/x-shockwave-flash A604800
ExpiresByType audio/mpeg A604800
</IfModule>