I am using IIS URL Rewrite and this one has stumped me.
I am redirecting a URL with specific subfolder to a new URL.
https://myapp.example.com/customsite1 redirected to
If I use this pattern:
It works fine. The problem is there might be arguments added to the URL that also use the word
customsite1. So I thought "of course, the easy way to fix to this is match on
But it never works.
will never match
https://myapp.example.com/customsite1 even though the Test pattern feature says it will.
What am I missing here?