Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 10:00 8:00 – 10:00 8:00 – 13:00 8:00 – 13:00 9:00 – 13:00 -
- 11:00 – 17:00 11:00 – 17:00 14:00 – 17:00 13:00 – 17:00 13:00 – 18:00 -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by Lauren 13 hours, 1 minute ago.

Assisted by: Lauren.

Author Posts
June 24, 2025 at 12:05 am #17162657

stephaneM-28

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?

June 24, 2025 at 12:34 am #17162710

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

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.

June 24, 2025 at 7:19 pm #17166542

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

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!