Welcome to WebmasterWorld Guest from 107.20.75.63

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)

New User

5+ Year Member

joined:June 4, 2007
posts:37
votes: 0


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,
Yeto

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

Junior Member

10+ Year Member

joined:Dec 7, 2004
posts: 88
votes: 0


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 Sept 22, 2007 (gmt 0)

New User

5+ Year Member

joined:June 4, 2007
posts:37
votes: 0


Hi,

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.

Thanks,
Yeto