Skip to content Skip to sidebar

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

Problem:
The client is experiencing recurring issues with language switching on the home page using the WPML plugin.
Solution:
We resolved the issue by setting the Home menu item to a Home link. We then sent the Navigation Menu for translation from the WPML >> Translation Management page. After completing the translation in Advanced Translation Editor (ATE), the correct home menu item link now displays in both languages. We recommend the client to check and confirm if the issue is resolved.

If this solution does not apply to your case, or if it seems outdated, please check the related known issues and verify that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket here.

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 8 replies, has 1 voice.

Last updated by Bigul 3 weeks, 1 day ago.

Assisted by: Noman.

Author Posts
June 17, 2025 at 8:35 am #17141361

saraS-30

Background of the issue:
I am trying to switch the language on my home page using the WPML plugin for my site hidden link.

Symptoms:
My home page doesn't switch the language, even though we have fixed this issue many times, it always comes back.

Questions:
Why does the language switch issue on my home page keep recurring?

June 18, 2025 at 7:28 am #17144783

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.

The language switcher remains to hidden link. There is a 301 redirect active:

>>> <em><u>hidden link</u></em>

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status:	301 Moved Permanently
Code:	301
Server:	nginx
Date:	Wed, 18 Jun 2025 07:06:41 GMT
Connection:	close
Vary:	accept, content-type, cookie
Location:	<em><u>hidden link</u></em>
X-ac:	34.hhn _atomic_ams MISS
Server-Timing:	a8c-cdn, dc;desc=hhn, cache;desc=MISS;dur=773.0
Alt-Svc:	h3=":443"; ma=86400

>>> <em><u>hidden link</u></em>

Please ensure the page for Arabic is not saved as a draft.

Best Regards,
Marcel

June 18, 2025 at 7:33 am #17144797

saraS-30

hello there, it is not saved as draft i am 100% sure and this issue happens alot whenever it get fixed after while same issue is back again

June 18, 2025 at 10:12 am #17145494

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. Sorry for having this issue again, to take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

Your next answer will be private, meaning only you and I can access it.

=== Please backup your database and website ===

✙ I would need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.

Thank you for your cooperation

June 24, 2025 at 4:11 pm #17166170

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for providing access to your site. I just visited the home page and switched to Arabic language and it works correctly for me as you can see in the attached screenshot.

Could you please try to clear your browser cache or please let me know if I missed something?

Thank you for your cooperation

Arabic home.jpg
English home.jpg
June 24, 2025 at 4:36 pm #17166257

saraS-30

Hi there. Please click on “home” in the menu in ar u will see that it will leads u back to the eng page. Even try the mobile view please

In ar it is "الصفحة الرئيسية" please click on it

June 25, 2025 at 10:37 am #17168749

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for the additional details. I set the Home menu item to Home link as you can see in the attached screenshot, then send the Navigation Menu for translation from WPML >> Translation Management page, and completed the translation in ATE and now it shows the correct home menu item link in both languages.

Could you please check and confirm?

Thank you

home link 1.jpg
Arabic home link.jpg
Arabic home link on mobile.jpg
June 26, 2025 at 12:19 pm #17173413

saraS-30

Hello there and thanks for the help! It works well now. But the problem is it always happens from time to time why is that? Althought i made sure to translate the navigation everytime but no luck

June 27, 2025 at 7:54 am #17176188

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. Noman is currently on vacation, so I will be handling this ticket in the meantime.

Does the issue occur randomly? I just checked in different browsers, and the "الخوارزميات المتقنة" and "الرئيسية" links are showing the correct URL: hidden link

If you are still having problems, please try the following steps. After that, please check again and let us know if the issue still exists.

- Clear all types of caches (browser, server, and plugin-level if applicable).
- Go to Settings >> Permalinks and click Save Changes to flush the rewrite rules.

--
Thanks!

Bigul