Rank Math is an SEO plugin that offers many search engine optimization tools. In this tutorial, you will learn how to optimize your multilingual website built with WPML using Rank Math.
- Getting started
- WPML translation tools
- Translating global SEO text
- Translating on-page SEO attributes
- Translating sitemaps
- Getting help
Make sure that you have activated the Rank Math SEO plugin by navigating to Plugins → Installed Plugins.
Also, make sure that you have activated the WPML Multilingual CMS, WPML String Translation, and WPML Translation Management plugins.
For a better translation experience, we recommend that you activate the WPML’s Advanced Translation Editor. To do this, go to the WPML → Settings page. Under the How to translate posts and pages section, check the “Use WPML’s Advanced Translation Editor” option.
Besides translating your site content yourself, you can also:
- Send your content for translation to a professional translation service.
- Create your own team of local translators from the Translation Roles tab in Translation Management and assign translation jobs to them.
Rank Math allows you to set global SEO attributes such as the breadcrumbs homepage label, homepage meta description, homepage title for Facebook, and more. You can set these attributes in Rank Math’s General Settings and Titles & Meta screens.
You can translate these attributes in WPML’s String Translation screen. As an example, let’s set the breadcrumb homepage label to be ‘Home’.
To translate the breadcrumbs homepage label and other general setting texts, follow the steps below:
- Navigate to WPML → String Translation.
- To display all the general settings string, Select the admin_texts_rank_math_options_general from the Select strings within domain drop-down.
- Click on the Translations link and add the translation. Then, tick the translation is complete option and click Save.
To translate the Titles & Meta strings, simply choose admin_texts_rank_math_options_titles from the Select strings within domain drop-down and follow the same steps.
It is worth mentioning that WPML synchronizes the non-textual SEO values between different languages such as enabling or disabling the Nofollow External Links and the Enable breadcrumbs function options.
Rank Math allows you to set on-page SEO attributes such as the page title, permalink, and description.
To translate the page’s SEO attributes along with the page content follow the steps below:
- Go to the page or post editing screen.
- In WPML’s language box, click on the plus icon corresponding to the language you want to translate your page into. This will take you to WPML’s Advanced Translation Editor screen.
- In the Advanced Translation Editor, you will find all the on-page textual SEO attributes along with the page content available for translation.
- Click on the Translate automatically button, review the translation to ensure it is accurate, then click Finish and Complete to publish the translation.
If you choose other language URL formats, the multilingual sitemaps generated by Rank Math don’t follow the standard structure of multilingual sitemaps. WPML takes care of this by creating hreflang tags so that search engines know the default language of the page’s content and the translation available in different languages.
In case you need help translating your site built using Rank Math SEO and WPML, visit WPML’s support forum.