IIS 7 and Above
URL Rewrite Module
First Redirect Rule Overwritten by 2nd Rule
Last post May 07, 2019 12:44 PM by ribbonmonkey
May 07, 2019 08:38 AM|ribbonmonkey|LINK
I have this REDIRECT rule set up:
with Exact Match, Matches the pattern, Ignore Case, and Permanent Redirect type settings.
I have a 2nd REDIRECT rule set up which follows this:
with Ignore Case, Matches the Pattern, Wildcards and Permanent settings.
The 2nd Rule appears to be overriding the first one. How can I stop this?
May 07, 2019 12:44 PM|ribbonmonkey|LINK
OK I solved this. The initial rule to do the exact match was not working. I don't know why the exact match did not redirect but when I changed it to a wildcard redirect it worked fine and priority was respected.