Hello,
Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.
This error suggests that there must be some white spaces before the XML Sitemap’s source code.
This might be added by a blank line/space in your wp-config.php file or your theme’s functions.php file. If there is no such blank space in your wp-config.php or functions.php file, check for a plugin conflict using this guide: https://rankmath.com/kb/check-plugin-conflicts
Also, make sure your cache is disabled as it is highly likely that the cache is interfering with the working of Sitemap functionality of Rank Math.
https://rankmath.com/kb/exclude-sitemaps-from-caching/
Hope this helps. Let us know if you need any further assistance.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hi Jaideep,
Thank you for your quick reply.
There seems to be no Sitemap xml code in the wp config file or functions php file (I have attached some pictures above).
All of the caching settings were done beforehand and no conflicts were visibile with the theme or plugins (I use another website setup with the exact same theme and plugins with Rankmath and it works just fine)
Many thanks
James
Hello,
Thank you for the update, and apologies for the delay.
I’ve checked your sitemap, and it seems that it is already working fine. You can also test your sitemap using this tool to check.
In this case, please remove all your sitemaps submitted in your Google Search Console and resubmit your main sitemap only https://www.englishhairdresserinfrance.com/sitemap_index.xml
Then give Google some time to recrawl your website. Your main sitemap will be used as well to crawl your other sitemaps.
I hope that helps. Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.
Hi Reinelle,
Many thanks.
I actually managed to get it to work. It was the theme causing the issue. I deleted the theme, redownloaded the latest version, deleted the cache and it solved the problem
Cheers
James
Hello,
Thank you for the update.
We are super happy that this issue is already resolved. If you have any other questions in the future, know that we are here to help you.
If you don’t mind us asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.