title: Remove the file extension .php using htaccess file
body: <p>I want to remove the .php from the url through htaccess file. for example home.php to home
  I'm using the following rewrite rule in htaccess file. </p>
  
  <pre><code>    RewriteRule ^(([^/]+/)*[^.]+)$ /$1.php [L]
  </code></pre>
  
  <p>I also want to assign the login as index.
  How can I change it.</p>