Welcome Guest, Not a member yet? Register   Sign In
.htaccess 301 Redirect + RedirectMatch + get strings + will someone think of the children?
#2

[eluser]Phil Sturgeon[/eluser]
You simply need to set CI to accept query strings. Cant remember exactly how thats done but I expect a short search will give you some answers.

Another way is to add ? & = into the following line.

Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
// should be
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-\?&=';

Mod rewrite would be a nightmare way of doing it, as you'd have to make sure all your get parameters and uri segments in the controller methods are all matched up exactly in the same order.


Messages In This Thread
.htaccess 301 Redirect + RedirectMatch + get strings + will someone think of the children? - by El Forum - 11-28-2008, 08:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB