In short
Ahrefs flags "Hreflang to non-canonical" when an hreflang annotation points to a URL whose canonical tag names a different URL. Google may then ignore the hreflang pair. Every URL in an hreflang set should be the canonical, indexable version of that language's page. Update the hreflang to the canonical URL, or fix the canonical if it's wrong.
Hreflang says "this is the German version." A canonical on that German URL saying "the real page is over there" contradicts it.
Common causes
| Cause | Fix |
|---|---|
| Hreflang uses a URL with parameters or without a trailing slash | Use the exact canonical URL |
| Translated pages canonicalize to the original language | Each language version should canonicalize to itself |
| HTTP or non-www URLs in hreflang | Use the HTTPS, preferred-host URL |
| Pagination or filtered URLs in hreflang | Use the main page URL |
The second cause is the most damaging. A translated page with a canonical pointing to the English page is telling Google not to index the translation.
How to fix it
Check the flagged hreflang targets and their canonical tags.
If the canonical is right, change the hreflang to that URL.
If the canonical is wrong (a translation pointing to the original), make it self-referencing.
WordPress: WPML and Polylang build both from the same URL. Conflicts usually come from SEO plugin canonical overrides set on one language. Check the post's Advanced tab in Yoast or Rank Math for each language.
Shopify, Webflow and Wix: hreflang and canonicals are generated together and normally match. Check custom canonical settings on individual pages.
Custom builds: generate hreflang URLs with the same function that generates canonicals.
This guide isn't affiliated with or endorsed by Ahrefs.
Related issues
Sources and references
Google Search Central, Tell Google about localized versions of your page
Google Search Central, How to specify a canonical URL

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



