Customers & growth · SEO & search marketing

International SEO (hreflang)

Best for Growth to Scale

LANGUAGEREGIONURL SETUPHREFLANG

Use it when

You serve the same pages in several languages or countries and need search engines to show each searcher the version for their language and region.

Skip it when

  • Duplicate URLs on the site do not yet resolve to one canonical each. Use Canonical URL management first, because hreflang must point only at canonical URLs.
  • The pages are not yet translated and adapted for each market. Use Content localization framework for the content first.
  • You need a full technical health check, with hreflang as one area among many. Use Technical SEO audit framework.
  • The localized templates build their content and tags with JavaScript. Use JavaScript SEO framework next, to confirm Google sees each version.

What to apply first and what to use instead are listed below.

Approaches

Link elements in the page head

Each page carries one link element for every version, itself included, in its head section.

  • Pro The tags are easy to inspect page by page and can be set once in each template.
  • Con The set grows with every new version, adds page weight and stops working if a broken head pushes the tags into the body.

Annotations in the XML sitemap

The sitemap lists each URL with an alternate entry for every version of that page.

  • Pro One file holds every set, which is easier to maintain and adds no page weight.
  • Con Errors are harder to spot on the page itself, and each sitemap may only list URLs in its own directory or below.

Inputs

  • Market list
    Each language and region pair you serve, with its ISO 639-1 language code and optional ISO 3166-1 Alpha 2 region code, from the business plan.
  • URL map
    Every page with its equivalent URL in each version, under one URL structure such as country domains, subdomains or subdirectories, from the CMS.
  • Canonical map
    The preferred URL for each page and version, from Canonical URL management.
  • Site crawl
    Status code, canonical, robots directives and hreflang tags per URL, from a crawl run this week.
  • Organic clicks by countryOptional
    Clicks per page and country for the last three months, from Search Console, to check that each version reaches its market.

Steps

  1. Choose one URL structure for all versions, using country domains, subdomains or subdirectories, and avoid URL parameters, which Google does not recommend.
  2. Build the hreflang set for each page, listing every version with its language code, optional region code and full URL, plus an x-default for a country selector or fallback page.
  3. Point every hreflang URL at the canonical URL of that version, one that returns 200 and is indexable, and keep each version's canonical on itself.
  4. Publish each set by one method, link elements in the head or the XML sitemap, with HTTP headers for PDFs and other files, and make every version list itself and all the others.
  5. Remove automatic redirects by IP address or browser language, and add visible links to the other versions so people and crawlers can reach each one.
  6. Crawl the site and list every set with missing return links, invalid codes, or alternates that redirect, return errors or carry noindex, then fix them and recrawl.

Output

An hreflang map with one row per page set, published by one method and checked by a crawl.

  • Page set and its canonical URLs
  • Language and region code per version
  • X-default target
  • Method (link elements, sitemap or HTTP headers)
  • Return link status per version
  • Crawl errors found and fixed
  • Clicks by country against the intended market
  • Owner and recheck date

Done when

  • Every version in every set lists itself and every other version, with full URLs.
  • Every code is a valid ISO 639-1 language code, with an optional ISO 3166-1 Alpha 2 region code.
  • Every hreflang URL is the canonical URL of its version and returns 200.
  • No page redirects visitors automatically by IP address or browser language.
  • The final crawl shows no missing return links.

Measure

Each month, track organic clicks and impressions by country for each version in Search Console, against the three months before launch. It worked when searchers in each market land mostly on their own version and clicks grow in markets that had few. Recrawl after every release that adds pages or markets, because each new page needs return links from every other version.

Hypothetical example

Larkfield sells scheduling software in the United States, the United Kingdom and Germany from one domain with /en-us/, /en-gb/ and /de/ folders. A crawl shows UK pages with canonicals pointing at US pages, so Google shows US pages to UK searchers. The team gives each version a self-referencing canonical and localizes UK prices and spelling. They publish hreflang in the sitemap with en-us, en-gb, de and an x-default pointing at a country selector. The recrawl finds 40 German pages with no return links, which they fix. Three months later, most UK clicks land on /en-gb/ pages.

Common mistakes

  • Leaving out return links. Make every version list every other version, or Google ignores the tags.
  • Using a country code alone or a reserved code such as UK. Put the language code first, and use GB for the United Kingdom.
  • Pointing a version's canonical at another language or region. Keep each canonical on its own version.
  • Redirecting visitors by IP address or browser language. Link to the other versions and let people choose.
  • Leaving same-language versions identical, such as US and UK English. Localize prices, spelling and contact details so they do not read as duplicates.

Sources

By company stage

  1. Pre-IdeaNot applicableThere is no site, so language and region targeting has no meaning.
  2. IdeaNot applicableA single market site is enough, and hreflang adds no value to first customers.
  3. Early StartupNot applicableEffort should stay on one repeatable channel, so multi country SEO would be premature.
  4. StartupUsefulEarly international demand may justify a few localized pages, though it is not required.
  5. GrowthCriticalRegional expansion needs correct hreflang and country targeting to capture local search.
  6. ScaleCriticalAdjacent and new market entry depends on sound multi country search setups.
  7. EnterpriseUsefulLarge sites already run this setup, so it is maintenance and refinement.

Apply first

  • Canonical URL managementCustomers & growth · SEO & search marketing

    Hreflang must align with canonicals; conflicting signals are the most common international SEO error.

Use instead

  • Canonical URL management

    Duplicate URLs on the site do not yet resolve to one canonical each. Use Canonical URL management first, because hreflang must point only at canonical URLs.

  • Content localization framework

    The pages are not yet translated and adapted for each market. Use Content localization framework for the content first.

  • Technical SEO audit framework

    You need a full technical health check, with hreflang as one area among many. Use Technical SEO audit framework.

  • JavaScript SEO framework

    The localized templates build their content and tags with JavaScript. Use JavaScript SEO framework next, to confirm Google sees each version.

Recommended resources

No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.

Progress is not saved until you have an account. Create a free account