• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.