Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are working on a site and facing an issue where, after selecting the German language on the homepage, the site switches back to the English version instead of staying on the German pages.
Solution:
This problem is not related to redirects as the URL points correctly with HTTP Status 200. We recommend checking the translation of your menu to ensure that each button is properly translated and that the link targets are correctly set. This includes items like 'Elektronik', 'Mode', 'Geschenke', 'Musik', and 'Mein Konto' in both the main and footer menus. You can translate the menu by following the steps outlined in our documentation: Translating Menus.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.

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.

Tagged: 

This topic contains 11 replies, has 0 voices.

Last updated by Marcel 2 months, 1 week ago.

Assisted by: Marcel.

Author Posts
September 15, 2025 at 1:35 am #17400497

ehaitech-marketing-consultant-

Background of the issue:
I am working on a site under development and trying to ensure that when users select the German language on the homepage, they remain on the German version of the site without it switching to English.

Symptoms:
When a user selects the German language on the homepage, the site switches to the English version, and users have to manually select German again.

Questions:
Why can't users stay on the German web pages after selecting the German language initially?
Can you provide a screenshot to show where the settings are to fix this issue?

September 15, 2025 at 6:47 am #17400773

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

it looks like you may have a redirect configured. Could you please check if you have any active redirects set up in Yoast SEO Premium?

Best regards,
Marcel

September 15, 2025 at 8:21 am #17400997

ehaitech-marketing-consultant-

yes

September 15, 2025 at 8:35 am #17401037

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

So, if you deactivate Yoast Premium, does it work?
If yes, please check whether there’s a specific redirect set for German that might be causing the issue.

Best regards,
Marcel

September 15, 2025 at 9:13 am #17401212

ehaitech-marketing-consultant-

I can‘t find the settings, could you help me find out and set it well. and give me screenshot to let me learn about that

September 15, 2025 at 9:15 am #17401213

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

I’m unable to provide a screenshot since I don’t have access to Yoast Premium.

Please try the following:

Go to Yoast → Premium and check if there’s an active redirect for the affected page.

Alternatively, go to Plugins and temporarily deactivate Yoast Premium to test if the issue persists.

This behavior is not related to WPML settings, but might come from Yoast as a third-party plugin.

Best regards,
Marcel

September 16, 2025 at 1:54 am #17404076

ehaitech-marketing-consultant-

I close Yoast,but it still happen. I don’t want my German users to filter by language again when turning pages or opening other pages in the navigation bar, from English to German.

September 16, 2025 at 8:18 am #17404795

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Could you let me know if there are any other server-side redirects (301 or 302) configured? If possible, please provide a publicly accessible URL endpoint I can use to verify the exact redirect path on your server. Otherwise, I don’t have anything I can test to confirm the issue and its origin.

Best regards,
Marcel

September 18, 2025 at 9:17 am #17412467

ehaitech-marketing-consultant-

hidden link one

September 18, 2025 at 10:31 am #17412773

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

that doesn’t help, as there is currently no redirect on the homepage over the language switcher to reproduce the issue:

>>> <em><u>hidden link</u></em>  
--------------------------------------------  
200 OK  
--------------------------------------------  
Status: 200 OK  

Could you please provide access to an environment where the issue is still reproducible?

Best regards,
Marcel

September 25, 2025 at 1:32 am #17430410

ehaitech-marketing-consultant-

hidden link

If you are a user, when you come to the German homepage, you want to open Kontakt, but after you open contact us, you jump to the English content(hidden link) instead of the German content. You can try this path.

screenshot-20250925-093226.png
September 25, 2025 at 7:55 am #17431039

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

thanks! This isn’t a redirect issue, the URL correctly points to:
hidden link (No redirect happens here, HTTP Status 200)

Please review the translated menu to ensure the button is translated properly there and that the link target is set correctly. The same is the case with "Blog" in the same menu. And same in footer:

- Elektronik
- Mode
- Geschenke
- Musik
- Mein Konto

You can translate the menu as described here using one of the suggested methods:
https://wpml.org/documentation/getting-started-guide/translating-menus/

Best regards,
Marcel