Multilingual Yoast SEO with MULTIGURA

Yoast SEO

MULTIGURA makes the output of Yoast SEO multilingual. Canonical URLs, Open Graph, schema and breadcrumbs follow the language of the page, Yoast’s head gets hreflang tags, and its sitemaps list every language version. Which SEO output runs on the site (Yoast’s, the MULTIGURA SEO module or both) is your choice.

What gets translated

  • Canonical URL, og:url, schema and pagination links in the language of the page
  • Breadcrumbs and the home page link of each language
  • The hreflang and x-default tags in Yoast’s head block, and og:locale:alternate
  • Links to the other languages in Yoast’s sitemaps
  • SEO title, description, breadcrumb title, focus keyphrase and social texts of terms, per language

Language links and sitemaps

Yoast stores one URL for a post or a term. MULTIGURA asks WordPress for the link of the current request instead, so every language gets its own canonical and og:url. For a post, hreflang lists its published language versions, and for a term, archive or author page, every language. Search results, date archives, 404 pages and pages 2 and later get none.

In the sitemaps, each URL gets xhtml:link entries for its other languages. Terms and authors are listed with the URL of the default language and the other languages as alternates.

SEO texts of terms

The default language keeps Yoast’s own values. For the other languages, the SEO title, description, breadcrumb title, focus keyphrase and social texts are stored per language: switch the admin to a language, open the term and fill in the Yoast box. Robots, canonical and images stay the same for all languages. A language without its own texts uses Yoast’s template with the term name in that language, not the text of the default language.

Translations of posts

When a translation is created, the Yoast fields of the original are copied, except the canonical URL. With AI translation turned on, the title, description, focus keyphrase, breadcrumb title and social texts are translated, while Yoast variables such as %%title%% and %%sep%% stay as they are.

Compatibility

  • Yoast SEO 20 or newer, tested with Yoast SEO 28.9.
  • When the MULTIGURA SEO module is on, it prints hreflang itself and the integration does not print it twice.

Setup

  1. Activate Yoast SEO and MULTIGURA. The integration starts by itself.
  2. Decide which SEO output you want. To let Yoast handle titles, meta and sitemaps, keep the MULTIGURA SEO module off in General → Modules.
  3. In General → Translatable content, add your post types and taxonomies.
  4. Create translations of posts and pages. Their Yoast fields are copied from the original.
  5. Switch the admin to each language and fill in the Yoast texts of your categories and tags.

Frequently asked questions

Can I use Yoast SEO and the MULTIGURA SEO module together?

Yes. They run together and hreflang is printed only once. Usually one SEO output is enough, so pick the one whose settings you prefer.

Do draft translations appear in hreflang?

No. Only published language versions that can be indexed appear in hreflang and in the sitemaps.

Where do I translate the SEO texts of a category?

Switch the admin to the language, open the category and fill in the Yoast box. The default language keeps Yoast’s own values.