Cars on an open road
SEO

One site, two languages: getting multilingual SEO right

Why we moved our own site from a client-side language switch to separate URLs, and what changed for search engines.

1 min read

All articles

For a long time our site picked the language in the browser: the server always sent English, and a script swapped the text to Polish when it detected a Polish device. It felt smart. For search engines, it meant the Polish version did not exist.

What crawlers actually see

Search engine crawlers usually arrive with English settings and without saved preferences. If every language shares one URL, they index one language and never discover the other. You also cannot give each version its own title, description or social preview.

“If you have multiple versions of a page for different languages or regions, tell Google about these different variations.”
Source: Google Search Central, Localized versions of your pages

The setup we chose

  1. English stays at the root (/), Polish moves to /pl. One domain keeps all the authority in one place.
  2. Every version declares its siblings with hreflang, including an x-default fallback.
  3. Old links like ?lang=pl redirect permanently to the new URLs.
  4. No forced redirects by browser language. Visitors get a gentle suggestion instead, and crawlers can reach every version.
Two cars side by side
Two versions, side by side, each with its own address.

Building something similar?

Tell us about your project and we will get back to you with specifics.

Let's build

Keep reading