I am using iis 7 and trying to create a rewrite rule that will look for the following URL:
http://www.example.com/Toys/?GOOGLE/USA/Wood/trains
I'm using the following web.config which works if I omit the "?" from the URL.
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Toys" stopProcessing="true">
<match url="^Toys/(.+)/(.+)/(.+)/(.+)" />
<action type="Rewrite" url="/toys/index.cfm?a={R:1}&b={R:2}&c={R:3}&d={R:4}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
They already have the "?" hard coded in a few thousand URLS submitted to the search engines for PPC urls.