links Tag

<rule name=”HTTP to HTTPS redirect” stopProcessing=”true”> <match url=”(.*)” /> <conditions> <add input=”{HTTPS}” pattern=”off” ignoreCase=”true” /> </conditions> <action type=”Redirect” redirectType=”Found” url=”https://{HTTP_HOST}/{R:1}” /> </rule> [/codesyntax]   I was adding a new SSL certificate to one of the client’s website and now we wanted only https accessible and redirect user if he/she tries to access http://website.com So, i...