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

Webmaster General Forum

301 to www.domain on IIS?

10+ Year Member

Msg#: 9082 posted 2:05 pm on Jun 24, 2005 (gmt 0)

I've been reading stuff like this related to putting a 301 redirect to your www.domain.com from domain.com to prevent Google from considering domain.com as duplicate content see the comment below.

Also, I would use a 301 redirect or rewrite so that your root page doesn't appear twice. For example, if you select [yourdomain.com...] as your root page, then if a spider tries to fetch [yourdomain.com...] (without the www), your web server should do a permanent (301) redirect to your root page at [yourdomain.com...]

However I use IIS as a web server and every site I run uses www.domain.com in the http header so the server knows which page to server. No site will produce a page if someone asks for domain.com yet I cannot see anyway to 301 domain.com to the www as there is no page to redirect. Can anyone shed light on this for me? Since there is no htaccess file on IIS I don't see how the 301 could be done from the root domain to the www.domain.com header. Thanks Much



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