title: Removing .php extension in localhost
body: <p>I've been trying to figure out how to remove .php extension, I've searched everywhere and it seems most of the code are not working anymore. The code below is what I am using now to remove the .php extension but it is not working.</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !- f
  RewriteRule ^([^\.]+)$ $1.php [NC]
  </code></pre>