- Code: Select all
Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .+ ./index.php [L]
The problem is, it conflicts with my customized 404 error page. I think the "RewriteRule .+ ./index.php [L]" conflicts with the "Options +Indexes" I'm supposed to add to make the 404 error page work. Is there a way to combine this all so it makes my 404 error page work? I would greatly appreciate someone's help with this. Thanks.