Background of the issue:
I am using WPML with my WordPress site hidden link. I noticed that WPML has moved hreflang tags to the sitemap to improve SEO and avoid duplicate hreflang data. WPML has disabled the hreflang tags in the page's section, but I can re-enable them in WPML → Languages → SEO options. I use RankMath for SEO.
Symptoms:
I do not see hreflang tags in my RankMath sitemap.
Questions:
Will the information about hreflang tags in the WPML documentation apply to RankMath as well?
How can I ensure hreflang tags appear in my RankMath sitemap?
Please let me know if you are able to set up a copy of your site for further testing. If not, I can set one up for you and migrate ac opy of the site there.
Our compatibilty team is looking into this issue and has asked if I can get a copy of your site - either using the Duplicator plugin or a database dump. I have marked the next reply with the fields to provide a link to duplicator or database dump safely, if you are able to share. Thanks!