title: .htaaccess won't work on localhost
body: <p>Hello so am trying to make some .htaccess rules but nothing of what I write works! </p>
  
  <p>I am using XAMPP for windows 8.1.</p>
  
  <p>The <code>.htaccess</code> I wrote is to remove the <code>.php</code> extension: </p>
  
  <pre><code>RewriteEngine on
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME}.php -f
  RewriteRule ^(.*)$ $1.php [NC,L]
  </code></pre>
  
  <p>I want the link to be <code>localhost/sadeqrasheed/demo/home</code> instead of <code>localhost/sadeqrasheed/demo/home.php</code>.</p>
  
  <p>The <code>.htaccess</code> file is in the same place as the <code>home.php</code> in the demo folder.</p>
  
  <p>But it's not working. Any idea why ? </p>