Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

For SEO purposes with IIS6, I had always set up two sites, one bound to www.domain.com and another site to domain.com that redirects to www.domain.com where the actual site lived.

I really hate the clutter and duplicates in IIS (call it being anal detective, I don't know!?) but is there a better or more elegant solution to handle this?

Thanks!

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Yes, URL Rewrite is the tool of choice for this situation. Awesome solution for not just this, but most everything else you could want regarding SEO friendly URLs.

Links:

share|improve this answer
    
Excellent! I use URL Rewrite all over the place. Not sure why I didn't think to use it for 301 Redirect to "www." Thanks Scott. –  Danomite Apr 13 '11 at 14:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.