All articles

SEO2 min read

Multilingual SEO on WordPress: hreflang, translated URLs and sitemaps

What Google needs to rank every language of your site: URL structure, hreflang tags, translated metadata and sitemaps, explained with examples.

Translating the content is only half the job. For each language to show up in the right search results, Google needs to understand which pages are translations of which, and who each one is for. These are the four pillars.

1. A dedicated URL for each language

Each version needs its own crawlable URL. If the language only changes with a cookie or JavaScript at the same address, Google will see a single language. The usual options are:

  • Subfolders (yoursite.com/es/): the simplest and the one that makes the most of your domain's authority.
  • Subdomains (es.yoursite.com): useful if each language has a different team or server.
  • Country domains (yoursite.es): the strongest geographic signal, but also the most expensive to maintain.

One more step: translate the last part of the address too. /es/contacto/ is clearer and more relevant than /es/contact/.

2. hreflang tags

hreflang tags tell Google: “this page also exists in these languages, and these are their addresses”. That way it shows each person the right version and doesn't treat translations as duplicate content. Key rules:

  • Each version must link to all the others and to itself.
  • Links must be reciprocal: if page A points to B, B must point to A.
  • Use valid codes (es, en, pt-BR, zh-Hans) and add an x-default version for anyone who doesn't match any of them.

3. Translated metadata

The title and description shown on Google are written separately from the content. If you forget them, your Spanish page will appear with an English title and your click-through rate will drop. Also translate image alt text and social sharing data (Open Graph).

4. Per-language sitemaps

An XML sitemap that includes every version (or one per language) helps Google discover translations faster. Submit it in Google Search Console and check each language's indexing report during the first few weeks.

Quick checklist

  1. 1Each language has its own crawlable URL.
  2. 2hreflang tags are reciprocal and include x-default.
  3. 3Titles, descriptions and alt text are translated.
  4. 4The sitemap includes every version.
  5. 5There are no forced redirects by language or country.

Langlume takes care of translated URLs, hreflang tags, per-language metadata and multilingual sitemaps, and works with Yoast, Rank Math and SEOPress. See how it works.

Translate your site without duplicating pages

Start with the free plugin and move to Pro whenever you want more AI engines.

Discover Langlume