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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 2 replies, has 2 voices.

Last updated by bartlomiejW-4 1 year, 6 months ago.

Assisted by: Mateus Getulio.

Author Posts
June 4, 2024 at 4:42 pm

bartlomiejW-4

Background of the issue:
I was editing the homepage after the site migration and it was working fine. The site is 4dpf.com.

Symptoms:
The language switcher stopped working on the homepage. It should redirect to /?lang=*language* but it redirects to /. This issue does not occur on other pages.

Questions:
Why is the language switcher not working on the homepage?
How can I fix the language switcher to redirect correctly on the homepage?

June 5, 2024 at 1:18 pm #15707036

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

I checked it and the issue is with the plugin Redirect Redirection, we tested it on chat, but we were seeing a cached version of the site(probably a cache coming from the site's CDN/Firewall that seems to be Cloudfare).

Please see this screen record: hidden link

In essence, in the video I show that if we disable the 'Redirect Redirection' and try to access the secondary languages with a dummy param like ?nocache or ?nc just to bypass cache, we're able to see the home page in the secondary languages just fine.

If we re-enable the plugin and test it, even with the parameter in the URL, the site is redirected to the main language.

Can you please reach out to the plugin support and ask them to help you find a configuration that will allow you to use the plugin without affecting the language switcher functionality?

Thank you, please let us know,
Mateus

June 6, 2024 at 6:55 am #15709374

bartlomiejW-4

thank you for the reply.
I am writing to "redirect redirection" right now

The topic ‘[Closed] Homepage ranslations not working after changing content’ is closed to new replies.