title: 301 Redirect with ColdFusion dynamic url
body: <p>Long time listeners, first time callers.</p>
  <p>We are trying to accept old inbound links, that are currently bouncing.</p>
  <p>The old urls contain: /County_Detail.cfm/CountyID:XXX   <em>(XXX = UniqueID)</em></p>
  <p>We want the old links to redirect to /Counties/County_Detail.cfm?CountyID=XXX</p>
  <p>We're using CF10 and IIS 8.5</p>
  <p>We simply want to replace the delimiters / and :</p>
  <p>We've tried a number of settings, with the following as the latest: </p>
  <pre><code>&lt;rewrite&gt;
  &lt;rules&gt;
  &lt;rule name=&quot;Rewrite Counties&quot; stopProcessing=&quot;true&quot;&gt;
  &lt;match url=&quot;^County_Detail.cfm([a-zA-Z0-9-+]+)CountyID([a-zA-Z0-9-+]+)&quot; /&gt;
  &lt;action type=&quot;Redirect&quot; url=&quot;County_Detail.cfm{R:1}CountyID{R:2}&quot; /&gt;
  &lt;/rule&gt;
  &lt;/rules&gt;
  &lt;/rewrite&gt;
  </code></pre>
  <p>Would someone kindly point out the error of our ways.</p>
  <p>Thank you, so much!</p>