ASP.net MVC site : Redirect all “non WWW” request to WWW
问题 Recently I migrated an ASP.net site to ASP.net MVC site. Earlier there were two host headers one mydomain.com and another is www.mydomain.com. My SEO says you should use only one url "www.domain.com" for SEO advantage. I am looking for an option to do 301 permanent redirect all mydomain.com request to www.mydomain.com. The site is hosted in IIS6 and developed in ASP.net MVC 4. 回答1: Unfortunately, the URL rewrite module does not work with IIS6 (only IIS7 or greater). Have you considered