Skip to main content
Resources/Multilingual SEO
International SEO

Multilingual SEO: A Practical Guide to Hreflang and URLs

Give every language its own URL, connect the versions with hreflang, write for the market rather than translating word for word, and measure each language as its own channel.

Rank Crown Team
10 October 2026
13 min read

Multilingual SEO is the work of making each language version of a site discoverable by the people who search in that language: a separate URL per version, hreflang annotations that tell Google which pages are equivalents, content that reads as if it were written for that market, and keyword research done in the target language. Most of the rules come straight from Google's own documentation, and most of the failures come from skipping one of them, usually return links or real localization.

Illustration of an open golden book with connected nodes and a rising chart on a dark grid background
Illustrative image, not a product screenshot or real data. The real Rank Crown reports used in this guide appear further down.

What is multilingual SEO, and how is it different from multi-regional SEO?

Multilingual SEO targets languages; multi-regional SEO targets countries. Google treats them as two separate questions: which language a page is in, and which locale it is meant for. A single site can answer both, for example English and French pages for Canada next to English pages for the US.

Google's guide to managing multi-regional and multilingual sites draws the line clearly. A multilingual website is any site that offers content in more than one language, and Google Search tries to find pages that match the language of the searcher. A multi-regional website explicitly targets users in different countries, and Google Search tries to find the right locale page for the searcher. The same guide notes that some sites are both, such as a site with US and Canadian versions where the Canadian content exists in English and French.

Separating the two decisions saves a lot of rework. Language is about the words on the page. Region is about prices, currency, shipping, legal terms, phone numbers, and which spelling or vocabulary feels local. A Spanish page for Mexico and a Spanish page for Spain share a language but not necessarily a product range or a price list. If you only ever need one Spanish page, you have a multilingual problem. If you need two, you also have a multi-regional one, and your hreflang codes will need region suffixes.

Before choosing tools or URL patterns, write down the matrix: every language you will publish in, and for each language, whether one version serves all countries or whether specific countries need their own version. That matrix decides your URL structure, your hreflang values, and how many pages you will maintain. If the list is longer than your team can keep current, start with fewer versions. A small set of well-maintained languages beats a large set of stale ones, a principle that also applies when you plan a website migration to a new structure later.

Which URL structure should a multilingual site use?

Use a separate URL for every language version: a country-code domain, a subdomain, or a subdirectory. Google lists the trade-offs of each and marks URL parameters such as ?loc=de as not recommended. It also recommends against switching languages with cookies or browser settings on a single URL.

Google is explicit that it recommends different URLs for each language version rather than using cookies or browser settings to change the content language on one URL. The reason is crawling: if you change content dynamically, Google says it might not find and crawl all your variations, because Googlebot usually crawls from the US and sends requests without an Accept-Language header. With one URL per version, every version can be crawled, indexed, and linked to directly.

The table below summarizes the four options exactly as Google's documentation weighs them.

StructureExamplePros (per Google)Cons (per Google)
Country-code domainexample.deClear geotargeting, server location irrelevant, easy separation of sitesExpensive and sometimes limited availability, more infrastructure, strict ccTLD rules in some countries, targets a single country
Subdomain on a gTLDde.example.comEasy to set up, allows different server locations, easy separation of sitesUsers might not tell from the URL alone whether "de" means a language or a country
Subdirectory on a gTLDexample.com/de/Easy to set up, low maintenance on the same hostGeotargeting not obvious from the URL, single server location, separating sites is harder
URL parametersite.com?loc=deNone listed; Google marks this option as not recommendedURL-based segmentation is difficult, geotargeting not obvious from the URL

Two details in Google's guide are easy to miss. First, Google treats some country-code domains, including .io, .co, .me, and .tv, as generic, so registering one of them does not signal a country. Second, regional domains such as .eu and .asia are also treated as generic. If you want a page on a generic domain to target a country, you need hreflang or another explicit signal.

You can see all three valid structures competing for one query in the capture below: a live Google Indonesia results page for tiket pesawat murah (cheap flight tickets), pulled with Rank Crown's SERP checker.

Rank Crown SERP checker results for the keyword tiket pesawat murah on Google Indonesia, about 138 results, with Traveloka and Tiket.com ranking first and second from id-id subdirectories, Skyscanner Indonesia fourth on skyscanner.co.id, and Flight Network and Trip.com Indonesia on id subdomains
Google Indonesia results for tiket pesawat murah. Positions 1 and 2 use an /id-id/ subdirectory (traveloka.com, tiket.com), position 4 is a country-code domain (skyscanner.co.id), and positions 5 and 7 use an id. subdomain (id.flightnetwork.com, id.trip.com).Screenshot: Rank Crown SERP checker, captured 9 Oct 2026

No single structure wins that page. Subdirectories, a ccTLD, and subdomains all appear in the top seven, which matches Google's framing: structure is an operational choice, not a ranking trick. Pick the option your team can run reliably. A subdirectory keeps everything on one host and one domain's link profile; a ccTLD gives the strongest country signal but needs a separate domain for each country. Our SEO URL structure guide covers how to keep the paths inside each version readable, and you can run the same kind of check for your own market with the free SERP checker.

How do you implement hreflang correctly?

On every version of a page, list every language or regional version, including the page itself, with fully qualified URLs and valid codes. Add an x-default fallback. Use one method, HTML link tags, HTTP headers, or an XML sitemap; Google treats them as equivalent.

Google's documentation on localized versions gives the rules. Each language version must list itself as well as all other language versions. Alternate URLs must be fully qualified, including https://, and they do not need to be on the same domain. The three methods are equivalent from Google's perspective, and using all three at once brings no benefit in Search while making maintenance harder.

In HTML, the set of link elements goes inside the head and is identical on every version of the page:

<head>
  <link rel="alternate" hreflang="en" href="https://example.com/en/pricing/" />
  <link rel="alternate" hreflang="en-GB" href="https://example.com/en-gb/pricing/" />
  <link rel="alternate" hreflang="de" href="https://example.com/de/preise/" />
  <link rel="alternate" hreflang="x-default" href="https://example.com/choose-language/" />
</head>

The value is a language code in ISO 639-1 format, optionally followed by a region code in ISO 3166-1 Alpha 2 format. Google accepts upper or lower case. You cannot use a country code alone, because Google does not derive the language from a country. For scripts, Google derives the script from the region (zh-TW implies Traditional Chinese), or you can state it with an ISO 15924 code such as zh-Hant or zh-Hans. Codes outside those standards, such as es-419, are not supported.

If you have several regional versions in one language, Google suggests also providing a generic catch-all for that language, for example en next to en-IE, en-CA, and en-AU. Then add x-default: Google describes it as the page for users whose settings match none of your versions, designed for language selector pages and working best there. For non-HTML files such as PDFs, use the HTTP Link header. For large sites, the XML sitemap method keeps the annotations out of page templates; each url entry lists every variant, including itself, as xhtml:link children, and our XML sitemap guide covers the general sitemap rules that still apply. For a deeper walkthrough of every attribute, see the hreflang guide.

What do hreflang mistakes look like on a real site?

The mistakes Google lists are missing return links, invalid language codes, and invalid region codes. Pages that do not point to each other are ignored as a pair, and region codes reserved for something else, such as UK or EU, have no effect. Checking a live page catches most of them in minutes.

The return-link rule exists for a reason Google states plainly: if two pages do not both point to each other, the tags are ignored, so that another site cannot declare itself an alternate version of your page. Google also allows partial sets when a full matrix is hard to maintain, as long as the pairs you do declare are bidirectional, and it suggests prioritizing return links between new language versions and your original, strongest version.

MistakeWhat it looks likeFix
No return linkThe German page lists the UK page, but the UK page does not list the German pageGenerate the full set from one source so every version lists every other version and itself
Country code used alonehreflang="be" meant for Belgium (be is the Belarusian language code)Lead with the language: nl-BE, fr-BE, de-BE
Region code that is not ISO 3166-1 Alpha 2en-UK, en-EU, or a made-up codeUse assigned codes such as en-GB; Google ignores the region part of reserved codes
Relative or protocol-less URLshref="/de/page" or href="//example.com/de/page"Use fully qualified URLs that include https://
Tags outside the headA script or invalid element closes the head early, so the links land in the bodyCheck the rendered HTML in a validator and keep the links inside a well-formed head

To see a working set, we ran Duolingo's home page through Rank Crown's Content Optimizer. Its indexing checks read the hreflang links from the HTML and confirm whether the set includes the page itself.

Rank Crown Content Optimizer report for https://www.duolingo.com/ showing a score of 72/100 with 6 issues, recommendations including No page language, and indexing checks where hreflang passes with 34 tags, languages ar, bn, cs, de, el, en and 28 more, and the canonical is self-referencing
Content Optimizer on www.duolingo.com: the hreflang check passes with 34 tags (ar, bn, cs, de, el, en and 28 more), the canonical is self-referencing, and a low-priority recommendation flags a missing lang attribute on the html tag.Screenshot: Rank Crown Content Optimizer, captured 9 Oct 2026

Reading the raw HTML behind that report on 9 October 2026 shows a textbook subdomain setup: each language has its own host (ar.duolingo.com, de.duolingo.com, id.duolingo.com and so on), Chinese points to a different domain, www.duolingo.cn, which Google allows, and x-default points to the English home page. We also fetched id.duolingo.com and www.duolingo.cn; each returns 34 hreflang links, including the en, id, zh, and x-default entries pointing to the same URLs, so the return links we sampled are in place.

The same set shows how easy a single bad code is to miss. One entry uses zh-FT. FT is not an assigned ISO 3166-1 Alpha 2 country code (the ISO 3166-1 alpha-2 decoding table lists it as unassigned), so the value falls outside what Google supports. If the intent is Traditional Chinese, Google's documented option is zh-Hant. The report also flags the missing lang attribute. That does not affect how Google detects language, as the next sections explain, but it matters for browsers and assistive technology. For site-wide checks, run a crawler across all versions, as described in the technical SEO checklist, and test samples with the hreflang testing tool that Google's documentation links to.

Should you redirect visitors by language or IP, and how do you handle duplicates?

Do not auto-redirect based on a guessed language or IP address. Let users switch versions with visible links, and let hreflang guide search results. For same-language duplicates across regions, pick a preferred URL with rel="canonical" and keep hreflang consistent.

Google tells site owners to avoid automatically redirecting users from one language version to another based on what you think their language is, because those redirects could prevent users and search engines from seeing all versions. It also says not to use IP analysis to adapt content, calling IP location analysis difficult and generally not reliable. Instead, add hyperlinks to the other language versions on every page, so a visitor who lands on the wrong one can move in one click.

Google's page on locale-adaptive pages explains the crawling risk. If a site returns different content based on the perceived country or preferred language of the visitor, Google might not crawl, index, or rank all of it, because Googlebot's default IP addresses appear to be in the US and it sends requests without Accept-Language. Googlebot does also crawl from IP addresses outside the US, and Google asks you to treat it like any user from that country. Its recommendation remains separate locale URLs with hreflang. The same page adds one easily overlooked rule: robots meta tags and robots.txt must specify the same rules in each locale.

Duplicates are the other half. Google says localized versions are only duplicates if the main content remains untranslated. The case to manage is the same language on several URLs, for example German content on both example.de and example.com/de/. There, Google recommends choosing a preferred version and using rel="canonical" together with hreflang. Never canonicalize a translated page to the original language version, since that tells Google the translation is not the page to index. The canonical tag guide and the duplicate content guide cover both mechanisms in more depth, and if you are moving languages to new URLs, map every old URL with a 301 redirect, which is a permanent move rather than a language guess.

Is translation enough, or do you need localization?

Translation changes the words; localization changes what the page means to a local reader, including terms, prices, units, examples, and trust signals. Google detects language from visible content, so each page should use one language throughout, and mass-produced translations with little added value can fall under its spam policies.

Google says it uses the visible content of a page to determine its language and does not use code-level information such as lang attributes or the URL. It recommends a single language for content and navigation on each page and avoiding side-by-side translations. It also warns that translating only the boilerplate, the navigation and footer, while the main content stays in one language can create a bad experience when the same content appears multiple times in results with different boilerplate languages.

Localization goes beyond language detection. A localized page uses the currency, measurement units, date formats, payment methods, and support hours of its market. Its examples, testimonials, and case studies come from that market where possible. Its product names and category labels match how local buyers refer to them, which is often not the dictionary translation. Google's list of signals for a page's target audience includes local addresses and phone numbers, local language and currency, and links from other local sites, so localization is also how you make the page credible as a regional result.

Machine translation can speed up a first draft, but publishing it unreviewed at scale carries real risk. Google's spam policies describe scaled content abuse as many pages generated mainly to manipulate rankings, and list automated transformations, including translating, among examples when little value is provided to users. The safe workflow is draft, review by a fluent speaker, then adapt for the market. Our guide to AI content and SEO covers the same quality bar for AI-assisted drafts in any language.

How do you research keywords for each language?

Research from scratch in each language and market instead of translating your English keyword list. Start from the terms locals actually type, check volume and difficulty for that country's Google, and read the local results to confirm intent before you assign a keyword to a page.

A translated keyword list assumes that people in every market describe a need the same way. They often do not. Local searchers use brand names as category words, informal or borrowed terms, and different word order. Translating the English head term gives you a phrase that may be grammatically correct and rarely searched, while the term that carries demand is a colloquial variant your translator never suggested.

The capture below shows what market-specific data looks like for mobil bekas, the Indonesian term for used cars, in Rank Crown's Keywords Explorer.

Rank Crown Keywords Explorer overview for mobil bekas on Google Indonesia with transactional intent, keyword difficulty 54 Hard, 27.1K average monthly searches, down 33% versus last year, average CPC $0.14, medium ads competition, a 12-month volume trend from September 2025 to August 2026, and keyword ideas including olx mobil bekas, harga mobil brio bekas, jual-beli mobil bekas and jual beli mobil bekas
Keywords Explorer for mobil bekas on Google Indonesia: KD 54 (Hard), 27.1K average monthly searches, down 33% vs last year, $0.14 average CPC. Keyword ideas include olx mobil bekas (22.2K), harga mobil brio bekas (12.1K), and two spellings of jual beli mobil bekas at 9.9K each with KD 31 and 56.Screenshot: Rank Crown Keywords Explorer, captured 9 Oct 2026

Three lessons come out of that one report. First, the market label matters: the numbers are for Google Indonesia, and the same English term would return a different picture for another country, so always confirm the location before comparing. Second, the keyword ideas are shaped by local habits. A marketplace brand (olx) and a specific car model (brio) appear in the top ideas, which a translated English list would not predict. Third, small spelling differences are tracked separately: the hyphenated and spaced versions of jual beli mobil bekas show the same 9.9K volume but different difficulty scores, so check both before you choose the phrasing for a title.

From there, follow the usual process in each language: group terms by intent, map one primary keyword per page, and check the local results for the format that ranks. The keyword research guide explains the full workflow, the keyword difficulty explainer covers how to read KD, and the SERP analysis guide shows how to judge intent from a results page. Rank Crown's Keywords Explorer is where the overview above comes from.

How do you measure multilingual SEO performance?

Treat each language and market as its own channel. Segment Search Console by country and by the URL prefix of each version, track rankings in the local Google for each market, and watch indexing for every version separately, since one broken template can drop a whole language.

Search Console's Performance report lets you group data by Queries, Pages, Countries, Devices, Search appearance, and Dates. For a multilingual site, the two most useful views are Countries, to see where impressions come from, and a Pages filter on each version's prefix, such as /de/ or de.example.com, to see how each language performs. If a version earns most of its impressions in a country you did not target, that is a sign that hreflang or content signals are not doing what you intended. Note that the old International Targeting report is deprecated, so hreflang errors need to be found with crawls and spot checks rather than a dedicated Search Console report. The Search Console guide covers the filters in detail.

Rank tracking has to match the market too. Positions in Google US say little about how your German or Indonesian pages perform, so track each version's keywords in its own country and language, and compare languages only on relative trends, not raw positions. Combine that with a recurring crawl of all versions to catch broken return links, missing self-references, mixed-language templates, or one locale accidentally set to noindex. If you are earning links for new markets, the international link building guide explains how to build local authority, which Google lists among the signals for a page's intended audience.

Finally, set a review rhythm. Every time a page changes in the original language, its equivalents need the same update, or they drift into outdated prices and promises. A simple rule works: no change ships to one language without a ticket for the others. That habit, more than any tag, is what keeps a multilingual site trustworthy in every market it serves.

Frequently Asked Questions

What is the difference between multilingual and multi-regional SEO?

Google defines a multilingual site as one that offers content in more than one language, such as English and French versions for a Canadian business. A multi-regional site explicitly targets users in different countries, such as a manufacturer shipping to the US and Canada. Many sites are both, so plan language and country targeting as two separate decisions.

Is a subdirectory or a subdomain better for multilingual SEO?

Google does not name a winner. Its documentation lists subdirectories such as example.com/de/ as easy to set up with low maintenance on one host, and subdomains such as de.example.com as easy to set up with separate server locations. Both work with hreflang. Choose based on how your team will run and maintain each version.

Does Google use the HTML lang attribute to detect page language?

No. Google says it determines the language of a page from its visible content and does not use code-level information such as lang attributes or the URL. The lang attribute is still worth setting for browsers, screen readers, and translation tools, but it will not fix a page whose visible text mixes several languages.

Is translated content considered duplicate content?

Google states that localized versions of a page are only considered duplicates if the main content stays untranslated. A fully translated page is a different page. Same-language regional versions, such as German content on both example.de and example.com/de/, are the case where Google recommends choosing a preferred version with rel="canonical" and hreflang.

What does hreflang x-default do?

x-default names the fallback page for users whose language or region settings do not match any version you listed. Google says it was designed for language selector pages and works best there, though you can point it at any page. Add it as one more link in the same hreflang set, with no language code attached.

Why is Google ignoring my hreflang tags?

The most common cause is missing return links: if page X lists page Y, page Y must list page X, or the pair is ignored. Other causes are invalid codes, such as a country code used alone or a region that is not an ISO 3166-1 Alpha 2 code, relative URLs instead of fully qualified ones, and tags placed outside the head.

Should I automatically redirect visitors based on their language or IP address?

Google advises against it. Automatic redirects based on a guessed language can stop users and search engines from seeing all versions, and Googlebot usually crawls from US IP addresses without an Accept-Language header. Use separate URLs with hreflang and add visible links that let people switch language or region themselves.

Can I use machine translation for a multilingual site?

You can use it as a starting point, but publishing unreviewed automated translations at scale is risky. Google's spam policies list automated transformations, including translating, among examples of scaled content abuse when little value is provided to users. Have a fluent reviewer check each page and adapt terms, prices, and examples for the market.

See what ranks in each market before you translate

Check a live results page for a local-language keyword and see which domains, subdomains, and subdirectories already win it.

Open the free SERP checker