WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Sitemap Error (4 posts)

  1. Cultivate
    Member
    Posted 3 years 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?

  2. Bryan Hoffman
    Member
    Posted 2 years 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

  3. Cultivate
    Member
    Posted 2 years 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!

  4. Bryan Hoffman
    Member
    Posted 2 years 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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic