Fix guide

Hreflang errors: how to fix language and region targeting

About 3 min read Time to do it: 30 min Updated
Quick answerEach language version must list all alternates, including itself, and every alternate must link back. Use valid language and region codes and reachable URLs.
On this page
  1. Is this your problem?
  2. Why this matters for SEO
  3. Common causes
  4. Step-by-step fix
  5. How to confirm it worked
  6. Mistakes to avoid
  7. Tools to use
  8. FAQ
  9. Related guides

Why this matters for SEO

Each language version must list all alternates, including itself, and every alternate must link back. Use valid language and region codes and reachable URLs.

Search visibility depends on several systems agreeing: the page must be reachable, discoverable, technically eligible to be indexed, useful for the query, and supported by a clear internal site structure. Fixing one symptom while another system is blocking the page can produce little or no improvement.

Use this guide as a focused workflow rather than a checklist to complete blindly. Confirm the actual page and response first, make the smallest defensible change, then re-test the same evidence after deployment.

Is this your problem?

  • Search Console or a checker reports missing return tags or invalid codes.
  • The wrong language version appears for users.

Common causes

  • Alternates do not link back to each other.
  • Invalid codes (for example en-UK instead of en-GB) or URLs that redirect or error.
Diagnosis order

Check access and HTTP status first, then robots and indexability directives, canonicalization, content/template quality, internal links and performance. This order prevents a low-priority content edit from hiding a technical blocker.

Step-by-step fix

  1. List the alternates

    Make a table of every language and region version and its URL.

  2. Run the checker

    Enter a page URL in the Hreflang Checker to read the tags it finds.

  3. Add self-reference and return links

    Each version must include its own hreflang plus all others, and each target must point back.

  4. Use valid codes

    Language in ISO 639-1 (en), optional region in ISO 3166-1 alpha-2 (GB). Add x-default for a fallback page if useful.

  5. Check the targets

    Every alternate URL should return 200 and be indexable.

How to confirm it worked

Every version lists the complete set with matching return links and no errors in the checker.

Verification should use the same URL and comparable conditions as the original test. Check the HTTP response, rendered/source markup and the relevant Google Search Console report where applicable. A successful technical change does not guarantee immediate indexing; crawling and indexing can take time and Google may still choose not to index a page it considers redundant or low quality.

Mistakes to avoid

  • Using hreflang as a replacement for canonical tags.
  • Pointing alternates to redirected URLs.

Tools to use

Canonical URL Checker

FAQ

Does hreflang guarantee the right locale ranks?

No. It is a signal that helps search engines choose a version, not a guarantee.

Where can I put hreflang?

In the HTML head, in HTTP headers or in the sitemap. Use one method consistently.

Check your own site now. The free SeOMeter tools run these checks on your own URLs, no sign-up needed.

Open the SEO tools

Was something unclear or out of date? Tell us and we will improve this guide. SEO checks are diagnostic guidance, not a promise of rankings, traffic or indexing.