So I'm using this
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
To get rid of the .php
in my URL. So here's what happens. I have a folder named good
, and an index.php
inside it, now when I go to localhost/good
I end up getting a 404 not found. I assume that this is because of my .htaccess. Any ideas?