homepage Welcome to WebmasterWorld Guest from 50.19.206.49
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

    
htaccess (301 redirect) (duplicate content)
I am not sure if I have duplicate content.
yetoyeto




msg:3456879
 11:18 am on Sep 21, 2007 (gmt 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

 

Jakotsu




msg:3457787
 3:58 am on Sep 22, 2007 (gmt 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.

yetoyeto




msg:3457940
 12:22 pm on Sep 22, 2007 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved