Support » Plugin: Yoast SEO » [Plugin: WordPress SEO by Yoast] Sitemap Error

  • 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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

    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!

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] Sitemap Error’ is closed to new replies.