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 4 replies, has 2 voices.

Last updated by Jamal 4 months, 1 week ago.

Assigned support staff: Jamal.

Author Posts
June 13, 2019 at 9:24 am #4010997

Willem Struber

Our client, jtag.com, is getting issues with hreflang values. Report is generated by semrush.com.

Can you explain how we can fix this?

June 13, 2019 at 9:44 am #4011369

Willem Struber

Apologies it's for jtaglive.com

June 13, 2019 at 10:02 am #4011579

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello,

Thank you for contacting WPML Support. I will be glad to help with this.

I checked the homepage in all languages and the alternate links that hold hreflang seem to be generated correctly.

<link rel="alternate" hreflang="en" href="<em><u>hidden link</u></em>" />
<link rel="alternate" hreflang="de" href="<em><u>hidden link</u></em>" />
<link rel="alternate" hreflang="ru" href="<em><u>hidden link</u></em>" />
<link rel="alternate" hreflang="zh-hans" href="<em><u>hidden link</u></em>" />

We follow Google recommendations about hreflangs, see this article:
hidden link

Would it be possible to have more details from Semrush report or support about this error, I'll be glad to investigate it further.

Can you also paste your WPML Debug information in the Debug information field?
- http://wpml.org/faq/provide-debug-information-faster-support/

Best regards,
Jamal
WPML Support

June 13, 2019 at 10:11 am #4011677

Willem Struber

Hi Jamal,

Thanks for the fast reply. I've attached the PDF (report) of semrush. I also read the same article hidden link. And saw we are using zh-hans. Might be caused by the fact it should be zh-Hans instead of zh-hans?
See file: hidden link

June 13, 2019 at 2:05 pm #4013507

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello,

Maybe using zh-Hans instead of zh-hans can resolve this issue in Semrush report, but I am not sure. You should probably test it. As far as I know, the hreflangs are not case sensitive. See section 2.1 of this RFC hidden link

I also tested the hreflangs of the website in these online tools and it is always ok:
- hidden link
- hidden link
- hidden link

I suggest you seek Semrush for more details. I found a suggestion about it on their website.
hidden link
With more details from Semrush, I can escalate this to our developers or help find the cause.

Best regards,
Jamal

The topic ‘[Closed] issues with hreflang values’ is closed to new replies.