Multilingual Rank Math with MULTIGURA
MULTIGURA makes the output of Rank Math multilingual. Rank Math takes the canonical URL, og:url and schema from WordPress links, which MULTIGURA already gives in the language of the page. The integration adds the rest: the home page of each language, hreflang tags, links to the other languages in the sitemaps and SEO texts of terms per language.
What gets translated
- Canonical URL and breadcrumbs of the home page of each language, pages 2 and later included
- The hreflang and x-default tags after the canonical, and og:locale:alternate
- Links to the other languages in Rank Math’s sitemaps
- SEO title, description, breadcrumb title, focus keyword and Facebook and Twitter texts of terms, per language
Language links and sitemaps
For a post, hreflang lists its published language versions, and for a term, archive or author page, every language. In the sitemaps, each URL gets xhtml:link entries for its other languages. The first links of a post type sitemap (the home page, the posts page and the archive) are listed in every language too.
SEO texts of terms
Rank Math keeps the SEO texts of a term in term meta. For languages other than the default one, MULTIGURA stores them per language, so the Rank Math box in the admin, the term page and the site all use the texts of the current language. Robots, canonical, images and schema stay the same for all languages. A language without its own texts uses Rank Math’s template with the term name in that language, and an emptied field removes the text of that language only.
Translations of posts
When a translation is created, the Rank Math fields of the original are copied, except the canonical URL. With AI translation turned on, only the texts are translated (title, description, focus keyword, breadcrumb title and social texts), and Rank Math variables such as %title% and %sep% stay as they are.
Compatibility
- Rank Math 1.0.200 or newer, tested with Rank Math 1.0.282.
- When the MULTIGURA SEO module is on, it prints hreflang itself and the integration does not print it twice.
Setup
- Activate Rank Math and MULTIGURA. The integration starts by itself.
- To let Rank Math handle titles, meta and sitemaps, keep the MULTIGURA SEO module off in General → Modules.
- In General → Translatable content, add your post types and taxonomies.
- Create translations of posts and pages. Their Rank Math fields are copied from the original.
- Switch the admin to each language and fill in the Rank Math texts of your categories and tags.
Frequently asked questions
Can I use Rank Math 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.
Where do I translate the SEO texts of a category?
Switch the admin to the language, open the category and fill in the Rank Math box. The default language keeps Rank Math’s own values.
Are the canonical URL and robots of a term translated?
No. Robots, canonical, images and schema of a term are the same for all languages. Only the texts change with the language.