Welcome Guest, Not a member yet? Register   Sign In
Problem with query strings


I'm having problems using query strings

http://somedomain.com/controller_name/ works fine


http://somedomain.com/controller_name?a=1&b=2 give 404 error, page not found

It works when I use


query strings are enabled in config.php

You have to use .htaccess to remove index.php from url. Have you done that?

[eluser]Cristian Gilè[/eluser]
Hi x3cu73,

$config['uri_protocol'] = 'PATH_INFO';
$config['enable_query_strings'] = TRUE;

Remember that, unless you are using .htaccess to remove index.php from url, this file is mandatory.

Cristian Gilè

Theme © iAndrew 2016 - Forum software by © MyBB