Home›Support›English Support›[Waiting for user confirmation] On the language switcher how can I retain the URL parameters?
[Waiting for user confirmation] On the language switcher how can I retain the URL parameters?
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Background of the issue:
I am trying to retain URL parameters when switching languages on the language switcher of my WordPress site using WPML. The site I need help with is hidden link.
Symptoms:
When switching language, the URL parameters are not being retained.
Questions:
On the language switcher, how can I retain the URL parameters?
Thank you, my team will check on this ticket on Monday 21st
It seems to not be an uncommon situation, as I was able to replicate the issue of a search result going to another language's shop page instead (hidden link). I imagine the bug has been reported before and there is likely a solution.
I apologize, but I still don't have a definite deadline to give you. I can tell you we need at least a few couple more days. I'm discussing with the devs how we will handle this issue, as it's not exclusive to your website and is a more general issue that impacts other users (even though we haven't had any open tickets about this matter). I'm trying to check for a quick workaround, meanwhile.
Thank you for understanding. I'll keep you updated.
Thank you very much for reaching out and for sharing your feedback and ideas with us. We genuinely appreciate hearing from users like you who are deeply engaged and help us improve.
After careful evaluation and internal discussion, we have decided not to implement a fix for this specific case. While we understand how retaining search parameters across languages could improve the experience in your scenario, this behavior is quite complex to handle reliably and falls outside the standard functionality expected by most of our users. We haven't had any reports of users switching languages mid-search and facing issues.
Given the development effort required and the limited demand for this feature, we must prioritize other improvements that serve broader needs.
That said, we truly value your input, and we will certainly keep this request documented for future review. Should the demand for this functionality grow over time, we will be happy to re-evaluate it.
Thank you again for your understanding and continued support. If there is anything else we can assist you with, please don't hesitate to let us know.