Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

htaccess (301 redirect) (duplicate content)

I am not sure if I have duplicate content.



11:18 am on Sep 21, 2007 (gmt 0)

5+ Year Member

If I type in mysite.com my website home page loads under mysite.com - if I use www.mysite.com my home page loads under www.mysite.com - if I use www.mysite.com/ my home page loads as www.mysite.com/

Do I have duplicate content that will be pentilized by search engines?

If I do have duplicate content is the following the proper code for a 301 redirect and should the main address be the one with www and the forward slash? The only thing in my .htaccess file now is Options -Indexes (yes just those two words - does that sound right?)Do I just type in the following under or above Options -Indexes?

Redirect 301 mysite.com www.mysite.com/
Redirect 301 www.mysite.com www.mysite.com/

Thanks for any help,


3:58 am on Sep 22, 2007 (gmt 0)

10+ Year Member

Hi, I really don't think that search engines are dumb enough to think that mysite.com is different than www.mysite.com or mysite.com/ ...

I should be more worried than you, because I have the same site using either .net and .org domains.

Leave the Options -Indexes text there, since it's used to prevent the listing of files on your server.


12:22 pm on Sep 22, 2007 (gmt 0)

5+ Year Member


Thanks for the reply

[Leave the Options -Indexes text there, since it's used to prevent the listing of files on your server.]

Would you have time to explain the Options -Indexes code in more detail? I am not sure I fully understand its purpose.



Featured Threads

Hot Threads This Week

Hot Threads This Month