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?



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.


  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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