Welcome Guest, Not a member yet? Register   Sign In
How to route with PATH_INFO
#1

[eluser]Jozomannen[/eluser]
I'm trying to get $_GET-variables to work (to track AdWords).

I've done lots of reading here on the board, and everyone suggest to change uri_protocol from AUTO to PATH_INFO, but problem is that my subpages stop work then.

I now have:
$config['uri_protocol'] = "AUTO";
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-\?=';
$config['enable_query_strings'] = TRUE;


Problem is that none of my sub pages are working when I change uri_protocol to PATH_INFO, whatever URL I'm using, the content of the frontpage are being shown.

Here's how my routes.php looks like:
$route['default_controller'] = "home";
$route['scaffolding_trigger'] = "";
$route['go'] = "home/go";
$route['partners/(.*)'] = "partners/page/$1";


So if I visit:
http://www.site.com/parters/
The frontpage are being shown.


Any ideas?


Thanks in advance!


Messages In This Thread
How to route with PATH_INFO - by El Forum - 03-31-2011, 07:53 AM
How to route with PATH_INFO - by El Forum - 04-04-2011, 06:13 AM
How to route with PATH_INFO - by El Forum - 04-04-2011, 07:14 AM
How to route with PATH_INFO - by El Forum - 04-19-2011, 08:07 AM
How to route with PATH_INFO - by El Forum - 04-20-2011, 10:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB