I cannot get this rule to work:
<rule name="Rewrite Searchbot" stopProcessing="false"><match url="(.*)" /><conditions logicalGrouping="MatchAll"><add input="{QUERY_STRING}" pattern="_escaped_fragment_" /></conditions><action type="Rewrite" url="http://localhost:3000/{R:1}" appendQueryString="true" /></rule>
Requests to:
www.domain.com/page/section?_escaped_fragment_=
should be rewritten to:
http://localhost:3000/page/section?_escaped_fragment_=0
The back reference {R:0} is always empty :(
What am I doing wrong here?