I am changing the name of index.php to e.php because my home page is not in EE.
I have a mod rewrite setup which nicely redirects all unknown directories to e.php and strips it out of the URL.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /e.php?/$1 [L]
This works great for regular templates. But simple search has stopped working.
It works if I put e.php into the admin > system preferences > general configurations “Name of your site’s index page”
But that than automatically includes e.php into every URL.
So it seems like simple search doesn’t understand that index.php has been renamed and it stops working (it just ignores the search and goes back to the real sites index.php)
So how do I get simple search to recognize e.php without having to type it into the general configurations box. Can I modify the mod.search.php module in some way?