Could you give me an example of how that works - i don’t fully understand your suggestion.
We have renamed index.php - as suggested in EE’s documentation.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
August 27, 2008 11:24pm
Subscribe [5]#16 / Sep 11, 2008 9:29pm
Could you give me an example of how that works - i don’t fully understand your suggestion.
We have renamed index.php - as suggested in EE’s documentation.
#17 / Sep 12, 2008 11:56am
This may/may not be related. But- it’s weird. I’m getting the 404 header (though page shows fine) first load, whatever I put after the q string.
Can’t duplicate on mine- and I remove index.php entirely. ex: http://media-cow.com/?trackerthing
Hm. Can you paste your full htaccess here? And can you do a quick test- if you remove it entirely and toss up a copy of index.php- use that instead- does the 404 still get thrown?
#18 / Sep 14, 2008 10:53pm
if I use a url with “site” in it, everything works fine, eg:
http://carsguide.com.au/site/?blah
however, this generates a 404:
http://carsguide.com.au/?blah
I have not yet tried reverting back to index.php. Will let you know.
#19 / Sep 14, 2008 10:57pm
hereward - if you’ve renamed “index.php” to site - then you have to have site in your URL. index.php is the gateway through which ExpressionEngine knows it is being invoked - without that being called, ExpressionEngine doesn’t come into play. Since ?blah doesn’t exist, you get a 404.
Make sense? That seems to be what is happening anyway.
#20 / Sep 15, 2008 2:47am
I remove index.php entirely.
can you explain the technique used to remove index.php?
Are you using Apache mod-rewrite, for example?
#21 / Sep 15, 2008 11:36am
Well- it’s not officially supported, because servers vary on support for it. But I do it routinely. Check out the wiki for the various options. I generally use the file and directory check method, though sometimes that varies.
However- before you dink with it, we should be certain the site’s working. Did the 404 issue boil down to not including the renamed index.php file in the url? If you just renamed it, you have to have it in there or it’s not going to work.