Wednesday, February 17, 2016

IIS URL Rewrite Rules : Redirect HTTP requests to HTTPS



Many times we want to open up some pages to only HTTPS request, so in that case we need to redirect all non HTTPS incoming requests to HTTPS.

Add the following code in your Web.Config (The italic code is optional)



     
       
         
         
           
           
           
         
         
       
   

No comments:

Post a Comment