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

Supporter timezone: Asia/Yerevan (GMT+04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 6 months ago.

Assisted by: Christopher Amirian.

Author Posts
May 21, 2024 at 7:10 am #15648128

ivanD-50

I have a problem with hreflang.

I have 3 languages on my site, but not all articles can be translated.

The problem is that hreflang sets the language name correctly, but the language prefix in the href does not change.

I apologize if the question is elementary or not clear, I have not been working with WPML for a long time

May 21, 2024 at 7:59 am #15648455

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

I'd appreciate it if you could provide the result of the update and if it fixed the hreflang issue or not.

If not, would you please test for a minimal installation and see if the issue happens there?

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except WPML and its add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

Thanks.

The topic ‘[Closed] hreflang sets the language name correctly, but the language prefix in the href does not change.’ is closed to new replies.