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.

This topic contains 2 replies, has 2 voices.

Last updated by dvirH-2 1 year, 11 months ago.

Assisted by: Eran Helzer.

Author Posts
May 29, 2023 at 9:18 pm #13735385

dvirH-2

Hi, I wanted to make sure with you that my hreflang settings are correct.
I read in Google support that the structure of the page should show all the languages that the page refers to ( i mean hreflang tags).
I checked with mine and I only see the hreflang tag of the language I'm visit.

Is there a glitch here? Or is it ok and I'm missing something?

Link to Google's support page:

hidden link

Thanks,

Screenshot 2023-05-29 at 15.09.38.png
Screenshot 2023-05-29 at 15.10.56.png
May 30, 2023 at 9:31 am #13737565

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

You are correct that the <head> element of a page should contain elements to all the alternate versions of that page. The hreflang attribute is used to specify the language of these alternate versions. From what I see your website shows the correct <link> elements with the correct hreflang attributes. WPML automatically does this.

If you want there is a short explanation here:
https://wpml.org/tutorials/2016/05/hreflang-tags-multilingual-wordpress-sites-explained/

If you have any more questions or need any further help, please don't hesitate to ask.

Regards,
Eran

Screenshot from 2023-05-30 12-28-44.png