WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Error for create XML (5 posts)

  1. andrea.germ
    Member
    Posted 1 year ago #

    Hi,

    why the I press on XML Sitemap, on Sitemap XML tab, it show this:

    This page contains the following errors:

    error on line 9 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.

    Why ?

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

  2. Andy Fragen
    Member
    Posted 1 year ago #

    I see almost the same error.

    error on line 2 at column 6: XML declaration allowed only at the start of the document

  3. lemonpromotions
    Member
    Posted 1 year ago #

    Just wanted to tag onto the end of this and see if it gets resolved and might remedy my "/sitemap_index.xml was not found on this server." problem.

  4. droberson
    Member
    Posted 1 year ago #

    I'm getting an 404 when trying to view my site map. Any thoughts as to why I can get the the page? Has something changed in the update?

    Thanks in advance

  5. Andy Fragen
    Member
    Posted 1 year ago #

    Here's what I found out by disabling all plugins and activating one by one. A plugin of my own creation had some whitespace outside of the <?php ... ?>.

    After fixing that plugin all works as expected. Additionally, when I activated that plugin I got the following error.

    The plugin generated 1 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    Strange as I don't recall seeing this before.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags