Skip to content Skip to sidebar

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

Problem:
You are experiencing issues with the language switcher on your website. It works when logged into WordPress but fails in a fresh browser session. Additionally, the English homepage displays an error when not logged in.
Solution:
We recommend checking if the translated version of your homepage is set to 'Draft' status. Here are the steps to follow:
1. Go to Pages → All Pages.
2. Switch to the secondary language.
3. Edit the translated homepage using the native WordPress editor.
4. If the page is not published, go ahead and publish it.
If you're still facing issues after these steps, the solution might be outdated or not applicable 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 the problem persists, 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 2 replies, has 0 voices.

Last updated by Andrey 3 weeks, 1 day ago.

Assisted by: Andrey.

Author Posts
July 24, 2025 at 8:04 am #17266312

thomasH-161

Background of the issue:
I am trying to set the home page for the secondary language on my website. The issue can be seen at hidden link.

Symptoms:
The language switcher is not working when not logged in. When logged in to WordPress, the language switcher in the menubar works. However, in a fresh browser session without logging in, the switcher doesn't work. Additionally, going to houseofcufflinks.store shows an error on the English homepage, but it works fine when logged in.

Questions:
Why is the language switcher not working when not logged in?
Why does the English homepage show an error when not logged in?

July 24, 2025 at 8:28 am #17266434

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

Could you please check if the translated version of your homepage is not set to Draft status?

Please follow these steps:
1. Go to Pages → All Pages.
2. Switch to the secondary language.
3. Edit the translated homepage using the native WordPress editor.
4. If the page is not published, go ahead and publish it.

Please let me know if the issue persists after you have taken these steps.

July 24, 2025 at 8:37 am #17266468

thomasH-161

Hello Andrey,
It didn't seem to be in concept, but I followed the steps and (re-)published the secondary language page whereafter it worked.
Thanks you so much for your prompt support.
Kind regards,
Thomas

July 24, 2025 at 8:38 am #17266470

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback, Thomas.

Have a nice weekend ahead!