One More Thing to Try if Removing index.php Doesn’t Work with ExpressionEngine
If you’ve just moved your ExpressionEngine installation to a new server and suddenly find that your .htaccess index.php removal doesn’t work, here’s one more thing to try.
Just add a question mark at the end of “index.php” on the last line of your .htaccess file. (If you already have a question mark there, try removing it.)
The last line of your .htaccess file should look like
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteRule ^(.*)$ /index.php/$1 [L]
before.
Removing/adding the question mark should work regardless of whether or not you’re using the include or exclude method to remove index.php.
Posted on Mar 22, 2009 - 10:45 AM
