Hello,
We apologize for the issue you are facing with the hreflang tags not reflecting correctly in Rank Math. It sounds like you have set up WPML properly, but there may be some additional steps needed to ensure that the hreflang tags are functioning as expected.
Rank Math automatically adds hreflang tags to your translated pages, which helps search engines understand that a particular page is a translated version of another page on your website. If you have submitted your main sitemap index to Google, the translated pages should be picked up automatically from there.
If you are not seeing the hreflang tags, please ensure that:
- You have the latest versions of both Rank Math and WPML installed.
- The translations for your pages are correctly set up in WPML.
- You can check your sitemap at
domain.com/sitemap_index.xml to see if the translated pages are listed correctly.
If everything seems correct but the issue persists, we recommend replying to this ticket so a human agent from the Rank Math Support team can assist you further with this specific issue.
Thank you for raising this concern, and we hope to resolve it for you soon!
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Dear all,
we cannot generate a sitemap for the .com/de version – so we have used only 1 sitemap to Google.
(done – nothing new to update) You have the latest versions of both Rank Math and WPML installed.
(done – believe it is proper) The translations for your pages are correctly set up in WPML.
(only 1 sitemap) You can check your sitemap at domain.com/sitemap_index.xml to see if the translated pages are listed correctly.
Can you assist further?
Hello,
Thank you for contacting support.
The hreflang tag is added by the translation plugins not by our plugin.
Our plugin doesn’t create language-specific sitemaps and it never did because that is handled by the translations plugins and also because Google can discover the other languages from the main one added to the sitemap.
There are two options to index the language files, either with a different sitemap or the hreflang tag present on the pages, with our plugin the second option is the default.
Don’t hesitate to get in touch if you have any other questions.
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.