Problem with query strings |
[eluser]x3cu73[/eluser]
Hi, I'm having problems using query strings http://somedomain.com/controller_name/ works fine but http://somedomain.com/controller_name?a=1&b=2 give 404 error, page not found It works when I use http://somedomain.com/index.php/controller_name?a=1&b=2 query strings are enabled in config.php
[eluser]Atharva[/eluser]
You have to use .htaccess to remove index.php from url. Have you done that?
[eluser]Cristian Gilè[/eluser]
Hi x3cu73, Code: $config['uri_protocol'] = 'PATH_INFO'; Remember that, unless you are using .htaccess to remove index.php from url, this file is mandatory. Cristian Gilè |
Welcome Guest, Not a member yet? Register Sign In |