Pick our brains...

All posts tagged RewriteCond

Htaccess DirectoryIndex index.php Not Found 404

Oh that *is* interesting. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] The condition that is in bold above (which is already in the htaccess), should be doing the trick.  But for some reason, it’s not. The “RewriteCond %{REQUEST_FILENAME} !-d” says, “if the request is . . . Read more