Emulent Let’s Talk
Skip links

Hreflang implementation for multi-language and multi-region websites

Author: Bill Ross, founder of Emulent Published Updated Article

International websites need to make the relationship between language and regional pages clear, especially when several versions serve similar audiences. Done right, it sends a French speaker in Canada to the fr-CA page rather than the France page. Language affects sales: a2020 CSA Research survey of 8,709 consumers in 29 countries found that 76% of online shoppers prefer to buy products with information in their native language, and 40% will never buy from websites in other languages.

When does your site need hreflang tags?

Hreflang annotations help search engines understand which localized page is intended for a particular language or regional audience.

  • Translations of the same pages, for example product pages in English, French and German.
  • Regional editions in a single language, for example US, UK and Australian pages that differ in pricing, spelling or shipping terms.
  • Combined language and region targets such as fr-FR, fr-CA and fr-BE.

A single-language site with one version for everyone gains nothing from hreflang. The tags also help Google choose a version; they do not lift rankings.

What are the most common hreflang errors and how do you prevent them?

The implementation should start with a complete inventory of the language and country versions that actually exist, including their canonical URLs. According to Google’s localized versions guide, a pair of pages that do not reference each other in both directions has its tags thrown out. The 2023 Ahrefs hreflang study checked 374,756 domains and found issues on 67% of them: 56.3% of domains had pages without x-default, 18% lacked self-referencing tags and 16.9% pointed hreflang at redirected or broken pages.

  • No return tag between two alternates.
  • No self-referencing entry on the page.
  • Invalid codes. Pair an ISO 639-1 language code (en, fr, de) with an optional ISO 3166-1 Alpha-2 region code (US, GB, CA). “en-UK” is wrong; use en-GB.
  • Annotations that point to non-canonical, redirected or broken URLs.
  • Contradictions between methods, where the sitemap says one thing and the HTML head says another.

A scheduled crawl in Screaming Frog or Sitebulb catches each of these before Google does.

Which implementation method works best for enterprise sites?

The best hreflang method for an enterprise site is the one your systems can keep accurate. Google supports three methods and treats them equally.

  • Link elements in the HTML head: the usual choice, though markup gets heavy with many alternates.
  • HTTP headers: needed for PDFs and other non-HTML files.
  • XML sitemaps with xhtml:link entries: all annotations in one place outside the templates, which suits sites with many variants.

Above about five variants, sitemaps scale better. Two methods can run together only if they match exactly. On WordPress builds, we handle hreflang through the mappings in a multilingual plugin.

How do you manage hreflang across thousands of pages?

Hreflang across thousands of pages has to be generated automatically from one mapping source. A site with 10,000 pages in 8 languages carries 80,000 URLs that all need cross-referencing.

  • Store a mapping table in the CMS that connects every page to its alternates and outputs the annotations.
  • Schedule a crawl that tests reciprocity, codes, canonical alignment and status codes. Search Console no longer has an International Targeting report, so the crawl and the URL Inspection tool are your checks.
  • Decide what happens to untranslated pages: drop that language, or point to the closest version only if it helps those readers.
  • Link the publishing and localization workflows so that new, deleted and moved pages update the mapping table.

Each market also needs its own content strategy, so localized pages answer local questions instead of reading as thin translations.

How do you use x-default to handle unmapped users?

X-default names the page Google shows to visitors who fit none of the languages or regions in your set.

  • Choose a language selector page, or the version most useful to a broad audience, as the x-default target.
  • Include x-default in every hreflang set. It is optional, yet missing x-default was the top gap Ahrefs found.
  • Do not use x-default as a substitute for real targeting. If Spanish speakers are an audience, give them an “es” entry.

How can our team at Emulent help?

Hreflang is a hint, not a command, and Google can choose another version when its other signals point elsewhere. Validate reciprocal annotations, canonicals, and regional targeting, then monitor results in each market. enterprise SEO work. Google treats hreflang as a signal it can override, so check which version ranks in each market after a change. Contact our team at Emulent for a review.

Want a second set of eyes on your marketing? We’ll show you the math before asking for a contract. No long-term lock-ins.
Let’s Talk