I am having trouble with $_GET variables.
I turned on PHP for one of my templates and added <? print_r($_GET) ?> to output all GETs, and this what I get:
mydomain.com/about/?foo=bar => Array ( [about/] => )
I also turned on “display template debugging” and it says:
URI: /about/
It seems to me the GET isn’t read out or something.
It seems to be related to my .htaccess and I found some information about this here and tried their suggestions but it made my site inaccessible:
http://ellislab.com/forums/viewthread/128374/#641072
I am hosting on dreamhost and this is my .htaccess file:
RewriteEngine on
RewriteCond $1 !^(assets|themes|images|system|robots\.txt|favicon\.ico|index\.php)
RewriteRule ^(.+)$ index.php?$1 [L]Any idea what’s going on?
Greg