Justa Rollin’ Right Along

Duplicate Content – Mysite.com/ vs. Mysite.com/index.html



Posted on September 20, 2008 – 7:03 pm by admin


As I wrote in a prvious post, duplicate content on your own can come in the form of “www.mysite.com/” vs. “www.mysite.com/index..” The see this same page as two different ones, but with identical content. As I also mentioned, most are smart enough to figure out that these two pages are the same one, but still, they do share .

What to do? That’s easy too. Just open up your .htaccess again and type in the following code:

RewriteEngine On
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.\ HTTP/
RewriteRule ^index\.$ http://www.mysite.com/ [R=301,L]

You can do this with other pages that have the same problem as well.

Bookmark and Share

Related posts







Post a Comment



Free Online Ads
Motorcycle Classifieds
Boats For Sale
Free Auto Ads
Free Pet Classifieds