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 hidden link. 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: hidden link and hidden link.
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?
November 13, 2024 at 10:33 am
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.