Background of the issue:
I am trying to switch language with the header menu switcher on my site hidden link. I am following WPML documentation.
Symptoms:
When I try to switch language with the header menu switcher, I am redirected to the current language. The footer switcher works correctly.
Questions:
Why does the header menu switcher redirect to the current language instead of switching languages?
How can I fix the header menu switcher to work like the footer switcher?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Hi,
before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.
Can you please test this on a staging environment using a default theme, such as TwentyTwenty-One? This way, we can exclude an error in your custom theme.
The footer switcher usually runs WPML unmodified, but theme files are loaded, too, when using the header switcher.
It was plugin conflict with plugin Simply Static, after disabling it everything started to work
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.