Hi David,
I think we have a case of duplicate content with
-http://www.example.com/category/categoryname/
and
-http://www.example.com/category/categoryname/1.html
Is the best way to use a 301 Redirect ?
RewriteCond %{REQUEST_URI} /index1.(htm|html|php)$
RewriteCond %{THE_REQUEST} /index1.(htm|html|php)
RewriteRule ^(.*)index1.(htm|html|php)$ /$1 [R=301,L]
Thank you
Hello Bak,
html/navigation.php was corrected in 13/03A so that a link is never created to /1.html but I know you're running a heavily modified earlier distribution so you might want to extract that file from the 13/03A distribution and use in place of your current version.
Otherwise, yes a 301 (Moved Permanently) is the best approach. There shouldn't be any need for the RewriteCond lines, have a go with simply:
RewriteRule ^(.*)/1\.html$ $1/ [R=301,L]
Cheers,
David.
--
PriceTapestry.com