title: How to hide file name in url
body: <p>I have a problem to hide file name in url using .htaccess my code is working properly but it hide only .php.
      example : </p>
  
  <pre><code>&lt;a href="userlogin.php"&gt;User Login &lt;/a&gt;
  
  After click on link like this in current URL is url
  http://thereliableservices.in/userlogin.php
  
  htaccess code here .....
  
  RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME}\.php -f
  RewriteRule ^([^/]+)/$ $1.php
  </code></pre>
  
  <p>After using htaccess code url like
     User Login 
     <a href="http://thereliableservices.in/userlogin" rel="nofollow">http://thereliableservices.in/userlogin</a></p>
  
  <p>but I want like in Url :  <a href="http://thereliableservices.in/" rel="nofollow">http://thereliableservices.in/</a>   after click on User Login</p>
  
  <p>Thanks for great help</p>