WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] XML syntax error - won't spider (6 posts)

  1. Nic Windley
    Member
    Posted 9 months ago #

    When spidering the WP SEO sitemap_index.xml I'm getting the following XML errors

    Error: XML syntax error on line 156: invalid character entity »

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

  2. Nic Windley
    Member
    Posted 9 months ago #

    btw: the BWP XML sitemap plugin spiders without errors.

  3. Brandon Hubbard
    Member
    Posted 9 months ago #

    Are you on the latest version of WordPress & the Yoast Plugin?

    You may want to try turning off the sitemaps feature, save the change, and the re-enable the sitemaps feature. You may also want to check if you still have code from BWP in your .htaccess file.

  4. Nic Windley
    Member
    Posted 9 months ago #

    The sitemap generates (with BWP disabled) and I can manually view it, however if I spider it I get syntax errors. I will try your suggestion, however as the sitemap generates and I can view it in a browser, some malformed XML code is triggering the syntax error.

  5. Nic Windley
    Member
    Posted 9 months ago #

    Ah, my mistake Brandon. I'd disabled all BWP plugins remotely and re-enabled WP SEO expecting the sitemap to function as it was previously enabled based on the first site I tested. This is not the case. I had to manually visit the other sites and click the XML button to get the sitemap to regenerate (or clear any redirects).

    Oh, and on a couple of sites I had to (as you suggested) disable and re-enable the sitemap feature in WPSEO. htaccess was clear of any redirects, possibly some cached code / redirects. That fixed it. Thank you for that push.

  6. Nic Windley
    Member
    Posted 9 months ago #

    All fixed and thanks again Brandon.

Reply

You must log in to post.

About this Plugin

About this Topic