Skip Navigation

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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

This topic contains 1 reply, has 2 voices.

Last updated by Mohamed Sayed 10 months, 2 weeks ago.

Assisted by: Mohamed Sayed.

Author Posts
January 20, 2024 at 3:34 pm #15207326

jaapd-2

Hi,

The links of the language switcher are no longer working correctly.

See hidden link

The german link is incorrect. Currently it's pointing to the base url. It should be hidden link

How can I fix this?

This probably happened after updating to last version of WPML.

Cheers,
Jaap

January 21, 2024 at 4:17 pm #15208691

Mohamed Sayed

Hi Jaap,
Thanks for contacting WPML support.

I see this issue only on the homepage, please create a full backup of the database and website then try the following steps:

1. Go to Pages > All Pages
2. Make sure that the homepage German translation is complete
3. Please go to WPML > Support > Troubleshooting page, then click the following:

- Clear the Cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Fix WPML table collation
- Set language information
- Fix post type assignment for translations

Let me know please if that helps.

Kind regards,
Mohamed

The topic ‘[Closed] Language switcher incorrect urls flags’ is closed to new replies.