Top Nav

Redirect HTTP to HTTPS on IIS

If you need to force HTTPS on the entire site then add the following to the web.config file:

If you want to force HTTPS on a specific URL, then use this instead:




  • Lucas David

    Where exactly should I insert these rules?