Welcome to WebmasterWorld Guest from 54.144.124.152

Forum Moderators: phranque

Message Too Old, No Replies

301 to www.domain on IIS?

     

beer234

2:05 pm on Jun 24, 2005 (gmt 0)

10+ Year Member



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

John

 

Featured Threads

Hot Threads This Week

Hot Threads This Month