Google International SEO & Hreflang Annotation Rules
The rel="alternate" hreflang="x" attribute specifies the language and optional geographical region of alternate versions of a webpage under IETF RFC 5646. Search engines like Google and Bing use hreflang signals to serve localized searchers with the correct regional language variant.
Core Rules for Valid Hreflang Implementation
- Bidirectional Return Links (Reciprocity): Hreflang annotations must be reciprocal. If Page A links to Page B as its Spanish alternate, Page B must link back to Page A as its English alternate, or Google will ignore both annotations.
- Self-Referencing Tag: Every page must include an hreflang tag pointing back to itself.
- The
x-defaultDirective: Thehreflang="x-default"fallback URL directs unmatched international searchers to a global language selector or default homepage.
Language & Region Formatting Standards
Languages must use two-letter ISO 639-1 codes (e.g. en, es, de), while optional geographical regions must use two-letter ISO 3166-1 Alpha-2 codes (e.g. US, GB, MX).
International SEO Suite
Pair hreflang generation with our technical SEO suite:
- Sitemap Validation: Test multi-language sitemaps with our XML Sitemap Checker.
- Canonical Auditing: Prevent canonical conflicts with our Canonical URL Checker.
- Meta Tags Inspection: Inspect live tags with our Meta Tags Checker.
Frequently Asked Questions
Should hreflang point to the canonical URL?
Yes. Every alternate URL specified in hreflang tags must be self-canonicalized and return a 200 OK HTTP status code. Never target redirecting (301) or noindexed pages.
Is hreflang needed if my website only has one language?
No. Single-language websites targeting a single country do not need hreflang markup.