Support » Plugin: Yoast SEO » Xml Sitemap parsing error

  • Resolved beckseden

    (@beckseden)


    Hi

    I am trying to update the sitemap on google console. Since i am trying out yoast, I am trying to use the sitemap generated by yoast,

    Unfortunately google console tells me there is a parsing error. Can anyone help? I haven’t been lucky googling yet. I’m not sure what other info will be useful to decipher what is wrong at this stage.

    Thanks

    Becky

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • It seems that you have disabled sitemaps in Yoast. If you have installed Divi theme (based on HTML source) then it’s possible that you experience – https://github.com/Yoast/wordpress-seo/issues/12302

    @stodorovic yes, I disabled it because it wasn’t working and I found a different way to do it for now until I can figure out what is wrong with it. Thanks – I have asked Elegant Themes what is going on.

    I just noticed that you have installed Hummingbird Cache. I don’t know does latest version work correctly, but there were issues in the past. Related to Divi, it’s possible that some shortcode isn’t properly buffered (I mean in PHP code).

    If you enable Yoast sitemaps at the moment then I quickly look more details.

    @stodorovic. Thank you! I have reactivated yoast sitemap and deactivated the other one for now.

    Unrelated to this topic, you should remove my-account, checkout and cart because WC already sets them to “noindex”. Please read – https://wordpress.org/support/topic/woocommerce-cart-and-account-page-in-sitemap/

    Also, maybe you should disable Author archive because you have only admin user. More details – https://yoast.com/help/disable-enable-author-archives/

    Loading time for page sitemap is huge (but it could be cached). It could be because there are galleries with a lot of images.

    I tried to check all details, but sitemap index and all sub sitemaps look fine (no white-spaces, invalid characters, content-type is xml, …). I don’t see any issues why google can’t parse them (except possible timeout for page-sitemap if it isn’t cached). Is it possible to make screenshot from GSC with errors (if they still exist)?

    Did you try to check server access logs? Many hosts offer option on panels to you download raw access log. In this log, you can search for sitemap_index.xml (and other sub sitemaps) and see HTTP status codes, …

    When you open www version you will see error related to stylesheet, but it doesn’t affect on googlebot. Stylesheet only converts “machine layout” to “human readable layout”. So you can’t open www in the browser, but if you type URL without www then you can see sitemaps.

    I just found possible error:

    $ curl -i https://www.chicmouldings.com/sitemap_index.xml
    HTTP/1.1 200 OK
    Date: Wed, 12 Feb 2020 15:43:18 GMT
    Server: Apache
    Vary: Accept-Encoding,Cookie
    Cache-Control: max-age=3600, must-revalidate
    Hummingbird-Cache: Served
    Upgrade: h2,h2c
    Connection: Upgrade
    Cache-Control: max-age=1209600
    Expires: Wed, 26 Feb 2020 15:43:18 GMT
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=UTF-8
    
    <!-- This page is cached by the Hummingbird Performance plugin v2.3.0 - https://wordpress.org/plugins/hummingbird-performance/. --><?xml
    

    It seems that the Hummingbird Performance plugin still doesn’t work correctly. I see text/html instead of text/xml and it adds HTML comment before XML content.

    PS: Please look other topic – https://wordpress.org/support/topic/exclude-sitemap-from-hummingbird/

    • This reply was modified 11 months, 2 weeks ago by Saša.

    @stodorovic it looks like you are a genius! I disable hummingbird and immediately google console was able to read my sitemap. I’ll talk to hummingbird about this. I was considering purchasing it, so I’m glad this has come to y attention before I did so, thank you.

    Becky

    Plugin Support Pcosta88

    (@pcosta88)

    Hi,

    As the issue appears to be resolved we will close this in order to keep the overview. If you experience a new issue we ask that you please create a new topic.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Xml Sitemap parsing error’ is closed to new replies.