The URL in focus has one or more hreflang attributes that are not configured properly.
Why is this important?
When the hreflang is flawed, it is disregarded by search engines, impacting the correct display of language or regional URLs in search results.
For instance, a misconfigured hreflang might occur if the URL is omitted, or if hreflang attributes are incorrectly employed within standard anchor tags.
What does the Optimization check?
This Optimization is activated for any URL that includes at least one hreflang attribute that is setup incorrectly.
Examples that trigger this Optimization:
Analyze the URL: https://example.com/fr/page-a/
If this URL contains an incorrectly configured or unsupported hreflang, the Optimization would be triggered:
<link rel="alternate" href=" " hreflang="en-gb" />
Here is another scenario:
<a href="https://example.com/de/page-a/" hreflang="de-de"></a>
How do you resolve this issue?
A misconfigured hreflang needs addressing for search engines to correctly serve regionally specific content.
Check the code to identify the issue. Use a proper hreflang implementation as a reference to identify discrepancies.