Skip to content Skip to sidebar

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

Last updated by calvinY-3 12 hours, 17 minutes ago.

Assisted by: Laura.

Author Posts
August 16, 2025 at 9:44 am #17324678

calvinY-3

Background of the issue:
I am trying to switch the page translation on the mobile menu, but it redirects to the main page of that language instead of the correct translation page. The desktop version does not have this problem. I have tested and ruled out issues related to cache, login, browser language redirect, and AJAX settings. The issue can be seen on this page: hidden link. I expected to see: hidden link, but instead, I got: hidden link.

Symptoms:
The language switch on the mobile menu does not redirect to the correct translation page, but the desktop menu works fine. It redirects to the main page of the language instead.

Questions:
Why does the mobile menu redirect to the main page instead of the correct translation?
What settings could affect the mobile menu differently from the desktop menu?

August 18, 2025 at 10:54 am #17327390

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. Before passing this thread to my colleague, I would like to share some suggestions and possible solutions for the issues you mentioned.

This may be related to the following errata. Therefore, please make sure you are using the latest version of the WP Residence theme (Version 5.2.0).

https://wpml.org/errata/wp-residence-main-menu-language-switcher-shows-wrong-urls/

hidden link

If not, please upgrade to the latest version of the theme and all the plugins to the newest version after a full site backup (mandatory). Then, clear all types of caches and verify if the bug persists.

--
Thanks!

Bigul

August 18, 2025 at 12:05 pm #17327640

calvinY-3

Thanks for your info, i have tried to add the codes in both the main theme and the child theme, clear cache on website and siteground cache, however it does not work, is there anything i could have missed?

August 18, 2025 at 12:48 pm #17327802

calvinY-3

I have installed transients manager, del all of the mobile menu related transients still do not work, i suspend all the transients, also do not work.

August 18, 2025 at 1:10 pm #17328010

calvinY-3

If it is too hard or time consuming to debug, i can live with alternative method or any workardoun, e.g. extra menu plugin that work with wpml for sure, or floating language switch do not use the theme menu, or hardcore on the header / top bar... anything that can do the same job with ease

August 19, 2025 at 1:31 pm #17331584

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

Hello, I'll take care of the issue from now on. I checked the problem from my phone and I didn't notice any redirection. I asked other colleagues to check, with different browsers, but nobody could spot the issue either.

Did you try with a different device? Maybe it's just a cache issue on your phone.

August 19, 2025 at 3:56 pm #17332154

calvinY-3

Thanks for your feedback, because i have used a menu plugin to resolve this issue instead of the theme default mobile menu, the theme menu still have problem but this workaround works for me consider the time, lets consider it is resolved, thank you