remove .php permanently from url : <p>I want to remove .php extension from my url,
so I edited <code>.htaccess</code> to add this code</p>

<pre><code>RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
</code></pre>

<p>And the code works fine but only when I intentionally remove .php from the URL 
and I want it to be an automatic process so is it possible?</p>
