跳过导航

標籤: 

本主题包含 0 則回覆 ,有 1 嗓音 。

最后由 lucap-5 10 months, 3 weeks前 更新。

协助者:: Ilyes.

作者 文章
25 6 月, 2024 于 11:49 上午 #15820124

lucap-5

Background of the issue:
We have noticed that our posts have the exact same "href lang x-default" value no matter their language. For instance, this Spanish post (Spanish is the default language), 隐藏链接 and the English translation, 隐藏链接 share these same values:

There is absolutely no difference, the code and the order is identical. Semrush and GSC are indicating multiple href lang errors on our site raypa.com, but then when I examine each page, the href code looks fine to me. I am following the documentation at https://wpml.org/documentation/support/adding-hreflang-wordpress/

Symptoms:
Semrush and GSC are indicating multiple href lang errors on our site raypa.com.

Questions:
Is it correct that our posts have the exact same "href lang x-default" value no matter their language?
Should the href lang values be different to indicate the language of the post?
Is everything fine with our current href lang setup?