Quantcast
Channel: URL Rewrite Module
Viewing all articles
Browse latest Browse all 2482

Rewrite rule match URL back reference not working

$
0
0

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?


Viewing all articles
Browse latest Browse all 2482


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>