cannot get route to work with "+" character in it. |
[eluser]otherjohn[/eluser]
Hi all, I am trying to get a route for my site where the page would be http://www.doctyped.net/designs-to-html/...words+here but I get a 404. in my routes I have Code: $route['design-to-html/([a-z]+)']="basecontroller/landing/$1"; and in my basecontroller file I have Code: function landing() Code: $config['permitted_uri_chars'] = '\+a-z 0-9~%.:_-';
[eluser]Sam Dark[/eluser]
You need to include + into your route: Code: $route['design-to-html/([a-z+]+)']="basecontroller/landing/$1";
|
Welcome Guest, Not a member yet? Register Sign In |