WPML
Status
Resolved
Reported for
WPML Multilingual CMS 3.4.1
Resolved in
WPML Multilingual CMS 3.7

Overview of the issue

In the Yoast SEO category sitemap, the URLs for the 2nd language are wrong. Their slugs are taken from the default language categories.

For example, if you have a category called Houses, which translates to Maisons in French, the sitemap will currently be generating URLs like this:

http://example.com/category/houses/ (English – default language)

http://example.com/fr/category/houses/ (French – second language)

However, the correct URLs should be:

http://example.com/category/houses/

http://example.com/fr/category/maisons/

Workaround

As a temporary workaround, go to WPML -> Languages -> Make themes work multilingual and deselect the Adjust IDs for multilingual functionality option.

All known issues →