Welcome Guest, Not a member yet? Register   Sign In
mod_rewrite : Getting rid of index.php in the URI
#1

[eluser]harmstra[/eluser]
Not a question, but an answer.

I've been trying to get rid of the index.php part in the URI.
I've tried all kinds of different mod_rewrite rules, but nothing seemed to work.
Lots of threads on this board talk about this issue, so lots of people struggle with it.

After reading tons of posts, I came upon THE post.

So here's the solution. You need to set $config['index_page'] in the conifg.php
Default setting is:

$config['index_page'] = "index.php";

change it to

$config['index_page'] = "";


Messages In This Thread
mod_rewrite : Getting rid of index.php in the URI - by El Forum - 02-18-2008, 05:05 AM
mod_rewrite : Getting rid of index.php in the URI - by El Forum - 02-18-2008, 05:18 AM
mod_rewrite : Getting rid of index.php in the URI - by El Forum - 03-08-2008, 03:46 PM
mod_rewrite : Getting rid of index.php in the URI - by El Forum - 03-09-2008, 08:22 AM
mod_rewrite : Getting rid of index.php in the URI - by El Forum - 03-11-2008, 09:39 AM
mod_rewrite : Getting rid of index.php in the URI - by El Forum - 03-11-2008, 10:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB