SEO 2 min read

Multilingual websites and international SEO: hreflang in practice

Language versions help you reach customers abroad, but a poor setup hurts visibility. We explain URL structure, hreflang and how to localise content properly.

The Wysoko.org team Published:

A glowing globe surrounded by website cards in different colours connected by light lines – a multilingual website

A website in several languages opens the door to customers abroad – but only if search engines understand which version is for whom. Our own site runs in two languages, so we describe the setup we use ourselves.

URL structure

OptionExamplePros and cons
Subdirectoriesexample.com/en/simplest to maintain, shared domain authority
Subdomainsen.example.comeasy to separate technically, slightly harder to build authority
Country domainsexample.de, example.frstrong local signal, but higher costs and separate authority for each domain

For most businesses, subdirectories are the best choice. Avoid URL parameters (?lang=en) and switching language without changing the URL – search engines will see only one version.

Hreflang: pointing to language versions

hreflang annotations tell Google that pages are equivalents in other languages. The rules:

  • Reciprocity – if the Polish page points to the English one, the English page must point back.
  • Self-reference – each page also lists itself.
  • Correct codes – ISO 639-1 language codes (pl, en), optionally with a region (en-GB).
  • x-default – the version for users with no matching language.
  • Canonical URLs – each language version has a self-referencing canonical, not one pointing to the main version.

Hreflang can go in the page HTML, in HTTP headers or in the XML sitemap. This site uses both the HTML and the sitemap.

Translation is not enough – localisation

  • Keyword research for every market – people in different countries search for the same things with different words (see keyword research).
  • Currencies, units, date and phone formats.
  • Examples and references that make sense to local readers.
  • Translated URLs, titles, descriptions and image alt text.
  • Review by a native speaker – unedited machine translation is easy to spot, including through its quality.

The language switcher

Do not redirect automatically based on IP address or browser language – Google’s crawlers may then miss versions, and users lose control. Show a clear switcher that leads to the equivalent of the current page, not always the home page. Name languages in their own language (“English”, “Polski”).

Common mistakes

  • Hreflang without reciprocal links.
  • Every version’s canonical pointing to the primary language.
  • Partly translated pages with mixed languages.
  • Language versions blocked in robots.txt or marked noindex.

We build multilingual websites and online stores with a complete SEO setup. See also our SEO audit guide.

Frequently asked questions

Is translated content duplicate content?

No. Content in another language is not treated as a duplicate, especially when versions are connected with hreflang.

Can I use machine translation?

As a starting point, yes, but a fluent speaker should review and refine the text so it is accurate and natural.

Related services

See also

All news

Have a project in mind?

Tell us what you need – we will prepare a free quote.

Get a quote