Welcome Guest, Not a member yet? Register   Sign In
redirect() ignores my .htaccess and uses domain_name/index.php/<redirected_url>
#4

[eluser]hugle[/eluser]
[quote author="Pascal Kriete" date="1223881764"]Go into application/config/config.php and blank out the index page config value:
Code:
// Old
$config['index_page'] = "index.php";

// New
$config['index_page'] = "";

CI uses that to create urls when you're using site_url, redirect, anchor, form_open and other functions that generate urls.

Welcome to CodeIgniter.[/quote]

thank you!
couldn't think that can be so easy!


Messages In This Thread
redirect() ignores my .htaccess and uses domain_name/index.php/<redirected_url> - by El Forum - 10-06-2009, 01:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB