Hreflang errors: how to fix language and region targeting
On this page
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.
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
List the alternates
Make a table of every language and region version and its URL.
Run the checker
Enter a page URL in the Hreflang Checker to read the tags it finds.
Add self-reference and return links
Each version must include its own hreflang plus all others, and each target must point back.
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.
Check the targets
Every alternate URL should return 200 and be indexable.
How to confirm it worked
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
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 toolsWas 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.