Blog
Smart SEO Blog

International SEO: Hreflang, Structure, and Strategy

This article was written, optimized, and published automatically by Smart SEO — the content and search platform. Get started →
International SEO: Hreflang, Structure, and Strategy
In this article

International SEO comes down to three decisions: where each market's pages live in your URL structure, how you tell search engines which version serves which audience, and whether the content fits local searchers. Get those right and Google usually shows the correct page to the correct user. Get one wrong and your Canadian page ranks in Australia while your Australian page disappears. I've cleaned up plenty of multi-country sites. Failures rarely come from exotic edge cases. They come from skipped basics, and good international SEO is mostly about not skipping them.

What Is International SEO, and When Do You Actually Need It?

International SEO is the practice of optimizing a website so search engines can identify which countries and languages each page targets, then serve the right version to the right searcher. You need it once you sell, ship or publish for more than one market, or when organic traffic already arrives from countries you haven't deliberately targeted.

Two kinds of targeting exist, and teams often blur them. Language targeting serves French speakers wherever they live. Country targeting serves people in a specific place, such as Belgium, where you might need both French and Dutch versions. A Spanish page for Spain and one for Mexico share a language. They don't share prices, shipping rules or vocabulary.

Before building anything, open the Performance report in Google Search Console and filter by country. Look at impressions, not just clicks. Thousands of German impressions on English pages with a poor click-through rate is demand you're failing to capture. It's also the best evidence you'll have when pitching an international SEO project internally.

A blunt opinion: don't expand into a market just because keyword volume looks attractive. If you can't ship there, take local payments or answer support emails in the local language, a translated site won't save you. Pick two or three markets you can genuinely serve.

Weak fundamentals multiply across every locale, so get solid on the core SEO ranking factors first. Ten copies of a slow, thin site are still a slow, thin site. International SEO amplifies whatever is already there, good or bad.

Choosing a URL Structure: ccTLDs, Subdirectories or Subdomains

You have three realistic options for an international SEO setup, plus one to avoid.

  • Country-code top-level domains (ccTLDs), such as example.de. The strongest geographic signal and good local trust, but authority splits across domains and every one needs its own links.
  • Subdirectories, such as example.com/de/ or example.com/fr-ca/. Every locale inherits the main domain's authority. One codebase, one link profile.
  • Subdomains, such as de.example.com. Easy to host separately, but they often behave like semi-separate sites and grow slowly.
  • URL parameters, such as ?lang=de. Google's documentation advises against them. Skip it.

My recommendation for most companies is subdirectories. They're cheaper, faster to launch, and a new market benefits from links you've already earned. I'd choose ccTLDs only when local trust drives purchases, regulation requires a local entity, or you can fund separate teams per country.

One gotcha catches startups constantly. Google treats several ccTLDs as generic, including .io, .co, .ai and .me, because so many sites use them globally. Registering example.co will not tell Google you target Colombia. Hreflang and on-page signals must do that work instead.

Decide on folder names early, too. Folders like /uk/ and /gb/ both look fine until a developer maps them to hreflang values months later and gets it wrong. Mirror the actual codes, such as /en-gb/, and the mapping becomes hard to break.

Whatever you pick, commit. Switching later means a full migration across every market at once. That's the most expensive international SEO mistake I see, and nobody enjoys explaining it to finance.

How Does Hreflang Actually Work?

Hreflang is an attribute that tells search engines which language, and optionally which country, each version of a page serves, while listing every alternate version in the same set. Google uses it to swap in the most appropriate URL for a searcher's location and language. It doesn't boost rankings; it decides which equivalent page appears.

The values follow two standards. Language uses ISO 639-1 codes, such as en, de or es. The optional region uses ISO 3166-1 Alpha-2 codes, such as gb, us or mx. So en-gb means English for the United Kingdom, while plain es means Spanish for anyone. You can specify a language alone, never a country alone. "gb" by itself is invalid.

Three rules form the backbone of technical international SEO:

  • Self-reference. Every page lists itself as well as its alternates.
  • Return tags. If page A points to page B, page B must point back. Without confirmation, Google may ignore the pair.
  • x-default. The fallback page for users matching none of your locales, often a language selector or global English version.

Keep expectations realistic. Google treats hreflang as a signal, not a directive, so stronger signals like canonicals can override it. Search engines differ, too. Bing has said it relies mainly on the content-language meta tag and other signals, and Baidu doesn't support hreflang at all. If Bing or Chinese search matters, your international SEO plan needs separate coverage for those engines.

Implementing Hreflang: HTML, HTTP Headers or XML Sitemaps

Google accepts three methods. All are valid, but they suit very different situations.

HTML link elements sit in the head of each page, one line per alternate, for example <link rel='alternate' hreflang='de-de' href='https://example.com/de/'>. They're the easiest to inspect and debug, which is why small sites favor them. The drawback is weight. A page in 25 locales carries 26 tags, and every template change risks breaking them.

HTTP headers exist mainly for non-HTML files. Publishing localized PDFs, such as spec sheets? This is the only way to annotate them.

XML sitemaps list each URL with its alternates using xhtml:link entries. This is my preferred method for international SEO at scale, roughly once you pass five or six locales. Annotations live in one generated file, developers can build it straight from the CMS database, and you can validate everything in a single crawl.

A few habits save real pain:

  • Always use absolute URLs, including the protocol.
  • Choose one method per page set. HTML tags and sitemap entries that disagree send conflicting instructions.
  • Generate hreflang from a single locale mapping table, never by hand.
  • Point only to indexable, 200-status URLs with self-referencing canonicals.

Here's something nobody warns you about. CMS translation plugins often generate hreflang only for pages already translated. Publish an English article today, translate it next month, and for weeks the set is incomplete, with localized pages possibly pointing at it without a return tag. Add hreflang regeneration to your release checklist whenever a translation goes live.

Common Hreflang Mistakes That Quietly Kill Rankings

Hreflang errors are everywhere. Ahrefs analyzed hundreds of thousands of domains using the attribute and found roughly two-thirds had at least one issue. Most fall into predictable categories.

  • Wrong codes. The classic is en-uk. The correct code is gb, so the value must be en-gb. Others include es-la for Latin America, which isn't valid, and underscores like en_us.
  • Missing return links. The French page points to the German page, which never points back.
  • Cross-language canonicals. A German page canonicalized to the English version is declared a duplicate, making hreflang meaningless. This is the most damaging international SEO failure I encounter.
  • Broken targets. Annotations pointing at redirected, noindexed or 404 URLs, usually after migrations.
  • Undifferentiated pages. Five English versions that differ only in a currency symbol. Google may still consolidate them.

How do you catch these early? Crawl regularly. Screaming Frog's hreflang tab flags missing return links, non-200 targets and invalid codes. Sitebulb and Semrush's Site Audit report similar issues, and an AI-powered SEO audit tool speeds things up on large sites.

Short version: audit hreflang monthly on active international SEO projects. Not once at launch. Templates change and pages get retired, and either can break the set silently for months.

Localization Versus Translation: Building Pages Locals Trust

Translation converts words. Localization converts the experience. It's where international SEO stops being purely technical, and searchers notice the difference within seconds.

A properly localized page adapts far more than copy:

  • Currency and pricing, including tax display. European shoppers expect VAT-inclusive prices; Americans usually expect tax at checkout.
  • Payment methods. iDEAL is the default in the Netherlands.
  • Units and formats, such as metric measurements, date order and decimal commas.
  • Vocabulary. British shoppers buy trainers; Americans buy sneakers.
  • Trust signals, like local phone numbers, reviews from that country and returns information.

Should you use machine translation? Yes, as a first draft. DeepL and modern AI models produce solid starting copy. Publishing it unreviewed at scale is different. Google's spam policies target bulk content with little added value, and stiff machine output depresses engagement anyway. My workflow: machine draft, native editor review, then a final check of titles, meta descriptions and calls to action by someone living in the market.

Translate the URL slugs as well. A German page at /de/running-shoes/ looks unfinished; /de/laufschuhe/ matches real searches. It's a small international SEO win. Just key your hreflang mapping to page IDs, not slugs, so translated URLs don't break connections.

Keyword Research for Each Market, Not Just Each Language

Never translate your keyword list for international SEO. It's the fastest way to target phrases nobody types. Search behavior varies by country even within one language.

Consider insurance. Americans search for auto insurance, Britons for car insurance. Germans often use the compound Kfz-Versicherung, which no direct translation would produce. Multiply that gap across hundreds of keywords and the cost becomes obvious.

A process that works:

  • Start from the intent behind each page, not the English keyword.
  • Have a native speaker brainstorm how they'd search for that need.
  • Validate volumes in the correct country database. Semrush and Ahrefs let you switch databases, and Google Keyword Planner sets location and language separately.
  • Check live results for that market through a VPN or the gl parameter in a Google search URL.

That SERP check matters more than people expect. Your English competitors may not exist in Poland. You might face local marketplaces or a dominant regional brand instead.

Once you have local terms, group them by intent so each localized page targets a coherent topic. The methods in winning SEO keyword research strategies apply per market, and keyword clustering helps decide when two local phrases belong on one page. Treat international SEO keyword research as fresh work in every country.

Redirects, Local Signals and Measuring Results by Market

Resist automatic IP-based redirects. They're one of the oldest international SEO traps. Google has stated that Googlebot crawls mostly from US-based IP addresses, so forcing US visitors to the American version may hide your French or Japanese pages entirely. Show a dismissible banner suggesting the local version instead, and remember the user's choice with a cookie.

Other signals help confirm where a page belongs:

  • Backlinks from sites in the target country, such as local press and industry associations.
  • A Google Business Profile for each real office or store.
  • Local addresses, phone numbers and currencies in content and structured data.
  • Fast regional delivery through a CDN like Cloudflare or Fastly. Server location itself matters little now.

Measuring international SEO needs structure too. Google retired Search Console's International Targeting report in 2022. My workaround on every project: verify each subdirectory, such as example.com/de/, as its own URL-prefix property. You get clean performance, indexing and sitemap data per market.

Track each locale against its own baseline. Comparing German growth with US numbers tells you nothing. Watch impressions, clicks, local priority rankings and, above all, revenue or leads by market. A good SEO reporting dashboard should segment all of this by country without weekly spreadsheet exports.

Watch for wrong-URL swaps, too. Your UK page appearing for Australian searchers means hreflang isn't being honored. Start auditing.

Putting Your International Strategy Together

Strong international SEO isn't complicated, but it is unforgiving. Choose subdirectories unless you have a real reason not to. Implement hreflang from a single source of truth, ideally in XML sitemaps once you pass a handful of locales. Localize the experience, research keywords natively, and audit monthly because hreflang breaks quietly. Launch your international SEO program in two or three markets you can genuinely serve. Prove results. Then scale.

Frequently Asked Questions

Does hreflang improve rankings in other countries?

Not directly. Hreflang adds no ranking strength; it helps Google pick which equivalent page to show based on language and location. The indirect benefits are real, though. Users land on the right version, click-through and conversion rates improve, and your own locale pages stop competing with or replacing each other in search results.

Is a subdirectory or a ccTLD better for launching a new market?

For most businesses, a subdirectory such as example.com/fr/ is better for international SEO. It inherits existing domain authority, launches faster and costs far less to maintain. A ccTLD makes sense when local trust strongly influences buying decisions, regulations require a local presence, or you have dedicated budget and teams for each country.

Do I need hreflang if each version is in a completely different language?

It's still recommended. Google usually detects language on its own, so hreflang matters most for same-language variants like en-us and en-gb. Annotating different languages still helps Google understand which pages are equivalents, reduces wrong-version swaps, and lets you set an x-default fallback for unmatched users.

How long do hreflang changes take to show up in search results?

Expect a few days to several weeks. Google must recrawl every page in the set and confirm return links before swapping URLs reliably, and large multi-locale sites take longer. Submitting updated XML sitemaps in Search Console and strengthening internal links to localized pages usually speeds up recrawling and your international SEO results.