title: How Do I use mod_rewrite
body: <p>I have a url with:</p>
  
  <blockquote>
    <p><a href="http://example.com/index.php" rel="nofollow">http://example.com/index.php</a></p>
  </blockquote>
  
  <p>I want it to be </p>
  
  <blockquote>
    <p>/index</p>
  </blockquote>
  
  <p>I will need to use mod_rewrite to make a virtual folder for a PHP or HTML file with .htaccess.</p>
  
  <pre><code>RewriteEngine on
  RewriteRule ^index.php$ index/
  </code></pre>
  
  <p>This is not working</p>
  
  <p>Any answers?</p>