hreflang error

#295366
  • Resolved Andrej
    Rank Math free

    Hi,

    I’m using your SEO plugin RankMath on my website and it is great. However, my website is multilingual and it shows a hreflang error.

    I use the Polylang plugin for multilingual functionality. Is RankMath not compatible with Polylang? If you are working on this, when could it be compatible?

    Or, isn’t there a different solution? Maybe to create the hreflang tags with a different plugin like e.g. wordpress.org/plugins/hreflang-tags-by-dcgws/ ?

    Can this error cause big issues or is it just a minor one?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Andrej
    Rank Math free

    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.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘hreflang error’ is closed to new replies.