sitemap error with buddypress activated, conflict with yoast
I’ve tried Yoast and other seo plugins showed sitemap error.
After troubleshooting by enabling and disabling plugins, I find the sitemap error is due to a conflict with buddypress(the latest version as well). It seems buddypress has caused empty lines in the sitemap xml, I wonder is there a way to resolve this? Thanks!
Following is the error message when trying to access yoast sitemap_index.xml
XML Parsing Error: XML or text declaration not at start of entity
Line Number 3, Column 1:<?xml version=”1.0″ encoding=”UTF-8″?><?xml-stylesheet type=”text/xsl” href=”//127.0.0.1/wordpress/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl”?>
- You must be logged in to reply to this topic.