This article is part of our Complete SEO Guide, which shows how on-page and off-page SEO fit together and links to every topic in the series.
Key takeaways
- Case doesn't matter. Google's documentation, updated on 23 September 2026, says hreflang values are case-insensitive. Uppercase region codes such as en-GB simply follow the ISO convention.
- Alternates map to a canonical. Google's Gary Illyes said on 10 August 2026 that hreflang alternate URLs aren't "indexed in the proper sense"; they're kept as alternate names for the canonical page.
- Return links are essential. Every page in a set must point to every other page, including itself, or Google may ignore the annotations.
- Hreflang doesn't translate or rank. It helps Google pick which version to show; each version still needs real, localised content.
- Demand is up. Google Trends interest in "international seo" averaged 59.4 over the last 12 months, up from 17.0, and "hreflang" rose from 9.0 to 22.8.
What is hreflang?
Hreflang is an annotation that tells Google which versions of a page exist for different languages or regions, so it can show searchers the right one. It can be added as <link rel="alternate" hreflang="…"> tags in the page head, as HTTP headers, or in an XML sitemap. Values combine a language code (such as en or hi) with an optional region code (such as IN or GB), plus x-default for a fallback page.
If you sell in India and the UK, or publish in English and Hindi, hreflang is how you stop British visitors landing on rupee prices, or Hindi speakers landing on the English page. Without it, Google guesses, and it doesn't always guess well.
Hreflang works hand in hand with canonical tags. If you haven't yet, read our canonical tags guide; most hreflang problems are really canonical problems.
What the 2026 data shows
Google's 2026 updates were clarifications, but they cleared up two long-running confusions.
Hreflang in four numbers
The September change was small: Google rewrote its examples from en-gb to en-GB and added a note that it accepts either. If your site uses lowercase, there's nothing to fix. Consistency matters more than case.
The August comment matters more. Illyes explained that when you declare alternate language versions, Google doesn't treat each as a fully separate entry in its index in the usual way; they're mapped as alternates of the canonical page. In practice this means each language version must be its own canonical. If your French page canonicalises to your English page, Google has no French page to swap in.
Search interest: Google Trends, 2025 to September 2026
We compared "international seo" and "hreflang" in Google Trends (worldwide, web search, data to 20 September 2026). Values are relative to the single busiest week for either term, which is set to 100.
- More businesses are going cross-border. Interest in international SEO more than tripled year on year.
- Hreflang follows. As soon as a site adds a second country or language, hreflang questions start.
- The August 2025 step. Several SEO terms jumped that week; the rise since is steadier and more telling.
How to structure an international site
Your URL structure decides how easy hreflang is to manage.
| Structure | Example | Pros | Cons |
|---|---|---|---|
| Country domains | example.in, example.co.uk | Strong local signal | Expensive; authority split across domains |
| Subfolders | example.com/in/, example.com/uk/ | One domain's authority; easy to manage | Weaker local signal on its own |
| Subdomains | in.example.com | Can host separately | Often treated more like separate sites |
| URL parameters | example.com?lang=hi | Quick to build | Not recommended by Google |
For most small and mid-size businesses, subfolders on one domain are the simplest choice.
How Google uses hreflang
Hreflang doesn't change rankings. It swaps in the best version once Google has decided your page deserves to appear.
How to set up hreflang: 9 steps
Work from a spreadsheet of URLs before touching any code.
-
Map every page to its equivalents
List each page and its versions in every language or country. Pages without an equivalent simply aren't in a set.
-
Choose correct codes
Use ISO 639-1 language codes (en, hi, ta) and optional ISO 3166-1 alpha-2 region codes (IN, GB, AE). Region alone isn't valid; "en-IN" is, "IN" isn't. Case doesn't matter, but be consistent.
-
Give each version its own canonical
The Hindi page canonicalises to itself, not to the English page. Otherwise Google has no Hindi page to show.
-
Add every alternate, including itself
Each page lists all versions in the set, including its own URL. Missing return links are the most common reason hreflang is ignored.
-
Add an x-default
Point
x-defaultat a language selector or your main international page for visitors who match none of your versions. -
Pick one method
HTML tags suit most sites. Sitemaps suit large sites. HTTP headers suit PDFs and other non-HTML files. Don't mix methods for the same pages.
-
Localise properly
Translate content fully, use local currency, prices, phone numbers and examples. A machine-translated page with a different flag isn't a localised page.
-
Don't force redirects by location
Automatic IP-based redirects can stop Googlebot (which mostly crawls from the US) from seeing your other versions. Offer a banner suggesting the right version instead.
-
Validate and monitor
Crawl the site with a tool that checks hreflang reciprocity, and spot-check search results from each target country.
Hreflang checklist
Run this whenever you add a language, a country or a new page template.
Hreflang set check
- Valid language codes, optional region codes
- Codes used consistently (case doesn't matter)
- Each version canonicalises to itself
- Each page lists all alternates and itself
- x-default points to a sensible fallback
- One method used per set (HTML, header or sitemap)
- Absolute URLs that return 200
- Content genuinely localised
- No forced IP-based redirects
- Reciprocity checked with a crawler
Examples by business type
A few common situations show how this works in practice.
Indian businesses selling abroad
An exporter with English pages for India, the UAE and the UK might use en-IN, en-AE and en-GB, each with local prices and contact details, plus x-default for everywhere else.
Multilingual sites in one country
A business serving English and Hindi speakers in India would use en-IN and hi-IN (or simply en and hi). Make sure navigation and key pages exist in both languages.
Online stores
Product pages in each market should show local currency, shipping and returns. Product structured data should match each version's price.
SaaS companies
Often one global English site plus a few translated landing pages. Use hreflang only on pages that actually have equivalents; leave the rest alone.
How to debug a "wrong country" problem
When customers in one country keep landing on another country's page, work through it in order. First, check that both pages are indexed and each canonicalises to itself; the URL Inspection tool shows the Google-selected canonical. Second, confirm both pages list each other with correct codes. Third, look at the content: if the two pages are near-identical (same English text, same prices), Google may cluster them as duplicates and show one for both markets. Adding genuinely local details, such as currency, delivery information and local examples, usually fixes that.
What a correct hreflang set looks like
Take a business with an English page for India, an English page for the UK and a Hindi page. Each of the three pages carries the same block of three link tags in its head, plus an x-default. The India page lists itself as en-IN, the UK page as en-GB, the Hindi page as hi, and points x-default at the global page or language selector. The UK page and the Hindi page carry exactly the same block. That's the part people miss: the set is identical on every page, including the self-reference, and every URL in it is absolute, returns 200 and canonicalises to itself.
When you add a fourth version, say Arabic for the UAE, every existing page needs updating too, not just the new one. That's why large sites usually move hreflang into the XML sitemap, where one file can be generated automatically, rather than editing templates by hand.
Tools that make hreflang easier
Hand-maintaining hreflang across hundreds of pages rarely ends well. Most CMS platforms have plugins or built-in settings that generate the tags from linked translations, and multilingual plugins on WordPress, Shopify Markets and headless setups can all output hreflang automatically. Whatever you use, run a crawler that checks reciprocity (Screaming Frog and Sitebulb both do) after every new language or template change, and spot-check one page per market by viewing the source. Automation saves time, but only if someone checks what it produces.
A 90-day hreflang plan
Map first, implement second, then watch each market.
From wrong versions to the right ones in three phases
Map
- List all localised pages and equivalents
- Check canonicals per version
- Choose codes and method
Implement
- Add hreflang with return links
- Add x-default
- Remove forced IP redirects
Verify
- Crawl for reciprocity errors
- Check results per country
- Localise thin versions
Hreflang mistakes
These are the errors crawlers flag most often.
- Missing return links. Page A points to B, but B doesn't point back.
- Canonicals to one language. All versions canonicalise to English, so alternates never show.
- Invalid codes. "en-UK" instead of "en-GB", or a country code used on its own.
- Hreflang pointing to redirects or 404s. Every URL in a set must work.
- Duplicate pages with different flags. Without real localisation, Google may cluster them anyway.
Frequently asked questions
Are hreflang codes case-sensitive?
No. Google added a note to its documentation on 23 September 2026 saying hreflang values are case-insensitive. Uppercase region codes like en-GB follow the ISO convention, but lowercase works too.
Does hreflang help rankings?
Not directly. Hreflang helps Google show the right language or country version of a page that already ranks. Each version still needs good, localised content.
Should each language version have its own canonical?
Yes. Each version should canonicalise to itself. Google's Gary Illyes explained in August 2026 that alternates are kept as alternate names for the canonical page, so pointing all versions to one canonical stops the others from showing.
What is x-default in hreflang?
x-default is a value that tells Google which page to show when none of your language or region versions match the searcher, such as a language selector or global homepage.
Can I put hreflang in my sitemap?
Yes. Google supports hreflang in HTML link tags, HTTP headers and XML sitemaps. Sitemaps are easier to manage on large sites. Use one method consistently.
The bottom line
Hreflang is fiddly but not mysterious. Map your pages, give each version its own canonical, make every page list every alternate, add an x-default, and localise the content for real. Don't worry about uppercase versus lowercase; worry about missing return links. Our website development team can plan and build multi-country and multilingual sites properly. Book a free consultation to talk about your markets.
Sources
- Google Trends, worldwide web search for "international seo" and "hreflang", data to 20 September 2026.
- Google Search Central, "Tell Google about localized versions of your page" (updated September 2026). developers.google.com
- Search Engine Roundtable, "Google hreflang examples to uppercase codes, but it doesn't matter", 23 September 2026. seroundtable.com
- Search Engine Roundtable, "Google: hreflang URLs not indexed in the proper sense", 10 August 2026. seroundtable.com
- Google Search Central, "Managing multi-regional and multilingual sites". developers.google.com
This article is for general information only and is not professional advice. Tools, prices and platform rules change often, so please check official sources before acting on it. See our Terms & Conditions.
Selling in more than one country or language?
Talk to our experts. Your first consultation is free.
