Duplicate Content Issue because of root domain and index.html
-
SEOMoz crawl diagnostics is suggesting that my root domain and the rootdomain/index.html are duplicate content. What can be done to ensure that both are considered as a single age only?
-
Add this to your .htaccess file
RewriteEngine on
RewriteCond %{THE_REQUEST} ^./index.html?\ HTTP/
RewriteRule ^(.)index.html?$ "/$1" [R=301,L]This will redirect attempts to hit index.html back to root.
-
Thank You . It is working fine now
-
Worked like a charm, exactly what i needed, thanks for posting!