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 5 replies, has 3 voices.

Last updated by Christopher Amirian 1 month ago.

Assigned support staff: Christopher Amirian.

Author Posts
January 21, 2021 at 12:02 pm #7896205

witoldR

Semrush is showing huge number of pages that have hreflang conflicts.

What can be the solution to solve this problem?

January 22, 2021 at 2:49 pm #7907531

George Botsev
Supporter

Languages: English (English )

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

Hello!
Could you provide more information about the reported problem?
Perhaps a screenshot of the error list and a page where we can see what is about?

January 25, 2021 at 3:24 pm #7923221

witoldR

Hello George,

In short, there are quite a lot of 'hreflang' issue on our website.

I've added the screenshot of the issues.

Let me know if you need more information.

Best regards,

Sariyanta

January 26, 2021 at 8:18 am #7928135

Christopher Amirian
Supporter

Languages: English (English )

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

Hi Sariyanta,

Thank you for the information. I checked the homepage of your website and the HREFLANG references there are as it should be.

I checked the source code and you have five lines of the HREFLANG entries that correspond with your website setup and WPML debug info as you have five languages. (hreflang.png)

Unless you have more information on what is the exact issue that the tool you use points into in the code I am not sure if we can be of more help.

Thank you.

January 26, 2021 at 9:04 am #7928567

witoldR

Hi Christopher,

Thanks for the message.

Does the <html lang=""> has any influence in this or only the HREFLANG?

I'll try to recrawl again and see if the errors go away.

Thank you.

January 26, 2021 at 1:40 pm #7931823

Christopher Amirian
Supporter

Languages: English (English )

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

Hi there,

No the "lang" attribute in the HTML tag represents the current page language.

In general, WPML only adds the HREFLANGs to show that there are other languages for the page and name those languages.

Thank you.