Welcome Guest, Not a member yet? Register   Sign In
Error in Redirect the url using simple php redirect function....
#1

[eluser]crimsun[/eluser]
Hello Team,


I use the htaccess that you provide over here but still i have some problem in url actually problem is something differant let me post here the url

When i logged in site with using the folowing link
http://localhost/demo/loginadmin

After suucessfull login i use redirect('homeadmin/viewadmins');
and the link in url is like below

http://localhost/demo/?homeadmin/viewadmins

And it not gives proper result on page just page get blank...
and when i remove that "?" symbol so it work fine so how can i remove that using htaccess or anuy other help please suggest me.....
i need following link
http://localhost/demo/homeadmin/viewadmins

Thanks in Advance Smile
#2

[eluser]Nicolas Santos[/eluser]
hi,

Try changing this parameter in your config.php

Code:
$config['uri_protocol'] = "REQUEST_URI";
the comments In the file explain it all.




Theme © iAndrew 2016 - Forum software by © MyBB