Skip to content
Nazmul Nikhil
Menu

Self-Reference Hreflang Annotation Missing (Ahrefs): List the Page Itself

Ahrefs flags pages whose hreflang set lists other languages but not the page itself. Google says each version should list itself. Here's the fix.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
Self-Reference Hreflang Annotation Missing (Ahrefs): List the Page Itself
Photo: Nikhilesh Boppana on Unsplash

In short

Ahrefs flags "Self-reference hreflang annotation missing" when a page's hreflang annotations list its other language versions but not the page itself. Google's documentation says each language version must list itself as well as all other versions. Add an hreflang line for the page's own language pointing to its own URL.

It feels redundant for a page to list itself, but Google asks for it.

Example

On the English page:

<link rel="alternate" hreflang="en" href="https://example.com/page/"> <!-- self -->
<link rel="alternate" hreflang="de" href="https://example.com/de/seite/">

On the German page, the same two lines appear, so it references itself too.

Why it's usually missing

  • Hreflang was written by hand as "links to the other versions"

  • A template skips the current language when looping through languages

  • Different plugins handle different languages

The easy rule: every page in a set outputs the identical full list. If your templates do that, self-references and return tags take care of themselves.

WordPress, Shopify, Webflow and Wix: built-in or plugin hreflang includes self-references. If yours doesn't, look for hand-added hreflang code and remove it.

Custom builds: don't filter out the current locale when generating the list.

This guide isn't affiliated with or endorsed by Ahrefs.

Sources and references

TAGSAhrefs Site AuditSelf-referencing hreflangHreflang self referenceHreflang missing self
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