Indexability · Canonicals
Canonical contains invalid attributes
The canonical link carries attributes such as hreflang or media that can make Google ignore it.
How this page is built
The canonical link on this page points to itself but carries a hreflang attribute, which can make Google ignore it.
Why it matters
Google says a canonical link should not carry attributes that change what it means, such as hreflang or media. With these, the link can be taken for a link to another version of the page. Then it is ignored.
When the canonical is ignored, search engines fall back to choosing the preferred URL themselves, which may not be the one you want.
How to check it
View the source and read every attribute on the canonical link. Anything other than rel and href deserves a closer look, especially hreflang, media or type. Crawl tools that extract head elements can list canonicals with extra attributes, and the URL inspection tool shows whether Google accepted the canonical.
How to fix it
Keep the canonical link simple: rel=“canonical” and an absolute href, nothing else.
Put language versions in their own hreflang links, and mobile versions in their own alternate links. Keep both apart from the canonical link.