title: link redirection using htaccess RewriteRule
body: <p>I have these links in my website:</p>
  
  <p>www.example.org/folder/files.php?file=folder/document.pdf</p>
  
  <p>www.example.org/folder/files.php?force&amp;file=2009.pdf</p>
  
  <hr>
  
  <p>and I want redirect to :</p>
  
  <p>www.example.org/files/folder/document.pdf</p>
  
  <p>www.example.org/files/2009.pdf</p>
  
  <p>I tried :</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine on
  RewriteRule ^files/(.*)$ /files.php?file=$1 [R=301,L]  
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>but doesn't work!
  any help?</p>