Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
Upon checking your sitemaps, the error message you are seeing indicates that there is some extra content before the XML declaration of your sitemap file.
This could be caused by a plugin, theme, or server configuration issue that is adding whitespace, comments, or other output before the sitemap is generated.
Most likely a plugin has added blank whitespace at the beginning or end of its code.
You can check this link for more information:
https://rankmath.com/kb/fix-sitemap-issues/#xml-text-declaration
Let us know how this goes.
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.