Why Would I Need to Redirect from HTTP to HTTPS?
Let’s take a look at how to incorporate these changes in IIS with the URL Rewrite Redirection Module!
Note that the URL Rewrite module is only available for IIS 7 or higher.
We are going to create a Blank Rule.
*)
…with the “Ignore” Case box checked.
By setting the pattern to (.
*) regex pattern matches all possible combinations of characters in the URL.
When accessing these URLs, it should automatically redirect to the HTTPS version of your page.
This will bring you to the root directory of your website where you will find a file named web.config.
Open this file in Notepad to see it’s contents.
Congratulations, all pages on your site and URLs are being redirected to their secure counterpart!