title: page not found error after changes in .htaccess for removing file extension
body: <p>I am very new to .htaccess behaviour
  I am trying to remove extension from php file, I added this to .htaccess file</p>
  
  <pre><code>RewriteEngine on
  Options All -Indexes
  RewriteRule ^([^/.]+)/?$ $1.php
  </code></pre>
  
  <p>it is working fine but when I want to open admin or trying to open any folder, then it shows
  www.mysite.com/admin/</p>
  
  <pre><code>Not Found
  
  The requested URL /admin.php was not found on this server.
  </code></pre>
  
  <p>and there is not any admin.php page in my website root folder.</p>
  
  <p>Help will appreciate
  Thanks</p>