Searching in the actual language
-
Hey there!
First I want to thank for such a great plugin.
I noticed a small issue which depends on just one plugin, I think. My website / shop has two different languages and they are distinguished by a query var in the url. When you visit my site and change the language to English you can see that a new query var is added to the url which says no more than ,,lang=en”.
When I try to search something on the English version of the site it always shows the search results on the German site (lang=en is removed). I think this is because relevanssi uses the site_url and appends the search query vars.
How can I tell Relevanssi that it has to read which language is been set actually and consider this when building the url for the search (maybe with $_GET[“lang”]?). Where do I have to add some extra code to do this?
Thank you for your time!
The page I need help with: [log in to see the link]
- The topic ‘Searching in the actual language’ is closed to new replies.