title: Using Intelligencia UrlRewriter regex .asp pages to a holding page
body: <p>When looking over the statistics for my site, I realized that the vast majority of traffic is coming via third party links to classic ASP pages which haven't existing for a few years now.</p>
  
  <p>I decided that adding a bunch of urlMappings to the web.config wasn't a great idea, so I added Intelligencia UrlRewrite and tried to add a rule, as follows:</p>
  
  <pre><code>  &lt;rewriter&gt;
      &lt;redirect url="^/(.*).asp$" to="~/pagenotfound.aspx?page=$1" /&gt;
    &lt;/rewriter&gt;
  </code></pre>
  
  <p>The rule works, but it picks up any url which ends with .asp = such as /pagenotfound.aspx?page=someurl.asp.</p>
  
  <p>Oops :)</p>
  
  <p>I'm not exactly knowledgeable about regular expressions, how can I get it to ignore ".asp" which follows the question mark character?</p>