Hreflang and international · Hreflang annotations

Conflicting incoming hreflang

The US page labels this page en-GB, but the region picker labels it en-AU, so pages in the set disagree about this page's language and region.

How this page is built

This page labels itself en-GB, and so does the US English version. The region picker, which is the x-default, labels this page en-AU instead. This page's own annotations are:

  • en-GB: this page
  • en-US: the US English version
  • x-default: the region picker

Because two pages give this URL different codes, search engines cannot tell which audience it is meant for.

Why it matters

Every page in a hreflang set should give each URL the same code. When one page says a URL is for the UK and another says it is for Australia, search engines have no way to choose between them. They may ignore the annotations for that URL, or show it in the wrong country.

This tends to happen when each version is edited by a different team, or when one template has an old list of codes.

How to check it

Crawl the set and list every hreflang annotation that points at this URL, with the page it came from. All of them should use the same code. Crawl tools report a URL that receives different codes from different pages as conflicting incoming hreflang.

How to fix it

Decide which code is right for the page and use it everywhere. Generate the list of annotations from one source of truth, so that every page in a set outputs the same codes for the same URLs.

Back to all tests