Skip Navigation

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.

This topic contains 1 reply, has 2 voices.

Last updated by Marcel 10 months, 3 weeks ago.

Author Posts
July 26, 2024 at 2:17 pm #16009003

edwinv-4

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?

July 26, 2024 at 3:14 pm #16009176

Marcel
Supporter

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.

Please let me know.

Best Regards
Marcel

July 29, 2024 at 7:37 am #16014096

edwinv-4

It was plugin conflict with plugin Simply Static, after disabling it everything started to work