EllisLab text mark
Advanced Search
     
index.php
Posted: 21 September 2010 05:25 AM   [ Ignore ]
Joined: 2009-07-22
60 posts

Can anyone tell me the purpose of index.php in EE URL’s and why removing it is not officially supported?

 
Posted: 21 September 2010 08:39 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2004-05-15
29075 posts

All modern CMS need a central file that all requests are routed through. This file is index.php. It is absolutely essential, and there is no way to remove it.

The only thing you can do is hide it from your URL: although every request still goes to that file it is hidden from public view. The only way to do this is through server side rewriting. How exactly to accomplish this and whether it’s actually possible at all depends on the server and its configuration. Consequently it is impossible to guarantee and in fact support this function.

 
Posted: 21 September 2010 08:26 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2009-07-22
60 posts

Thanks for that. I just wondered because I’ve been using Textpattern for about 4 years and this file is invisible by default.

 
Posted: 22 September 2010 04:59 AM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2004-05-15
29075 posts

They are probably shipping a default .htaccess file that may, or may not work on your server.

 
Posted: 22 September 2010 05:03 AM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Joined: 2009-07-22
60 posts

Yep, they do ship htaccess with it. Thanks.

 
Posted: 22 September 2010 10:37 AM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2002-04-29
26055 posts

Sounds like you’re set. Don’t hesitate to post again as needed.