Hreflang and international · Hreflang targets

Hreflang to a broken URL

This page's hreflang set names a Canadian English page that was never built, so that alternate URL returns a 4XX client error instead of 200.

How this page is built

The head of this page has four annotations. The last one points at a Canadian page that was never built:

  • en-GB: this page
  • en-US: the US English version
  • x-default: the region picker
  • en-CA: a missing Canadian page, which returns a client error

The US English version and the region picker repeat the same list. The missing page is not linked with an ordinary link, so it adds no broken link error.

Why it matters

Every URL in a hreflang set must return 200. A broken URL cannot be shown to anyone, so search engines drop it, and the crawl budget spent on it is wasted. It also means readers in that region have no page.

This happens when a region is removed or a URL changes and the hreflang list is not updated.

How to check it

Crawl the site with hreflang URLs followed and check the status code of each one. Crawl tools report hreflang URLs that return 4xx or 5xx.

How to fix it

Remove the annotation from every page in the set, or build the missing page. If the page moved, update the annotation to its new address.

Back to all tests