title: How to rewrite urls that have an accidental %20 at the end?
body: <p>I wound up with a bunch of backlinks to my site that have the correct URL, except there was an accidental trailing space so the links came out with a trailing <code>%20</code>, which causes a page not found error.</p>
  
  <p>I tried variations on this:</p>
  
  <pre><code>RewriteRule ^/%20 /
  </code></pre>
  
  <p>but it's not working. </p>
  
  <p>Is a <code>RewriteCond</code> statement also needed?</p>
  
  <p>Please note this is an IIS 6 server, and these are Wordpress pages that I'm linking to.</p>
  
  <p>Somebody please tell he the secret code to get rid of a <code>%20</code> at the end of a URL.</p>
  
  <p>Thanks!</p>