Skip to content
Nazmul Nikhil
Menu

Hreflang to Non-Canonical (Ahrefs): Point Hreflang at Canonical URLs

Ahrefs flags hreflang annotations that point to URLs whose canonical is another page. That sends mixed signals. Here's how to align them.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 2 min read
Hreflang to Non-Canonical (Ahrefs): Point Hreflang at Canonical URLs
Photo: Michele Bitetto on Unsplash

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

  1. Check the flagged hreflang targets and their canonical tags.

  2. If the canonical is right, change the hreflang to that URL.

  3. 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.

Sources and references

TAGSAhrefs Site AuditHreflang to non-canonicalHreflang canonical conflictHreflang and canonical
Nazmul Nikhil

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.

Need help with this?

Get it fixed with International SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Site Audit Issues posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com