Change permanent redirect from HTTP to HTTPS

by SKidd   Last Updated August 01, 2019 11:04 AM

Ages ago we included a redirect in web.config to ensure that pages would rewrite to http://www.example.com/ if the user input, say, www.example.comor variants of it.

Recently we changed the site so its (finally) going to HTTPS. So the rewrite should do the same but this time to https://www.example.com/

We used this, note it's permanent:

<action type="Redirect" url="http://www.example.com/{R:1}" redirectType="Permanent" />

As it was permanent, what happens if we change that to HTTPS?



Related Questions


Updated April 03, 2019 18:04 PM

Updated February 26, 2019 15:04 PM

Updated October 02, 2018 15:04 PM

Updated June 19, 2018 15:04 PM