WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
sitemap: XML Parsing Error (2 posts)

  1. helloari
    Member
    Posted 3 years ago #

    i had google xml sitemaps plugin but tried the xml feature of this plugin (wordpress seo plugin by the amazing mr yoast)

    i went to check the xml sitemap and i got this error:
    XML Parsing Error: XML or text declaration not at start of entity
    Location: http://www.glogoodz.com/sitemap_index.xml
    Line Number 1, Column 9:

    i tried it with a few settings on and off and it didn't change. i tried turning 'google xml sitemap' plugin on and off and that didn't change anything. the sitemap from that plugin is at
    http://www.glogoodz.com/sitemap.xml

    any ideas what might be wrong?

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. Jon Cave
    WordPress Dev
    Posted 3 years ago #

    Check your themes functions.php file and other plugins for trailing whitespace (or opening whitespace) outside of the <?php and ?> tags. I think something is outputting whitespace before the SEO plugin has a chance to display the sitemap and that is the most likely cause.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic