Digital Strategy Consulting

International SEO and Hreflang: A Practical Guide

Show the right page to the right audience. This guide covers URL structures, hreflang rules, localisation, common errors and a launch checklist.

Published 6 min read

Illustration of a globe connected to language bubbles for EN, DE, ES, JA and AR with a small person at the side

Short on time? For each language or region, publish a real, translated page at its own address and link every version to all the others with hreflang annotations, including a link back to itself. Use valid language and region codes, add an x-default fallback, keep the set identical on every version and check the setup in Search Console.

A business that sells in several countries needs search engines to show the right page to the right person: Spanish content to Spanish speakers, UK pricing to UK buyers, a Canadian French page to Quebec. International SEO covers the planning and technical work that makes this happen. Hreflang, a set of annotations that tell search engines how your language and regional versions relate, is a central part of it.

This guide explains how to structure an international site, how to implement hreflang correctly and which mistakes to avoid. It suits a small exporter with two languages and a global company with dozens of markets.

Key takeaways

  • Decide your structure first: country domains, subdomains or folders on one domain.
  • Hreflang links versions of the same page. Each version lists itself and all alternates, and links must be reciprocal.
  • Use valid ISO language codes, with optional region codes, and add x-default for a fallback.
  • Translate and localise content. Raw machine output and untranslated copies cause problems.
  • Test and monitor. Small errors silently cancel the annotations.

Choose a structure

Common options:

  • Country-code domains such as example.de or example.fr. Strong local signal and clear separation, but higher cost and more sites to maintain.
  • Subdomains such as de.example.com. Easy to host in different places, though it can behave like a separate site.
  • Subfolders such as example.com/de/. Simple to manage, shares the main domain’s authority and is a frequent choice for companies starting international expansion.

Whatever you pick, keep the pattern consistent and use clean, readable addresses. Avoid using cookies, scripts or IP-based redirects to show different content on the same address, because crawlers may only see one version.

Language targeting and region targeting

Decide whether a version targets a language, a country or both. A Spanish page for all Spanish speakers needs the code es. A Spanish page for Mexico needs es-MX. If prices, shipping, legal text or spelling differ by country, create country pages. If content is identical, a language page may suffice.

How hreflang works

Google’s guidance on localised versions of pages explains that multiple versions help Google send users to the most suitable one. A few key points from that documentation:

  • You can add annotations in the HTML head as link elements, as HTTP headers for files such as PDFs or in an XML sitemap. The three methods are equivalent for Google, so pick the one that is easiest to maintain.
  • Each version must list itself as well as all its alternates, and the set must be the same on every version.
  • Use fully qualified addresses, including the protocol.
  • Links must be reciprocal. If page A points to page B, page B must point back, or the annotations are ignored.
  • The language code uses ISO 639-1, with an optional region code from ISO 3166-1 Alpha 2, such as en-GB. A region code alone is not valid. Script variants such as zh-Hans and zh-Hant are possible.
  • Use x-default to mark a fallback page, such as a language selector or a home page that redirects by browser language.
  • Google does not rely on hreflang or the lang attribute to detect page language. It uses its own detection.

An example in HTML

For a page available in English for the United States, English for the United Kingdom, German and a fallback, every version includes the same set of links in its head. Each link names the language or region code and the full address of that version, and one link carries the x-default value. Because every page repeats the whole set, adding a new language means updating all existing pages, which is why a sitemap-based approach often scales better.

Localise, do not just translate

  • Use professional translators or review machine output by native speakers.
  • Adapt units, dates, currency, measurement and formats.
  • Adjust examples, images, tone and cultural references.
  • Reflect local law, such as consumer rights, tax and privacy notices.
  • Offer local payment and delivery options.
  • Research local search terms, because direct translations of keywords rarely match how people search.

Google notes that localised pages count as duplicates only when the main content remains untranslated, so genuine translation avoids that issue.

Technical practices

  • Give each language version its own address and make it crawlable.
  • Set canonical tags to the page’s own address, never to another language.
  • Keep the language selector as normal links crawlers can follow.
  • Avoid forced redirects based on location. Suggest a version with a banner and let users choose.
  • Use UTF-8 and correct text direction for right-to-left languages.
  • Make sure site speed is good in each target region, for example through a content delivery network.
  • Keep structured data consistent, with local business details for each market.

Common errors

  • Missing return links.
  • Wrong or invented codes such as UK for the United Kingdom, where the correct region code is GB.
  • Pointing hreflang to pages that redirect, return errors or are blocked.
  • Canonical tags pointing to a different language version.
  • Annotations on some versions but not others.
  • Mixing methods in conflicting ways.
  • Auto-translated pages with no review.

Testing and monitoring

  • Crawl the site with a tool that checks hreflang and flags missing return links and invalid codes.
  • Spot check pages in different countries using search from local settings.
  • Use Search Console to monitor indexing and international targeting, and review performance by country.
  • Re-check after every site release, since template changes often break annotations.

Beyond hreflang

  • Build local links and mentions in each market.
  • Use local business profiles where you have premises. Our guide to local SEO for multiple locations covers this.
  • Create content for each market’s questions and seasons.
  • Set up analytics by country and language, and report separately.
  • Consider search engines popular in specific countries, with their own guidelines.

A launch checklist

  1. Pick markets and languages from business goals and demand.
  2. Choose the URL structure.
  3. Plan translation and localisation workflow.
  4. Implement hreflang using one method, with x-default.
  5. Test and fix errors before launch.
  6. Submit sitemaps and monitor indexing.
  7. Review performance monthly.

International SEO with SoftSapien

SoftSapien’s delivery teams work across North America, Europe, the Middle East and Asia Pacific, which helps us plan content and technical SEO for multi-market sites. Learn about our search engine and AI services and our web application development capability.

Use the contact page to chat with our team, send a message or schedule a free consultation call about your markets.

Frequently asked questions

What is hreflang?

Hreflang annotations tell search engines how language and regional versions of a page relate, so each searcher can be shown the most suitable version.

What are the key hreflang rules?

Each version lists itself and every alternate, links must be reciprocal, addresses must be fully qualified, codes must be valid and an x-default fallback is recommended.

Which URL structure is best for international sites?

Country domains, subdomains and subfolders all work. Subfolders on one domain are common for companies starting out, and the key is to stay consistent.

Is machine translation enough?

Raw machine output often reads poorly and may fail to match local search terms. Use professional translation or native review and adapt content to local needs.

Can SoftSapien plan a multi-market site?

Yes, with teams across several regions. Contact SoftSapien through the contact page to chat with our team, send a message or schedule a free consultation call.

Related service Digital Strategy Consulting
SoftSapien

One partner for digital transformation, AI, cloud, and growth.

From legacy modernization and Gen-AI engineering to digital strategy and infrastructure, SoftSapien helps enterprises plan, build, and scale the initiatives that move the business forward.

Tell us what you're building and we'll get back to you within 2 business hours.

Contact Us

+1

How should we reach you?

Slide to verify you're human

Talk to an Expert