URL rewrite module for IIS7
- by Learner
I am trying to test if the redirect that I wrote works or not. If I do IISReset the redirect does not work. But if I recycle the app then this works. Is this how it works?
<rule name="RedirectToanothercity" patternSyntax="ECMAScript" stopProcessing="true">
<match url="^home/cities.aspx?$" />
<conditions>
<add input="{QUERY_STRING}" pattern="city=jerseycity" />
</conditions>
<action type="Redirect" url="jerseycity" appendQueryString="false" />