URL Rewrite for IIS7 http to https redirection

This is a great addition.  Finally we have an easy way to redirect users.  I'm using this to rewrite all http connections as https.

You can use the web installed for URL Rewrite here.

After you have the extension loaded you can make rules 2 ways.  Either by editing the web.config file in the root of your website, or with the GUI in IIS7.  I find working with the web.config easier.

web.config

Using the GUI look for the icon selected below.

urlrewrite

Select Add Rule(s) from the right menu, then blank rule.  The settings for http to https redirection are shown below.

urlrewrite

The last setting is to change the redirection type to Found(302).

 

 

 

 

No feedback yet