How to force WWW in your URL using ASP.NET Web.config URL Rewrite

Posted on July 13, 2013 by Michael Roma

Add the following in your system.webServer/rewrite/rules section of your Web.config file. Note this will only work if you have the IIS rewrite module installed (http://www.iis.net/downloads/microsoft/url-rewrite)


    
      

         
          
          
            
          
          
        

          
    
  
comments powered by Disqus