0

This is what I have tried so far.

 <rule name="https main site to http" stopProcessing="true">
       <match url="^(.*)$" ignoreCase="true" />
       <conditions>
            <add input="{HTTPS}" pattern="Off" />
       </conditions>
       <action type="Redirect" url="http://{HTTP_HOST}/{REQUEST_URI}" />
 </rule>

How can I redirect https://www.mysite.com to http://www.mysite.com

Ani
  • 4,473
  • 4
  • 26
  • 31

1 Answers1

0

This was asked a long time ago, but it looks like this has already been answered here: How to force HTTPS using a web.config file. Pay close attention to one of the comments that mentions that the query string is appended twice if you use the full answer.

Community
  • 1
  • 1
Kirk Liemohn
  • 7,733
  • 9
  • 46
  • 57