Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
This sitemap error indicates that there must be some white space before the XML Sitemap’s source code. You can check the source code of Sitemap to see if there are some extra blank lines before the XML. This is usually caused by blank lines or spaces in your wp-config.php
or functions.php
file.
Please check the link below and follow this troubleshooting guide to fix that issue:
https://rankmath.com/kb/fix-sitemap-issues/#xml-text-declaration
Let us know how it goes. Looking forward to helping you.
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.