I do my searches on my site using the following format: (where searchterm is what your looking for) siteurl.com/search/searchterm
is there anyway to get local searching to work with this? I’ve tried a couple things and nothing is working..
Thanks!
Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!
I do my searches on my site using the following format: (where searchterm is what your looking for) siteurl.com/search/searchterm
is there anyway to get local searching to work with this? I’ve tried a couple things and nothing is working..
Thanks!
Ok, so I see that this is because the plugin is looking for a query. However, based on what I’ve seen around this forum, it might be nice if no query was defined in preferences, maybe local search would just look for the text after the path. This way people using more user friendly searching like me would still be able to track local searches (anything that comes after search/ on my site is always a search, there are never pages there.)
If I knew more PHP (ok, any) I would try this out, but it would also be great (if this is possible) that it could be part of the plugin.
I also have this problem. domain.com/search/searchterm
But this URL is really redirecting to domain.com/index.php?id=search&q=searchterm
So if I understand correct, Local Searches doesn’t see the physical URL, just the RewriteRules in my .htaccess?
Thats weird, because PHP can se the physical URL using $_GET.
You are redirecting from the search result with the query string to the fake directory-like url that displays the search results. When Mint is run on the results page it looks to the Local Searches Pepper to be a regular page (because the search terms are not in a query string form).
There are currently no plans to support this directory-like search url structure in Local Searches.
You must be logged in to reply. Login above or create an account