International SEO presents a unique set of challenges that domestic SEO practitioners rarely encounter. When a website serves content in multiple languages or targets multiple geographic markets, search engines must determine which version of a page to show to each user. Hreflang annotations are the mechanism through which publishers communicate these relationships to Google, telling the search engine that a page exists in multiple language or regional variants and specifying which variant is appropriate for which audience.
Understanding Hreflang Syntax
Hreflang annotations use ISO 639-1 language codes, optionally combined with ISO 3166-1 Alpha-2 country codes, to specify the target audience for each page variant. The annotation "en-GB" targets English speakers in the United Kingdom, while "en-US" targets English speakers in the United States. The annotation "en" without a country code targets all English speakers regardless of location.
Every page in a hreflang set must reference every other page in the set, including itself. This bidirectional requirement is the most common source of implementation errors. If page A references page B as its French equivalent, page B must also reference page A as its English equivalent. Missing or inconsistent references cause Google to ignore the annotations entirely.
Implementation Methods
Hreflang can be implemented through HTML link elements in the page head, HTTP headers, or XML sitemaps. For most websites, the sitemap approach is preferable because it centralises the annotations in a single location, making them easier to maintain and audit. It also avoids adding potentially hundreds of link elements to each page's HTML, which can increase page size significantly on sites with many language variants.
The sitemap implementation uses xhtml:link elements within each URL entry to specify all language and regional variants. This approach scales well and integrates naturally with existing sitemap infrastructure. Ensuring that the sitemap itself is correctly structured and submitted through Search Console is a prerequisite. Our guide to technical SEO audit methodology covers sitemap validation as part of the broader technical audit process.
Common Implementation Errors
The most frequent hreflang errors include missing return links where page A references page B but page B does not reference page A, incorrect language or country codes, referencing pages that return non-200 HTTP status codes, and inconsistencies between the canonical URL and the hreflang URL. Each of these errors can cause Google to partially or completely ignore the hreflang annotations.
Another subtle but impactful error is failing to include an x-default annotation. The x-default value specifies which page should be shown to users who do not match any of the specified language or regional targets. Without x-default, Google must guess which version to show to unmatched users, which often results in suboptimal selections.
Content Localisation Beyond Translation
Effective international SEO requires more than translating content and adding hreflang annotations. Each regional version should be genuinely localised: using local terminology, referencing local regulations and market conditions, featuring local examples and case studies, and targeting keywords that reflect how people in that market actually search. Direct translation often misses these nuances because search behaviour varies significantly across cultures and languages.
Keyword research must be conducted independently for each target market rather than translating keywords from the primary language. A term that is highly searched in English may have a completely different equivalent in German or Japanese, and the search intent behind similar queries can vary across cultures. Building entity-level SEO in each target market strengthens the site's authority signals for local search.
Frequently Asked Questions
- What is hreflang in SEO?
- Hreflang is an HTML annotation that tells search engines which language and regional version of a page to show to users in different markets. It uses ISO language and country codes to specify relationships between page variants, ensuring that French users see the French version and German users see the German version.
- What is the most common hreflang error?
- The most common error is missing return links. Every page in a hreflang set must reference every other page in the set, including itself. If page A references page B as its French equivalent but page B does not reference page A back, Google may ignore the annotations entirely.
- Should I use subdomains or subdirectories for international SEO?
- Subdirectories (example.com/fr/) are generally recommended over subdomains (fr.example.com) because they consolidate domain authority and are simpler to manage. Subdomains can work but split link equity across separate hosts. Country-code top-level domains (example.fr) provide the strongest geographic signal but require managing multiple domains.