Welcome Guest, Not a member yet? Register   Sign In
URL Helper redirect
#1

[eluser]atomless[/eluser]
Hi,

I've been using the URL Helper redirect but can't seem to figure out how to stop it from including index.php in the url - I am using the mod rewrite rule from the CI user guide and it seems to be working fine but as soon as I use the URL helper to redirect the index.php segment is back there in the url and no matter how I specify the target in the first redirect param I alwasy seem to get the index.php included in the url.

Anyone know how to redirect without adding in the index.php segment?

Many thanks,

James
#2

[eluser]tonanbarbarian[/eluser]
make sure your index_page config item is set correctly
Code:
$config['index_page'] = '';




Theme © iAndrew 2016 - Forum software by © MyBB