This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was unsure if they needed to create separate sitemaps for each language when using Yoast SEO with WPML, especially when using a directory structure for languages (e.g., /es/ for Spanish).
Solution:
We informed the client that when using Yoast SEO with WPML, there is no need to create separate sitemaps for each language. Yoast SEO and WPML work together to handle multilingual sitemaps efficiently. We provided a link to documentation on how Yoast SEO works with WPML: https://wpml.org/documentation/plugins-compatibility/using-wordpress-seo-with-wpml/#translate-sitemaps
We also emphasized the importance of having the WPML addon plugin, WPML SEO, installed: https://wpml.org/documentation/related-projects/wpml-seo/
We clarified that for directory-based language setups, the sitemaps are automatically sorted with the WPML SEO plugin, and there will only be one sitemap index (e.g., https://what-to-do-in.co.uk/sitemap_index.xml). However, individual sitemaps like https://what-to-do-in.co.uk/post-sitemap.xml will show posts for each translation. We noted that separate sitemap_index.xml files are only generated for each language when using different domains per language.
If this solution is not relevant due to being outdated or not applicable to your case, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please contact us in the WPML support forum: https://wpml.org/forums/forum/english-support/.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 5 replies, has 2 voices.
Last updated by 1 year, 8 months ago.
Assisted by: Marsel Nikolli.