11
I have a ReWrite Map and I would like to append any query parameters in the requested URL to the rewritten URL.
For instance:
- /page/abc/ ---> /index.cfm?page=abc (works)
- /page/abc/?param1=111 ---> /index.cfm?page=abc¶m1=111 (doesn't work)
- /page/abc/?param3=333¶m4=444 ---> /index.cfm?page=abc¶m3=333¶m4=444 (doesn't work)
My web.config is:
[...]
<rules>
<clear />
<rule name="Rewrite rule1 for SiteMapEngine">
<match url=".*" />
<conditions>
<add input="{SiteMapEngine:{REQUEST_URI}}" pattern="(.+)" />
</conditions>
<action type="Rewrite" url="{C:1}" appendQueryString="true" />
</rule>
</rules>
[...]