Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.

Skip to main content

Slim SEO - WPML Integration

WPML is the go-to solution for efficient, accurate, and hassle-free translation management in WordPress. With over 1 million active users worldwide and more than 15 years of industry expertise, WPML is a trusted market leader in WordPress multilingual solutions.

If you're a Slim SEO user, you'll have a full integration with WPML, that helps you improve your multilingual site's SEO performance.

Translating meta title and description for posts​

Slim SEO allows you to set specific meta title and meta description for posts. Now you can translate these meta tags with WPML easily. Follow these steps:

Assuming that you have a post with manual meta title and description as follows:

Translate meta title and meta description

On the right sidebar, in the Translation area, click the plus icon (or the settings icon if you already translated it) next to the language to add a new translation for the post. WPML will automatically loads the translation editor screen for you to translate the content like this:

WPML translate editor screen

You'll see Slim SEO's meta tags (title and description) available there, so you can translate them for the post.

Translating meta tags settings​

Slim SEO has a settings page, where you can set up the meta tags for post types and taxonomies with dynamic variables:

Dynamic variables in Slim SEO

You can translate these settings with WPML with the help of the String Translation module.

Simply go to WPML → String Translation, and enter slim_seo in the search box to find all settings by Slim SEO. Then in the table list below, you can click the plus icon next to the settings you want to translate:

Translate Slim SEO settings with WPML

caution

If you don't see Slim SEO's settings here, that means that the settings is not modified and will use the default value. In this case, you need to modify the default settings value at Slim SEO → Meta Tags. Then go back to this screen and you'll see the settings.

info

It's not possible to switch the language (from the language switcher in the admin bar) and enter the translations directly on the Slim SEO's settings page. You must translate the settings on the WPML's String Translations page.

Hreflang tag and multilingual sitemap​

Another aspect of multilingual SEO is the hreflang tag. By default, WPML automatically outputs the hreflang in the HTML of the posts on the front end, like this, so Slim SEO has to do nothing:

<link rel="alternate" hreflang="en" href="https://example.com/wordcamp-asia-2025/" />
<link rel="alternate" hreflang="vi" href="https://example.com/vi/wordcamp-asia-2025/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/wordcamp-asia-2025/" />

However, in the XML sitemap for posts, Slim SEO will automatically adds hreflang tags to the sitemap for each post. This is not visible to human, but when you view the source code of the sitemap, you will see it like this:

Multilingual sitemap with WPML

Both methods (outputting in HTML and in XML sitemap) are the recommended ways to tell Google about translations of your pages.