How to get not encoded search-queries?
hi Lodewijk
Is there a way to get NOT-encoded Queries even if the QUERY_STRING-setting isnt deactivated?
We cant change the query_string since we need to hide «index.php?» in our urls to get Pretty URLs (SEO, user-friendlyness etc.).
Do you have any other solutions?
Replies
Low 21 Mar 2014 09:39
I'm afraid not. The prerequisites of using the non-encoded queries are mentioned here. If you're using the query_string method, then you should use the encoded queries.
Low 21 Mar 2014 09:50
Whether you need index.php? is down to your server setup. Check the uri_protocol setting in your config.php file. If that is set to 'QUERY_STRING', then you need to use index.php?.
But if it is set to something else, PATH_INFO for example, and your server can handle it, you don't need to use index.php?, but you can just use the example EllisLab provides, which does not include the ?. If that works for you, then you can use GET variables with Low Search and have your index.php hidden.