Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
We currently do not have full compatibility with the Polylang plugin. We had asked them to add this compatibility for Rank Math. Last year, we also submitted a PR in their repo but for some reason, they are not merging it.
Here is a PR link: https://github.com/polylang/polylang/pull/373
The PR also includes the code which will fix the Sitemap issue.
Please contact the PolyLang team and ask them to merge the code into their public plugin so that the issue can be fixed permanently.
We are also working on it but it might take a few months before we add that since we are busy adding other features to the plugin.
Hope that helps.
Well there are 2 code blocks. which one we have to use in this case?
Hello,
Thanks for getting back to us.
There are changes to two files and all of them are necessary to add the Rank Math compatibility to that plugin.
We went ahead and created the PR but the team at Polylang has not included it yet in the plugin and thus we have to wait for them to decide to include it in their plugin. We did our part and added all the appropriate code in a PR like my colleague mentioned.
So, we just need to be patient and wait for them to approve those changes and merge them.
Don’t hesitate to get in touch if you have any other questions.
Do you understand what I am asking about? Have you read my question?
Why you can’t just place here code snippet which has to be switched ON in order to have it working?
Hello,
Thanks for getting back to us.
This is not a simple filter that you can switch on or off, this changes the core functionality of a plugin that is not created by us. These changes need to be approved by the developers of Polylang before they can be included in their plugin.
We already did all the coding and opened that PR for them to check and get back to us in case they need further changes to the code.
Now the ball is on the Polylang team, as they are the only ones that can approve that code.
Hope this helps clarify your doubts.
Don’t hesitate to get in touch if you have any other questions.
OK. Please can you post here this part of code?
Hello,
Thank you for keeping in touch with us.
As my colleague explained:
We already did all the coding and opened that PR for them to check and get back to us in case they need further changes to the code.
So adding these codes yourself will not be ideal since we still need verification and possibly a revision to make this 100% working for compatibility.
This is a challenge that we are facing for over a year and since Polylang is still not responding to this pull request, we simply can’t do so much but wait.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
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.