WordPress.org

Forums

Yoast SEO
[resolved] [Plugin: WordPress SEO by Yoast] Google Sitemap (2 posts)

  1. originalconcept
    Member
    Posted 3 years ago #

    Hi, when going to the url sitemap, appears the following:

    XML Parsing Error: XML or text declaration not at start of entity
    Location: http://colouredglass.co.uk/sitemap_index.xml
    Line Number 6, Column 1:<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://myurl.co.uk/wp-content/plugins/wordpress-seo/css/xml-sitemap-xsl.php"?>
    ^

    Can anybody help me?

    Thanks

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

  2. Joost de Valk
    Member
    Plugin Author

    Posted 3 years ago #

    Some of your plugins or your theme are outputting white space, which causes the <?xml statement to be pushed down. Nothing I can do anything about...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic