Skip Navigation

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.

10 Responses to “Yoast SEO - Wrong 2nd language category URLs in the XML sitemap”

  1. Hello,

    I did that but I still have the problem. It’s not quite the same …
    The snippet from my yoast seo premium plugin is right but just for my default language and not for the other 2 languages. It always takes my default language and not my subpage section … What do I have to do?

    India

  2. Hello guys this forum is really slowwwww 18 seconds to show results,can you help me please,where can I create a topic, I cant find it!

    Thank you.