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.
| Structure | Example | Strengths | Trade-offs |
|---|---|---|---|
| Country domain (ccTLD) | example.ca, example.co.uk | Clearest country signal to Google and to users | Each domain builds authority on its own; more cost and upkeep |
| Subfolder | example.com/ca/ | Shares the main domain's authority; one site to run | Weaker country signal, so hreflang does more of the work |
| Subdomain | ca.example.com | Can be hosted and managed separately | Google says it handles subdomains fine, though a new subdomain often takes longer to build authority than a subfolder |
| URL parameter | example.com/?country=ca | Easy to build | Not 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
- Missing return links. The most common error. Usually one country's template was updated and the others weren't.
- Wrong codes. "en-UK" instead of "en-GB", or the order reversed, like "IN-en". Language always comes first.
- 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.
- Pointing to redirected, noindexed or broken URLs. Only list live, indexable pages.
- 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.