Cultivate
Member
Posted 11 months ago #
Im getting the following error on the sitemap being automatically generated:
This page contains the following errors:
error on line 6 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.
Heres the page being generated http://www.communitycentres.org.uk/sitemap_index.xml
Im using the latest version (0.4.2) of the the plugin.
Any ideas?
Bryan Hoffman
Member
Posted 6 months ago #
Cultivate, I see you've repaired your WordPress SEO sitemap. Can you post your fix?
Was it due to a blank line somewhere in your theme?
Thanks,
~ Bryan
Cultivate
Member
Posted 6 months ago #
Bryan,
Yes i should've returned and posted the solution.
It turned out to be a couple of extra returns in my functions file that was creating whitespace in the theme.
Hope that helps!
Bryan Hoffman
Member
Posted 6 months ago #
That's what I assumed, I just wish that was my issue... I'm having trouble with the W3 Total Cache and blank line errors on both the sitemaps and the feeds.
Thanks for the update!