Welcome Guest, Not a member yet? Register   Sign In
using redirect() but it's displaying index.php in the url
#3

[eluser]ehicks727[/eluser]
[quote author="Lone" date="1210321271"]What do you have set in your 'application/config/config.php' file for $config['index_page']?

It should read as:

Code:
$config['index_page'] = "";
[/quote]

That was it! I had $config['index_page'] = "index.php";

That kind of begs the question... why does having index.php in that config parameter effectively hide the index.php in the url all the time, except for using the redirect() function?? This question is purely for my education only... I'm still learning CI and I find myself just doing things, or following instructions in the forum without necessarily knowing why it works.

Thanks!!!


Messages In This Thread
using redirect() but it's displaying index.php in the url - by El Forum - 05-09-2008, 10:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB