The Disqus comment system seems to be causing an XML Parsing Error with the sitemap_index.xml generated by WordPress SEO. The error message says “XML Parsing Error: junk after document element” and the line in question is:
<?xml version=”1.0″ encoding=”UTF-8″?><?xml-stylesheet type=”text/xsl” href=”http://www.humortimes.com/wp-content/plugins/wordpress-seo/css/xml-sitemap-xsl.php”?>
… which is the first line generated by WordPress SEO for the sitemap page, IF Disqus is deactivated — in which case, I get no error.
Is there a way to prevent the Disqus script from running on that page? There certainly is no use for it there.
Thanks, any help would be appreciated.
- The topic ‘Disqus causing sitemap_index.xml XML Parsing Error’ is closed to new replies.