In an effort to integrate our Google site search with Pardot, I’m trying to get our search page to work with query string parameters. Unfortunately, EE seems to be stripping anything in the URL that starts with a question mark. So, for example, the URL
http://www.ourdomain.com/search/results/?q=billing
will return segment_3 as empty. I’ve used the config file editor to allow the question mark in $config[‘permitted_uri_chars’], but that didn’t help. I thought maybe EE automatically parsed those variables for me, but I couldn’t find any way in the documentation to access it.
How do I fix this?
Thanks,
Brian