title: Re-writing URL's with variables (.htaccess)
body: <p>The CMS I have created uses a variable called "filename" that's passed via the URL to generate pages.</p>
  
  <p>My typical URL looks like this:</p>
  
  <pre><code>/index.php?filename=about.html
  </code></pre>
  
  <p>I would like to amend my URL's to look like this:</p>
  
  <pre><code>/about.html
  </code></pre>
  
  <p>Of course I would also like my URL when first visiting the page to look like this: </p>
  
  <pre><code>/index.html
  </code></pre>
  
  <p>(Replace <code>.php</code> with <code>.html</code>)</p>
  
  <p>I'm new to using the <code>.htaccess</code> file but would really like to amend my URL's to look this way, I hope that's possible. Thanks guys!</p>