跳过导航

標籤: 

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

最后由 erkkiM 6 months, 4 weeks前 更新。

协助者:: Paola Mendiburu.

作者 文章
13 11 月, 2024 于 10:09 上午

erkkiM

Background of the issue:
I am trying to understand the correct hreflang code for my website. I noticed discrepancies between the settings and the source code. The page in question is 隐藏链接. In the source code, I see: . However, in the settings, the default locale is pl_PL and hreflang is pl-PL. I expected to see the correct format as per ISO 639-1 and ISO 3166-1 Alpha-2 standards: . Screenshots are available at: 隐藏链接 and 隐藏链接.

Symptoms:
The hreflang code in the source code is 'pl-pl', which does not match the expected 'pl-PL' as per the settings.

Questions:
Why is the hreflang code 'pl-pl' in the source code instead of 'pl-PL'?
How can I ensure the hreflang code matches the settings?

13 11 月, 2024 于 10:33 上午