Sitemap getting an error
-
Similar to this issue https://ww.wp.xz.cn/support/topic/xml-sitemap-44/#post-18642670
My map is getting the “XML declaration allowed only at the start of the document” error.
https://cannycostumes.com/sitemap_index.xml
What I’ve tried so far:
1. Turning off the sitemap feature in Yoast SEO plugin, saving, then turning the feature back on. Was hoping this would regenerate the sitemap file. Error persisted.
2. Checked for plugin conflicts. Used the Health check and Troubleshoot plugin to disable plugins for admins, and enabled only Yoast SEO. I get a 404 page after turning on Trouble shoot Mode, and the “XML declaration…” error after enabling Yoast SEO.
3. Tried regenerating sitemap like in Item 1 while Troubleshoot mode was active. Error is still present.
Have I missed anything worth trying?
The topic ‘Sitemap getting an error’ is closed to new replies.