title: Issue with .htaccess for friendly urls
body: <p>This is my currently my .htaccess file</p>
  
  <pre><code>Options -MultiViews
  RewriteEngine on
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-d 
  RewriteCond %{REQUEST_FILENAME}\.php -f 
  RewriteRule ^(.*)$ $1.php [NC]
  RewriteRule ^(.*)/edit/(\d+)?$ $1/edit.php?tag=$2 [NC]
  </code></pre>
  
  <p>As you can see it's set to hide the .php extension, but this then seems to break the edit rule.  If I comment out</p>
  
  <pre><code>RewriteRule ^(.*)$ $1.php [NC]
  </code></pre>
  
  <p>The edit rule works fine, but I need both and cannot seem to get it to work, anyone see what the problem is and how to sort it.</p>
  
  <p><strong>[Edit]</strong>
  I have a link like this and when all rules are active this is what doesn't work.</p>
  
  <pre><code>http://www.domainname.com/researcher/lists/edit/
  </code></pre>
  
  <p>and I get an 500 Internal Server Error.</p>