International and multilingual SEO
Serve each language or country on its own URL, link the versions with hreflang, and never force visitors to a version based on their IP address.
- Time
- 20 min
- Level
- advanced
- Reviewed
- 5 November 2026
After this lesson you can
- Choose a URL structure for language or country versions.
- Implement hreflang correctly, including return links and x-default.
- Avoid automatic IP-based redirects and other common mistakes.
If you serve customers in more than one language or country, each version needs its own URL, and search engines need to know which version to show to whom.
Choose a URL structure
| Structure | Example | Pros | Cons |
|---|---|---|---|
| Country domain (ccTLD) | example.lt, example.lv | Clearest country signal | Separate domains to buy, run and build authority for |
| Subdomain | en.example.lt | Easy to set up, can be hosted separately | Users may not know whether en means a language or a country |
| Subdirectory | example.lt/en/ | Easy, one domain, low maintenance | One server location, sections less separable |
| URL parameter | example.lt/?lang=en | None worth having | Google does not recommend it |
For most small and medium Lithuanian sites, subdirectories (/en/, /ru/) are the simplest and most common choice.
hreflang
hreflang annotations tell Google which URL to show for which language, and optionally which region. You can add them in the HTML head, in HTTP headers (useful for PDFs), or in the XML sitemap. Google treats all three as equivalent, so use one.
<link rel="alternate" hreflang="lt" href="https://example.com/paslaugos/remontas/" />
<link rel="alternate" hreflang="en" href="https://example.com/en/services/repair/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/paslaugos/remontas/" />
Common mistakes:
- Missing return links.
- Pointing hreflang at URLs that redirect, return 404, or are canonicalised elsewhere.
- Invalid codes such as
en-UK, or a region on its own (LT) instead of a language (lt). - A canonical on every language version pointing to one language. Each version should be its own canonical.
Do not force redirects
Platform notes
- PrestaShop: multiple languages are built in, using subdirectories such as
/en/. Check that hreflang output is complete on products and categories, and translate URLs (friendly URLs per language) as well as content. - WordPress: multilingual plugins such as WPML or Polylang add hreflang. Check the output with a crawler.
- Shopify: Shopify Markets handles languages and countries in subdirectories, and outputs hreflang automatically.
Practice
Read the lesson, pass the quiz and do the exercise to complete it.
Knowledge check
5 questions. Get at least 4 right to pass.
Exercise: Plan or check language versions
If your site has more than one language or country version, check three pages with the page inspector. Confirm that hreflang lists every version including itself, that the URLs are absolute and return 200, and that the return links exist. If your site has one language, write a plan for adding a second (URL structure, hreflang method, language switcher, what content is translated).
Deliverable: Either an hreflang check for three page sets with any problems recorded as issues, or a one-page plan for a second language version.
Sources
Checked against these sources on 5 November 2026. Next review by 5 May 2027.
- Managing multi-regional and multilingual sites (Google Search Central, official)
- Tell Google about localized versions of your page (Google Search Central, official)