Pretty URLs in Search Results to Another Page (Not Working)
Permalink
I've never had problems with regular Pretty URLs. However, I've noticed that with lots of plugins (Search, Ad Server, etc.) pages and links end up non-pretty.
I've enabled "define('URL_REWRITING_ALL',true);", which seems to have fixed searching from the search page (and likely the Ad Server as well), but if searching from the homepage and posting to the /search page I still get:
http://www.example.com/index.php/search/?search_paths%5B%5D=&qu...
Is this a bug? Is it preventable?
I've enabled "define('URL_REWRITING_ALL',true);", which seems to have fixed searching from the search page (and likely the Ad Server as well), but if searching from the homepage and posting to the /search page I still get:
http://www.example.com/index.php/search/?search_paths%5B%5D=&qu...
Is this a bug? Is it preventable?
5.6.2.1, I'm seeing the exact same thing!
Aha! Well, the "define('URL_REWRITING_ALL',true);" -did- take care of it after all.
I had, at some point, copied the form HTML into the template file, and it (naturally) had the /index.php/search hard-coded in it. Removed it and (combined with the URL_REWRITING_ALL) it was fixed.
I guess this leaves me questioning... why the heck isn't URL_REWRITING_ALL enabled as part of, well, enabling pretty URLs???
I had, at some point, copied the form HTML into the template file, and it (naturally) had the /index.php/search hard-coded in it. Removed it and (combined with the URL_REWRITING_ALL) it was fixed.
I guess this leaves me questioning... why the heck isn't URL_REWRITING_ALL enabled as part of, well, enabling pretty URLs???
The slash-question-mark "/?search" also looks awkward.
I'd think it could be rewritten down to something more like..
example.com/search/searchqueryhere
No?
I'd think it could be rewritten down to something more like..
example.com/search/searchqueryhere
No?