Troubleshooting
Beginner
1 min read
240 words
Hreflang Implementation for Multilingual SEO
Hreflang tags tell search engines which language and regional version of a page to show users. Incorrect implementation can cause the wrong language to appear in search results.
Key Takeaways
- When a page exists in multiple languages, hreflang annotations help Google serve the correct version to users based on their language and location.
- <link rel="alternate" hreflang="en" href="https://example.com/page/">
- Missing self-referencing hreflang tags
- Use Ahrefs' hreflang audit or Merkle's hreflang tag testing tool.
What Hreflang Does
When a page exists in multiple languages, hreflang annotations help Google serve the correct version to users based on their language and location. Without hreflang, Google may choose the wrong version or flag pages as duplicates.
Implementation Methods
HTML Link Tags (Recommended)
HTTP Headers
For non-HTML files (PDFs):
Link:
XML Sitemap
https://example.com/page/
Critical Rules
| Rule | Consequence of Violation |
|---|---|
| Every page must reference ALL language versions including itself | Incomplete annotations are ignored entirely |
| Annotations must be reciprocal (A→B AND B→A) | One-way annotations are ignored |
| Use ISO 639-1 language codes | Invalid codes break all hreflang |
| Include x-default for fallback | Users in unsupported regions see wrong page |
| Canonical and hreflang must agree | Conflicting signals confuse Google |
Common Mistakes
- Missing self-referencing hreflang tags
- Using
zhinstead ofzh-Hansorzh-Hant - Non-reciprocal annotations (English page links to Korean but Korean does not link back)
- hreflang pointing to redirected or noindexed URLs
- Mixing HTML and sitemap methods (choose one)
Validation
Use Ahrefs' hreflang audit or Merkle's hreflang tag testing tool. Check Search Console's International Targeting report for errors.