Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
Unfortunately, Polylang is not yet compatible with Rank Math. We have been trying to collaborate with them for a few years but left the conversation when they refused to add the compatibility even though they have it for several other plugins (some of them have a smaller user-base compared to RM)
https://github.com/polylang/polylang/tree/master/integrations
You can check their public repository where we created a pull request (linked to from your opening post) a few years back and we would have maintained it (though that would not have happened ideally since we do not make changes in the plugin that breaks the compatibility).
Disappointingly, the compatibility needs to be added in their plugin as they added for other SEO plugins. We are more than committed to making that happen and always keep it updated, of course, if their team agreed and wanted to collaborate.
Meanwhile, you can check this list for compatible products with Rank Math:
https://rankmath.com/compatibility/
You can also check these multilingual plugins that are already compatible with Rank Math to handle your website’s translation:
https://rankmath.com/kb/multilingual-seo-wpml/
https://rankmath.com/kb/multiple-languages-seo-rankmath-translatepress/
I hope that helps. Thank you, and please don’t hesitate to contact us if you need further assistance.
Hi Jeremy,
Thank you for your reply. Hopefully the Polylang developers will cooperate with you soon.
Can this error cause any big issues to my website or is it just a minor one?
Andrej
Hello,
Rank Math does not control the hreflang and alternate tags, we rely on Polylang for that. Also, the canonical tag from Rank Math is already pointing to the same URL.
Google provides a detailed guide on how to correctly implement hreflang, alternate, and canonical on a multilingual site: https://developers.google.com/search/blog/2010/09/unifying-content-under-multilingual
You can get in touch with Polylang for setting the rel="alternate"
attribute on your site.
I hope that helps.
Thank you.
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.