This thread is resolved. Here is a description of the problem and solution.
Problem:
How to add an HTML sitemap that only includes links to posts in the selected language.
Solution:
If you're experiencing issues with creating an HTML sitemap that includes only posts in a specific language, we recommend using the "different domain per language" option. You can find more information on how to set this up in our documentation: Using WordPress SEO with WPML.
If you're not using the "different domain per language" option, it's important to note that WPML automatically adds "hreflang" tags to each page, which eliminates the need for a separate sitemap link for each language. Therefore, you won't see translated links in your sitemap.
If this solution doesn't look relevant to your situation, please feel free to open a new support ticket in our support forum.
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 1 reply, has 2 voices.
Last updated by 11 months, 1 week ago.
Assisted by: Mihai Apetrei.