removing .php giving a 404
removing .php giving a 404
Out of context: Reply #2
- Started
- Last post
- 8 Responses
- vaxorcist0
if you do the multi-folder index.php code thing, you may accidently write one index.php over annother ... ooops...
I would try:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php