International SEO & hreflang

International SEO: the right page for every country and language.

International SEO makes sure searchers in each country or language land on the version of your site meant for them. Most of my career has been in Indian search, so I'll be clear about where my direct experience lies: hreflang work at Disney+ Hotstar for the Indian diaspora in the USA, Canada and Europe, and earlier agency work for international clients at SEOValley.

See the Hotstar work →

When a site has more than one version of a page (one for India, one for the US, one in Hindi), Google has to pick which to show each searcher. Left alone, it often picks wrong: the US visitor gets the Indian page with rupee prices, or the versions compete with each other and none ranks well.

Language targeting and country targeting are different

This is the first thing to settle. Language targeting means "this page is in Hindi". Country targeting means "this page is for people in Canada". A page can be one, the other or both.

The difference matters more than people expect. An Indian family in Toronto searches in English, often for Indian shows, cricket or films. Their language is English, but what they can watch, and the plans and prices on offer, often depend on where they are. A page in English for India and a page in English for Canada are separate versions, and Google needs to be told which is which.

That was the core of the international work at Disney+ Hotstar: making sure the diaspora audience in the USA, Canada and Europe landed on the version meant for their market, not the Indian one. The Hotstar case study covers the wider work, including why streaming sites have this problem more than most.

ccTLD, subfolder or subdomain

The URL structure decides how strongly each version signals its country, and how much authority the versions share. Google treats all three as valid.

StructureExampleStrengthsTrade-offs
Country domain (ccTLD)example.ca, example.co.ukClearest country signal to Google and to usersEach domain builds authority on its own; more cost and upkeep
Subfolderexample.com/ca/Shares the main domain's authority; one site to runWeaker country signal, so hreflang does more of the work
Subdomainca.example.comCan be hosted and managed separatelyGoogle says it handles subdomains fine, though a new subdomain often takes longer to build authority than a subfolder
URL parameterexample.com/?country=caEasy to buildNot recommended by Google for targeting; easy to get wrong

For most sites that are starting out internationally, subfolders are the practical choice: one domain, one codebase, shared authority. Country domains make sense when a brand is effectively a separate business in each country. Search Console used to have a country-targeting setting; Google retired it in 2022, so the structure and hreflang now carry that job.

How hreflang works

An hreflang annotation tells Google "this page has versions in other languages or for other countries, and here they are". Every version lists every other version, including itself. A set for an English page in India, the US and Canada, plus a fallback, looks like this:

<link rel="alternate" hreflang="en-IN" href="https://example.com/in/" />
<link rel="alternate" hreflang="en-US" href="https://example.com/us/" />
<link rel="alternate" hreflang="en-CA" href="https://example.com/ca/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/" />

The same block goes on all four pages. Typing these by hand for a dozen versions is where mistakes creep in, so I built a free hreflang tag generator that writes the full set for the head, a sitemap or HTTP headers, and flags wrong language or country codes. A few rules make it work:

  • Codes: the language comes first, as an ISO 639-1 code (en, hi, fr), with an optional country after it as an ISO 3166-1 code (IN, US, GB). A country on its own isn't valid.
  • Return links: annotations must be reciprocal. If the US page points to the Indian page, the Indian page must point back, or Google may ignore the pair.
  • Self-reference: each page includes itself in the list.
  • x-default: the page to show when no version matches the searcher, often a country picker or the global homepage. It's optional but usually worth adding.
  • Placement: in the page's HTML head, in HTTP headers (useful for PDFs), or in the XML sitemap. Pick one method per set; sitemaps are easiest to manage on large sites.

Common hreflang mistakes

  1. Missing return links. The most common error. Usually one country's template was updated and the others weren't.
  2. Wrong codes. "en-UK" instead of "en-GB", or the order reversed, like "IN-en". Language always comes first.
  3. Canonical tags that fight hreflang. Each version should canonicalize to itself. If the Canadian page's canonical points to the US page, Google treats it as a duplicate and the hreflang is wasted.
  4. Pointing to redirected, noindexed or broken URLs. Only list live, indexable pages.
  5. Versions that are near-identical with no real difference. The tags help Google choose between versions; they can't make a copy-pasted page valuable.

Crawlers like Screaming Frog report most of these. I check hreflang as part of every technical audit on a multi-country site, and again during any site migration, where it breaks easily.

Each version needs content made for its market

Tags only tell Google how versions relate. The pages themselves still have to be right for the people reading them. Google works out a page's language from the visible text, not from code, so a page with a Hindi hreflang tag and English body copy will be treated as English.

For country versions in the same language, the differences that matter are practical: currency and prices, what's actually available in that market, local spelling (colour or color), payment options, legal and support details, and examples that make sense locally. Machine translation without a human check tends to read badly and convert worse. If a country version can't be made genuinely different, it's often better to have one good global page than five thin copies.

Don't auto-redirect by location

It's tempting to detect a visitor's country by IP address and redirect them to "their" version. Google advises against forcing this. Googlebot crawls mostly from US addresses, so automatic redirects can stop it from ever seeing your other versions. A banner that suggests the local version and lets people choose is safer for search and kinder to travellers and diaspora users, who often want a version that doesn't match their IP.

FAQ

Questions people ask about international SEO

Is hreflang a ranking factor?

Not directly. The tags don't make a page rank higher; it helps Google swap in the right version of a page for each searcher's language or country. The benefit is that the right page shows up, with the right prices and content, which usually improves clicks and conversions in each market.

Should I redirect visitors to their country version automatically?

No, not by force. Google advises against redirecting people based on their IP address, because Googlebot mostly crawls from the US and may never see your other versions. Travellers and diaspora users also get sent somewhere they didn't ask for. Show a banner suggesting the local version, let people switch freely, and let hreflang do the matching in search results.

Should I use a ccTLD or a subfolder for international SEO?

For most sites, subfolders. They keep everything on one domain, so authority is shared and there's only one site to maintain. Country domains like .co.uk give the clearest local signal but each one has to build authority separately. They suit brands that operate as separate businesses in each country.

Can I use hreflang for pages in the same language?

Yes. That's a common use. English pages for India, the US and the UK can be marked en-IN, en-US and en-GB. It helps when the versions differ in prices, currency, availability or spelling. If the pages are word-for-word identical, Google may still fold them together and show just one, so give each version real local differences.

Why is Google ignoring my hreflang tags?

Usually missing return links, wrong language or country codes, or canonical tags pointing to a different version. Google can also ignore tags that list redirected, noindexed or broken URLs. Crawl the site with a tool that checks hreflang and fix the errors template by template.

Working on a hard search problem?

I enjoy a tough SEO or GEO challenge, so tell me about yours. I'm also happy to speak at events and join podcasts.

Say hello →