title: Remove id from php url with .htaccess
body: <p>I'm trying to remove the id's from the url's to make then a bit more friendly:</p>
  
  <pre><code>RewriteEngine on
  RewriteCond %{REQUEST_FILENAME}.php -f
  RewriteCond %{REQUEST_URI} !/$
  RewriteRule ^(.*)$ $1\.php
  
  RewriteBase /
  RewriteRule ^cat/([a-zA-Z0-9---_]+)$ browse.php?id=$1
  RewriteRule ^products/([a-zA-Z0-9---_]+)$ item.php?id=$1
  RewriteRule ^products/([a-zA-Z0-9---_]+)&amp;history=view$ item.php?id=$1&amp;history=view
  </code></pre>