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

Saturday, September 20th, 2008

As I wrote in a prvious post, on your own website can come in the form of “.mysite.com/” vs. “.mysite.com/index..” The engines see this same page as two different ones, but with identical . As I also mentioned, most engines 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 . again and type in the following :

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

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

Related posts

Tags: , , , , , , , , , , , , , , ,

Avoiding Duplicate Content On Your Own Website

Monday, September 15th, 2008

Today has been an interesting day. We have been taking a look at our and searching for using Copyscape. After today’s findings, we might just go with ’s premium service.

Now, let me just tell you that is everywhere. Actually, someone has probably written this sentence a million times. What we were searching for today was blatant and far reaching . We found a few instances of one of our homepages and general idea taken for someone else’s use as well as many instances of interior pages taken. Needless to say, we made screen copies of these cases and sent them to our attorney’s office. These are serious and can’t be ignored.

I would like to talk about two things you can do to help out a more subtle form of , on your own .

The first form of on your own is in the form of vs. non-. If you go to your and type in “.mysite.com” and then type in “mysite.com,” you may see the same page appear. In the engine’s eyes, these are two copies of the same page. How do you fix this? It’s easy. Just open up your . file and type in the following code:

On
%{HTTP_HOST} !^\.mysite\.com
^(.*)$ ://.mysite.com/$1 [R=permanent,L]

When someone types in “mysite.com” to visit your , they will automatically be forwarded to “.mysite.com.” The engines will be forwarded as well.

Another form of on your own comes in the form of “.mysite.com/” vs. “.mysite.com/index..” The engines see this same page as two different ones. What to do? That’s easy too. Just open up your . again and type in the following code:

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

When someone either types in “.mysite.com/index.” or follows a like that to your , they will be automatically be forwarded to “.mysite.com.”

Now, here is the disclaimer. I used this on my server setup and it worked. Please check with your own hosting company to see if something similar will work for your too.

Related posts

Tags: , , , , , , , , , , , , , , , , , , , ,