So I'm having this issue where one of my search results is randomly coming up with a secure (https) link to the page. I haven't included a link to an https version of that page anywhere on my website, but it's not a page that should be, or needs to be securely browsed.
I'm trying to write a redirect rule to 301 it back down to http, so google changes their linking, and it fixes it... but every redirect rule I've tried doesn't seem to work. Google suggests using other methods (such as requireSSL on pages that use SSL, etc...) but that's not the way I want to resolve this.
We'll call it Pagea.aspx, and show you my local testing redirect which wasn't working.
<rule name="Redirect - HTTPS PageA" stopProcessing="true">
<match url="https://localhost/Pagea.aspx" ignoreCase="true" />
<action type="Redirect" url="http://localhost/Pagea.aspx" redirectType="Permanent" />
Any help would be appreciated :]