title: Make different types of URLS pretty with htaccess
body: <p>I have two types of urls I want to make readable/pretty:</p>
  
  <pre><code>www.mydomain.com/index.php -&gt; www.mydomain.com/index 
  (remove .php)
  </code></pre>
  
  <p>And</p>
  
  <pre><code>www.mydomain.com/information.php?=story1 -&gt; www.mydomain.com/information/story1
  (replace .php=? with /)
  Im using $_SERVER[REQUEST_URI] to grab the "story" from the database
  </code></pre>
  
  <p>I've tried for days and hours, but can't find any solutions. Any suggestions?</p>