Sitemap having line errors but formatting is correct
-
We recently started having issues with our sitemap generated by Yoast, see here: https://www.roofingdirect.com/sitemap_index.xml
Google Search Console reads it as a general http error. Nothing has been changed in Yoast settings. Robots.txt did get updated but nothing of note that would cause this error.
The current error reads as the following:
This page contains the following errors:
error on line 1 at column 7: XML declaration allowed only at the start of the document Below is a rendering of the page up to the first error.
The page source of the sitemap looks to follow the format on Yoast documentation. This is causing errors with our ads and merchant center products. I did try to disable the sitemap, clear all levels of cache and re-enable it and that did not fix the error.
Thank you!
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.