Topic 22 · International

International architecture

Module to follow as soon as the site targets several languages or countries. It sets the URL structure, the language switcher and the rules that prevent forced redirects.

Priority
Critical
Applies to
Depends on your site: multilingual site
Practical guides
15 written out of 15
0/15 done

Free, no account: your progress is saved in this browser.

Download this topic (PDF) 4 pages · 86 KB

Where to start

Three checks with a strong effect, doable before the rest.

  1. 22.01 Define target languages Intermediate · 1 to 3 days
  2. 22.04 Choose subdirectories, subdomains or country-code domains Advanced · 1 to 3 days
  3. 22.08 Avoid forced IP-based redirects Intermediate · 2 to 6 h

The 15 checks of this topic

Click a check to read its guide. Tick the box once it is verified on your site.

Who
Difficulty

1Define languages and countries

0/3 done
  1. 22.01
    Define target languages

    Choose your site's languages based on measured demand, search potential and your capacity to translate and serve each one, using a decision grid.

    Who: Executive Marketing

    Intermediate 1 to 3 days
  2. 22.02
    Define target countries

    Choose the countries your site should target based on demand and your ability to ship and sell, then decide which deserve their own version and which share one.

    Who: Executive Marketing

    Intermediate 1 to 3 days
  3. 22.03
    Distinguish language from geotargeting

    Separate what states a page's language (content, lang, hreflang) from what ties it to a country (region code, ccTLD, currency, address) and pick the right codes.

    Who: Marketing Developer

    Intermediate 2 to 4 h

2Choose the URL structure

0/5 done
  1. 22.04
    Choose subdirectories, subdomains or country-code domains

    Compare subdirectories, subdomains and country-code domains, choose the right international structure and set it up on your server, CMS or framework.

    Who: Executive Developer

    Advanced 1 to 3 days
  2. 22.05
    Plan a separate URL for each language version

    Give each language version its own URL, with no parameter, cookie or language negotiation, on Apache, Nginx, Cloudflare, WordPress, Shopify, Laravel, Next.js.

    Who: Developer

    Intermediate 2 h to 2 days
  3. 22.06
    Translate slugs if relevant

    Decide when to translate each language's slugs, handle accents and non-Latin scripts, and configure WordPress, Shopify, Laravel, Symfony or Next.js without breaking URLs.

    Who: Developer Writer

    Intermediate 2 h to 2 days
  4. 22.13
    Check URL structure consistency

    Audit the URL structure of each language (prefix, codes, trailing slash, case, translated segments) with a free script, Screaming Frog and a grid.

    Who: Developer

    Intermediate 2 h to 1 day
  5. 22.14
    Define the default version

    Choose the default language, what the root serves and the x-default target, then configure Apache, Nginx, Cloudflare, WordPress, Shopify or Next.js.

    Who: Developer Marketing

    Intermediate 1 to 3 h

3Avoid cookies and forced redirects

0/3 done
  1. 22.07
    Avoid handling language only through cookies/JS

    Find languages served by cookie, session or JavaScript on a single URL and replace them with server-rendered translated pages, in every environment.

    Who: Developer

    Intermediate 2 h to 3 days
  2. 22.08
    Avoid forced IP-based redirects

    Remove automatic IP-based redirects on your server, CDN, Shopify store or application, and replace them with a non-blocking suggestion of the right version.

    Who: Developer System administrator

    Intermediate 2 to 6 h
  3. 22.09
    Avoid forced redirects based on browser language

    Remove automatic redirects based on browser language and suggest the right version without forcing it, on the server, CDN, CMS or framework.

    Who: Developer

    Intermediate 1 to 4 h

4Language switcher and missing translations

0/4 done
  1. 22.10
    Provide a crawlable language switcher

    Build a language switcher from real HTML links to each version, readable by crawlers and accessible, on WordPress, Shopify, Laravel and Next.js.

    Who: Developer

    Intermediate 1 to 4 h
  2. 22.11
    Link to the equivalent page rather than the homepage

    Point the language switcher and hreflang to the same page in the other language, not to the homepage: method, checking script and code for each CMS.

    Who: Developer Writer

    Intermediate 2 h to 2 days
  3. 22.12
    Plan for missing translations

    Decide what to serve when a page does not exist in a language (switcher, hreflang, sitemap, 404) and configure WordPress, Shopify, Laravel or Next.js.

    Who: Developer Writer

    Intermediate 2 h to 1 day
  4. 22.15
    Avoid mixed-language pages with partial translations

    Find pages that mix two languages (untranslated content, forgotten strings, CMS fallback) and block their publication on WordPress, Shopify or Laravel.

    Who: Developer Writer

    Intermediate 2 h, then ongoing