I followed this example "Best way to redirect all HTTP to HTTPS in IIS" for redirecting to https and it worked great.

I just have one website that is the exception. It has a few non-https map references that prevent the site from loading correctly under https. For now, until the site is updated, I have to use http.

Am I correct in assuming I'll have to create a condition to do this in the current rule?

So, with that being said, can I exclude a domain while requiring all others to use https through one URL Rewrite rule?

Thank you!

1 Answer 1

  1. Change condition to doesn't match your excluded site:

enter image description here


  1. Add another rule before existing - match your excluded site, action=none and stop processing:

enter image description here

  • tyvm for the info!
    – ErocM
    Jan 12 at 13:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.