Hello,
Thanks for contacting Rank Math and sorry for any inconvenience that may have been caused.
I’m sorry to inform you that currently, we do not have the option to segregate the links based on the language on the HTML sitemap.
In this case, you can use a 3rd part plugin to create these types of HTML sitemaps for each language.
With that said, we don’t have this option but we have added this to the list of feature requests. If there is more user feedback asking for this feature, we will consider adding it to a future version of Rank Math.
However, when using the XML sitemap, WPML puts in hreflang
into each page automatically so a new link for each language is not needed.
Please go through the guide here: https://rankmath.com/kb/multilingual-seo-wpml/
The folks at WPML also have a guide on the topic: https://wpml.org/documentation/plugins-compatibility/optimize-multilingual-websites-using-rank-math-and-wpml/
Please note that Rank math only creates the default site language sitemap. WPML handles the translation site sitemaps automatically.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.