Multilingual The SEO Framework with MULTIGURA

The SEO Framework

The SEO Framework keeps the address of the site home from the start of the request, so its output would point to the default language. MULTIGURA corrects the output itself: canonical, og:url, schema and breadcrumbs lead to the home page of the current language, the head gets hreflang tags and the sitemap lists every language.

What gets translated

  • Canonical URL, og:url, every URL of the schema graph and breadcrumbs, in the language of the page
  • The hreflang and x-default tags after the canonical, and og:locale:alternate after og:locale
  • Links to the other languages and the home page of each language in the sitemap
  • Title, description and Open Graph and Twitter texts of terms, per language

Sitemap

The SEO Framework has no filter for a single sitemap URL, so MULTIGURA adds the language links when the sitemap is built and when it is read from the cache. The home pages of all languages are added as entries. The sitemap cache is cleared when the languages of the site change.

SEO texts of terms

The default language keeps the values of The SEO Framework. For the other languages, the title, description and social texts are stored per language and read in the language of the admin or the page. Robots, canonical and images stay the same for all languages.

Translations of posts

When a translation is created, The SEO Framework fields of the original are copied, except the canonical URL and the redirect. With AI translation turned on, only the texts are translated.

Compatibility

  • Tested with The SEO Framework 5.2.
  • When the MULTIGURA SEO module is on, it prints hreflang itself and the integration does not print it twice.

Setup

  1. Activate The SEO Framework and MULTIGURA. The integration starts by itself.
  2. To let The SEO Framework handle titles, meta and the sitemap, 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, then switch the admin to each language and fill in the SEO texts of your terms.

Frequently asked questions

Why does The SEO Framework need its own integration?

It stores the home URL of the site before the language of the request is known. Without the integration, canonical URLs and schema on the home page would point to the default language.

Is the sitemap cached?

Yes, by The SEO Framework. MULTIGURA adds the language links to the cached copy too and clears it when the languages of the site change.

Can I use it together with the MULTIGURA SEO module?

Yes. They run together and hreflang is printed only once.