Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
Missing reciprocal hreflang (no return-tag)
Solution:

https://wpml.org/forums/topic/missing-reciprocal-hreflang-no-return-tag-2/#post-8026195

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

Last updated by olgaB-3 4 years, 6 months ago.

Assisted by: Bruno Kos.

Author Posts
February 4, 2021 at 9:26 pm #8011137

olgaB-3

Tell us what you are trying to do?
Found an error at ahref.com Missing reciprocal hreflang (no return-tag) in Ahref Site Audit
See attached. How can I fix it?

Is there any documentation that you are following?
Read your documentation on this page: https://wpml.org/documentation/support/adding-hreflang-wordpress/#troubleshooting

Please check my hreflang settings ( see attached). Now, I am thinking to change it to en-CA, fr-CA because we are in Canada. Please let me know if I can make this change manually directly in the settings.

What is the link to your site? hidden link

WPML language set up.png
hreflang.png
February 7, 2021 at 2:44 pm #8026195

Bruno Kos
WPML Supporter since 12/2018

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

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

Hi,

Thank you for contacting WPML support!

I opened hidden link and checked the source code, this is what I find there:

<link rel="alternate" hreflang="en-us" href="<em><u>hidden link</u></em>" /><link rel="alternate" hreflang="fr-fr" href="<em><u>hidden link</u></em>" />

And If I open hidden link I also find this:

<link rel="alternate" hreflang="en-us" href="<em><u>hidden link</u></em>" /><link rel="alternate" hreflang="fr-fr" href="<em><u>hidden link</u></em>" /

According to this: hidden link.
hidden link

would that not mean that they in fact have reciprocal hreflang and that Ahref Site Audit is giving incorrect results?

I am also puzzled by results as shown https://wpml.org/wp-content/uploads/2021/02/8011137-hreflang.png, is it not showing correct but then incorrect results for the same url?

Regards,
Bruno Kos

February 8, 2021 at 5:15 pm #8035035

olgaB-3

Hi Bruno,

I first, contacted my AIOSEO plugin support and they had the same reaction: Ahref Site Audit is giving incorrect results!

I needed a second opinion on that matter, and I appreciate your time and support. Thanks for looking into it.

At this moment, I am going to address this issue with the Ahref support.

Thank you,
Olga