Multilingual websites: structure, hreflang and SEO done right

How to plan and build a website in several languages, choose a URL structure, set up hreflang correctly and avoid the common mistakes that hurt international SEO.

By the UK Technology Hub teamPublished 4 minute read

The short answer

A good multilingual website gives each language its own crawlable URLs, connects equivalent pages with hreflang tags, lets visitors choose their language rather than forcing redirects, translates metadata and interface text, and uses local keyword research. Subdirectories such as /fr/ are usually the simplest structure. Plan workflows for keeping translations up to date before you launch.

Offering your website in several languages can open new markets, but it's easy to get wrong. Poor structure confuses search engines, automatic redirects frustrate visitors, and outdated translations damage trust. Here's how to plan it properly.

Choose a URL structure

Each language version needs its own URLs so search engines can index them. Common options:

StructureExampleNotes
Subdirectoriesexample.com/fr/Simple, keeps authority on one domain; usually recommended
Subdomainsfr.example.comSeparate sections; can be managed independently
Country domainsexample.frStrong local signal; more domains to manage and promote
URL parametersexample.com?lang=frNot recommended

Our comparison of subdomains and subdirectories goes deeper into the SEO trade-offs.

Language versus region

Decide whether you're targeting languages (French speakers anywhere) or specific regions (customers in Canada). You can target both, such as English for the UK and the US with different prices and spellings. Only create regional versions if the content genuinely differs.

Set up hreflang correctly

hreflang tags tell search engines which page is for which language or region, so the right version appears in results. Key rules:

  • Each page lists all its language versions, including itself.
  • Links must be reciprocal: if the English page points to French, the French page must point back.
  • Use correct language codes, such as "fr" or "en-GB".
  • Add an "x-default" version for visitors who don't match any language, often a language selector or main version.
  • Point to canonical, indexable URLs only.

Hreflang can be added in page headers, HTTP headers or XML sitemaps. Errors are common, so validate them with testing tools.

Let visitors choose

  • Show a clear language switcher, using language names in their own language, like "Français."
  • Don't automatically redirect visitors based on their location or browser language without a way back; it frustrates travellers and can stop search engines seeing all versions.
  • You can suggest a language with a banner, but let people decide.
  • Remember the choice for future visits.

Translate everything, not just body text

  • Page titles and meta descriptions.
  • Navigation, buttons and form labels.
  • Error messages and confirmation emails.
  • Image alt text and captions.
  • PDFs and downloads.
  • Structured data where it includes text.

Do local keyword research

People in different countries search using different words, not literal translations of your English keywords. Research search terms in each language and market, and use them in titles, headings and content.

Localise, don't just translate

Adapt currencies, date and number formats, phone formats, examples, images and legal information for each market. Our guide to AI website translation explains how to combine AI drafts with human review.

Choosing a CMS setup

Most CMS platforms support multilingual sites through built-in features or plugins. Look for:

  • Clear links between translations of each page.
  • Translation status tracking, showing which pages are outdated.
  • Support for translated URLs, metadata and media.
  • Integration with translation services.
  • Automatic hreflang generation.

Our CMS development team sets these up on WordPress, Webflow and headless platforms.

Design for different languages

Some languages are much longer than English, and some read right to left, such as Arabic and Hebrew. Designs need to accommodate longer words, different scripts and right-to-left layouts. Test with real translated text, not placeholders. Our branding and UI/UX design team plans layouts with this flexibility built in.

Keeping translations current

The hardest part of a multilingual site isn't launch day; it's keeping every language up to date. Agree who updates translations when source pages change, track outdated pages in your CMS and prioritise high-traffic pages. Our guide to running a website content audit helps you review content in every language systematically.

Common mistakes

  • Using browser translation widgets instead of real translated pages.
  • Mixing languages on one page.
  • Missing or broken hreflang return links.
  • Forced redirects based on IP address.
  • Forgetting to translate metadata and emails.
  • Launching translations without a plan to keep them updated.

Measuring success

Track traffic, rankings and conversions for each language. Search Console lets you see performance by country and identify hreflang problems.

How we help

Our web development team builds multilingual websites with clean URL structures and correct hreflang. Our CMS team configures translation workflows, and our design team makes sure layouts work in every language.

Frequently asked questions

Do I need hreflang for a multilingual site?

It's strongly recommended. hreflang helps search engines show the right language version to the right users.

Should I redirect visitors to their language automatically?

Avoid forced redirects. Suggest a language if you like, but let visitors choose and switch freely.

Is a subdirectory or subdomain better for languages?

Subdirectories are usually simpler and keep authority on one domain, but both can work if set up correctly.

This guide is general information, not legal, tax or financial advice, and details such as prices, features and rules can change. Product and company names mentioned are trademarks of their respective owners and are used only to identify those products; UK Technology Hub is not affiliated with or endorsed by them.

Related guides

All websites & web design guides