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.
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
Hello India,
It looks like you are experiencing a different problem. Could you please open a ticket on the Support Forum with your debug information? You will get a custom assistance for your specific problem.
Same issue for me! Did you find a solution?
The Workaround did not work…
Hello @impzy,
Could you please open a new ticket on the support forum? Please also provide your debug information.
Thanks,
Pierre
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.
I cant contact technical support
I found it
Hi,
I’m having the same issue and the workaround doesn’t work.. any solution please?
Hello Marta,
I am sorry to hear this. Please go to our dedicated forum to clients.
Log in and start a new thread where one of our supporters will assist you https://wpml.org/forums/forum/english-support/.
Available in Spanish https://wpml.org/es/forums/forum/soporte-en-espanol/
Kind regards,