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

  • Resolved jasongolod

    (@jasongolod)


    Been searching here for an answer as well as at Yoast, but having no luck. I am getting a parsing error when I try to view the sitemap:

    XML Parsing Error: XML or text declaration not at start of entity
    Location: http://www.golod.com/sitemap_index.xml
    Line Number 2, Column 1:<?xml version=”1.0″ encoding=”UTF-8″?><?xml-stylesheet type=”text/xsl” href=”http://www.golod.com/wp-content/plugins/wordpress-seo/css/xml-sitemap-xsl.php”?>
    ^

    Would love to hear anyone’s ideas.

    Thanks,

    Jason

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

Viewing 1 replies (of 1 total)
  • jasongolod

    (@jasongolod)

    Pffft, I am a jerk. Looking in the wrong place.

    These types of messages apparently refer to whitespace somewhere in one of the files. Fortunately, I had only modified a few template files recently, so I didn’t have too far to search. Turns out I had an extra line break in my functions.php file that I modified.

    This may also help someone in the same boat:
    http://wordpress.org/support/topic/no-rss-xml-parsing-error?replies=24

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