title: url rewriting of IIS
body: <p>with some hit and trail, i managed to remove the extention of the pages which i view for my website, now i want to replace all the <code>?</code> and <code>=</code> and the <code>&amp;</code> signs with backslash <code>/</code>, I am really Lost now, how do i write that rule in my web config </p>
  
  <p>My Web.Config File:</p>
  
  <pre><code>&lt;rewrite&gt;
    &lt;rules&gt;
      &lt;rule name="Redirect .cfm extension" stopProcessing="false"&gt;
        &lt;match url="^(.*).cfm$" ignoreCase="true" /&gt;
      &lt;conditions logicalGrouping="MatchAny"&gt;
        &lt;add input="{URL}" pattern="(.*).cfm$" ignoreCase="false" /&gt;
      &lt;/conditions&gt;
        &lt;action type="Redirect" url="{R:1}" redirectType="Permanent" /&gt;
      &lt;/rule&gt;
      &lt;rule name="hide .cfm extension" stopProcessing="true"&gt;
        &lt;match url="^(.*)$" ignoreCase="true" /&gt;
      &lt;conditions&gt;
        &lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&gt;
        &lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&gt;
        &lt;add input="{REQUEST_FILENAME}.cfm" matchType="IsFile" /&gt;
      &lt;/conditions&gt;
        &lt;action type="Rewrite" url="{R:0}.cfm" /&gt;
      &lt;/rule&gt;
    &lt;/rules&gt;
  &lt;/rewrite&gt;
  </code></pre>
  
  <p>with the above, i managed to get a page like this</p>
  
  <pre><code>http://website.ca/graphics?mode=Graphics%20Design%20%C2%BB%20Business%20cards&amp;catID=35&amp;section=graphics 
  </code></pre>
  
  <p>the <code>graphics?</code> is the one which was before <code>graphics.cfm?</code></p>