[Resolved] Both Flags Pointing To Same Language (Base)
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is unable to return to the English version of their website using the language switcher, as both flags in the header and footer direct to German. Solution: We commented out the following lines in the
We recommend clearing the site's cache to ensure the changes take effect and the language switcher functions correctly.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please visit our known issues page and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket for further assistance.
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.
Background of the issue:
I am trying to set up a language switcher for my website with English as the primary language and German as the secondary language. The issue can be seen on this page: hidden link
Symptoms:
On most pages, I cannot return to English using the language switcher because both flags point to German. This issue occurs in both the header and footer switchers.
But look what we have discovered. While navigating between languages, on different pages, we have noticed that the language switch does not happen because of the domain termination (.de), because the rest of the link is correct. Also check printscreen
Thanks for your update. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please backup your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.