Skip to content

SEO 9 min read

Multilingual website (FR/EN): URLs, hreflang and SEO done right

Subfolders or subdomains, hreflang and x-default, translated slugs, language detection without forced redirects, translation versus localisation: how to build a French-English website that ranks in both languages.

Illustration: two identical web pages linked by two-way arrows, with speech bubbles and a globe
On this page
  1. The golden rule: one URL per language
  2. Subfolders, subdomains or country domains?
  3. Hreflang explained: reciprocity, self-reference and x-default
  4. Translate your URLs too
  5. Detecting the visitor’s language without forcing them
  6. Translate or localise?
  7. The most common mistakes
  8. Checklist before launch
  9. How we build bilingual sites
  10. Frequently asked questions

A multilingual website can double your audience, or split your SEO in two and confuse your visitors. The difference lies in a handful of technical decisions taken at the start: how addresses are structured, how each page tells Google about its translations, how visitors are guided to their language and how much effort goes into the content itself. This guide covers each of them for the most common case in France, a French and English site, based on Google’s documentation on multilingual sites.

The golden rule: one URL per language

Each language version of a page must have its own address. Sites that switch language with a cookie, a JavaScript button or the browser’s language settings while keeping the same URL are invisible in all but one language: Googlebot usually crawls from the United States and sends no language preference, so it only ever sees one version. With one URL per language, each version can be crawled, indexed and shared.

Subfolders, subdomains or country domains?

Google describes four ways to organise these addresses. Here they are, with the pros and cons from its documentation and our view for a French SME.

Structure

Example

Pros

Cons

Subfolders

example.com/fr/

Easy to set up, one host to maintain, all versions benefit from the same domain

Single server location, harder to separate the versions later

Subdomains

fr.example.com

Easy to set up, can be hosted separately

“fr” can be read as a language or a country; more to maintain

Country domains

example.fr, example.de

Clear country targeting, total separation

Cost, more infrastructure, one country per domain, a language is not a country

URL parameters

example.com?lang=fr

—

Not recommended by Google

For a business that targets languages rather than countries (French speakers and English speakers, wherever they are), subfolders are almost always the best choice: one site, one domain whose authority benefits every version, one hosting and one maintenance. A common pattern is the main language at the root and the other in a folder (example.com and example.com/fr/), or both in folders. Country domains make sense when you run genuinely different businesses per country: prices, stock, delivery, legal terms.

Hreflang explained: reciprocity, self-reference and x-default

Hreflang annotations tell Google which pages are translations of each other, so that it shows the French page to a French-speaking searcher and the English page to an English-speaking one. Google’s rules on localized versions are strict:

  • Each version lists itself and every other version. The French page carries the same set of annotations as the English page, including a link to itself.

  • Links must be reciprocal. If page A points to page B but B does not point back, the annotations are ignored. This prevents another site from claiming to be your translation.

  • x-default designates the page to show when no language matches the visitor’s browser: usually the main version or a language selection page.

  • Codes: language in ISO 639-1 (en, fr), optionally followed by a country in ISO 3166-1 alpha-2 (fr-CA). A country alone is invalid, and codes such as “UK” or “EU” are ignored: the United Kingdom is “GB”.

  • Full URLs, with https://, pointing to the canonical, indexable version of each page.

For an English page and its French translation, the head of both pages contains exactly the same three lines:

In the <head> of both pages
<link rel="alternate" hreflang="en" href="https://example.com/pricing">
<link rel="alternate" hreflang="fr" href="https://example.com/fr/tarifs">
<link rel="alternate" hreflang="x-default" href="https://example.com/pricing">
Hreflang diagram: the English page and the French page each list hreflang en, fr and x-default, link to themselves and to each other in both directions.
Both versions carry the same annotations: self-reference, a return link to the other version and the same x-default.

Three equivalent methods exist: link tags in the HTML head (the simplest), HTTP headers (for PDFs) or the XML sitemap (practical for large sites). Choose one; combining them brings nothing and multiplies the risk of contradictions. Also keep the canonical of each version pointing to itself: a French page whose canonical points to the English page tells Google to ignore the French one. Finally, use language codes without a country (“fr”, “en”) unless you really have different content per country: declaring “fr-FR” brings nothing for a page written for every French speaker, in France, Belgium, Switzerland or Canada.

Translate your URLs too

A French page called /fr/pricing reads as a half-finished translation. Translated slugs (/fr/tarifs, /fr/services/creation-de-site) are more natural to read and share, and they contain the words French speakers actually type. Three rules: use the same structure in each language so the equivalence stays obvious, avoid accents and special characters in addresses (they get encoded and look broken when shared), and plan redirects whenever a slug changes, as you would for any URL change. Our guide to redesigning a site without losing SEO explains how.

Detecting the visitor’s language without forcing them

Google is explicit: avoid automatically redirecting visitors according to what you think their language is. Such redirects can prevent people, and search engines, from reaching every version. An English speaker living in Paris with a French browser, or a French customer abroad on a borrowed computer, must be able to choose.

  • Best option: show a discreet banner suggesting the other language (“This page is also available in French”) and let the visitor decide.

  • If you redirect, do it only on a first visit, never for search engine robots, always to the equivalent page, and remember the visitor’s choice once they use the language switcher.

  • The language switcher is visible on every page and leads to the equivalent page, not to the home page. Label languages in their own language (“Français”, “English”) rather than with flags: a flag is a country, not a language.

  • When a page has no translation, either do not show the language link, or point it to the closest relevant page, and never declare a hreflang pair for pages that are not translations of each other.

Translate or localise?

Translation turns words from one language into another. Localisation adapts the page to its readers: that is what makes it rank and convert.

  • Keywords: research them separately in each language. People do not search for the literal translation of your French keywords; “site vitrine” becomes “business website” or “brochure website”, not “showcase site”.

  • Formats and practical details: dates, decimal separators, currency position, phone numbers with the international prefix, opening hours, addresses.

  • Examples, references and proof: choose those your foreign readers recognise; explain French specifics (SIRET, TVA, auto-entrepreneur) to an English-speaking audience.

  • Calls to action, forms and e-mails: translate confirmation messages, error messages, automatic e-mails and PDFs as well, not just the visible pages.

  • Metadata: title, meta description, image alternative texts and structured data must be in the language of the page.

Machine translation and AI are useful for a first draft, but have every page reviewed by a fluent speaker. Google’s spam policies cite pages generated at scale through automated transformations, including translation, without added value. Google also notes that translating only the template (menu, footer) while leaving the main content in one language does not make a real localised version.

The most common mistakes

  1. Missing return links: the English page declares its French version, the French page declares nothing.

  2. Hreflang pointing to redirected, noindex or non-canonical URLs.

  3. Every version canonicalised to the main language, which removes the translations from Google.

  4. Invalid codes such as “en-UK” or a country without a language.

  5. Mixed-language pages: an English menu around French content, or a French page with an English title tag.

  6. Forced redirects by IP or browser language with no way back.

  7. A switcher that always goes to the home page, losing the visitor’s place.

  8. Sitemaps that list only one language, so the other versions are discovered late or not at all.

Checklist before launch

  • One URL per language, consistent structure, translated slugs.

  • Hreflang on every translated page: self-reference, reciprocal links, x-default, valid codes, absolute URLs.

  • A self-referencing canonical on each version.

  • A lang attribute on the html element matching the page language (useful for screen readers and browsers, even though Google detects the language from the content).

  • Language switcher to the equivalent page, no forced redirect for robots.

  • Localised titles, descriptions, alternative texts, forms, e-mails and legal pages.

  • All language versions in the sitemap, then a check in Search Console: our Search Console guide shows how to inspect each version.

These points extend the multilingual item of our technical SEO checklist. If you also target local customers, add a fully translated Google Business Profile description, as explained in our local SEO guide.

How we build bilingual sites

Our own site is built this way: English at the root, French under /fr/ with translated addresses, reciprocal hreflang with x-default, and no redirect for search engines. Every showcase website we deliver can be bilingual from the start, and our custom websites handle as many languages as you need, with an admin panel to translate content. Already have a site in one language? Our website audit tells you what it takes to add a second one cleanly.

Frequently asked questions

Is a subfolder or a subdomain better for a multilingual website?
For most small and medium businesses, subfolders (example.com/fr/) are simpler to run and keep every version on the same domain. Subdomains and country domains make sense when versions are managed or hosted separately, or when you target different countries with different offers.
Is hreflang mandatory?
No, Google can sometimes find translations without it. But it is the reliable way to show the right language version to the right searcher, and it is easy to add on a well-built site.
What is x-default in hreflang?
It designates the page to show when none of the declared languages matches the visitor’s browser. It usually points to the main language version or to a language selection page.
Does translated content count as duplicate content?
No. Google does not treat a real translation as a duplicate. Problems arise when only the menu is translated while the main content stays the same, or when pages are machine-translated at scale without review.
Should I redirect visitors automatically to their language?
Google advises against redirects based on a guess of the visitor’s language. Suggest the other version with a banner, keep a visible language switcher and remember the visitor’s choice.

Planning a bilingual website?

Tell us about your markets and languages: we propose the right structure and a clear quote.

Talk about your project

Newsletter

Practical notes on web, SEO and AI

One e-mail a month at most: new articles, checklists and what actually works for small businesses. No spam, unsubscribe in one click.

Your address is only used to send this newsletter, through our e-mailing provider Brevo. Privacy policy

SEO 9 min read

Google Search Console for beginners: a practical guide

Set up Google Search Console in fifteen minutes, then learn to read the reports that matter: Performance, Pages, URL Inspection, Core Web Vitals and Links, and what to do with each one.

Roma Roterman

SEO 9 min read

Anatomy of a service page that ranks and converts

Search intent, title and H1, a clear offer above the fold, proof that holds up, transparent pricing, an FAQ that answers objections, internal links and structured data: the building blocks of a service page that ranks and sells.

Roma Roterman

Have a project in mind?

Tell us what you want to achieve: you get a clear proposal and a fixed price before any work starts.

Talk about your project