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.com
or 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?