Redirect Issues with GET parameters - 404 Error |
[eluser]Unknown[/eluser]
I followed the examples online remove index.php from the URL. (see below for the .httaccess) I also setup a default action controller. Everything mostly works okay. http://www.mysite.com goes to the right controller and does the right thing. However, http://www.mysite.com/?ref=p&t2=455 causes a 404 error. I tried every type of uri_protocal and that didn't work, Auto seems to work the best. Also http://www.mysite.com/mycontroller/mymet...f=p&t2=455 works fine. Its only on the default case that doesn't work. I am assuming it is using the GET parameters to figure out the routing. thanks in advance .htaccess looks like: Code: RewriteEngine On
[eluser]WanWizard[/eluser]
CI standard doesn't support both URI segments and query string variables. As soon as you enable 'query_strings' in the config, it tries to use the query string for routing. Do a search here on 'allow_get_array', you'll find one of my posts describing how to extend CI to support $_GET while still use URI segments for routing. |
Welcome Guest, Not a member yet? Register Sign In |