XML Validation Results

#34758
  • Good afternoon. I just can not beat the problem.
    Incorrect http header content-type: “text / html; charset = UTF-8” (expected: “application / xml”)
    The error occurs only /sitemap_index.xml
    In others, I did not notice this.
    I disabled all plugins, themes, the error does not change.
    But I tracked what the problem was. I have Hummingbird plugin installed, as soon as I clear the cache and check the validation, everything shows without errors,
    should I go to the site map and refresh the page, re-checking the validation says that there is an error. If you clear the cache and disable this plugin and refresh the site map page, then there is no error.
    Here’s what to do, this plugin significantly speeds up the loading of pages by pagespeed.
    For earlier grateful, with respect, Max!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for contacting Rank Math today.

    I have accessed your sitemap_index and everything appears fine even with hummingbird plugin active. Check the screenshot I have attached in the sensitive data section.

    Looking forward to helping you. Thank you.

    ​​​​​​

    It visually displays well, but Google swears on validation as well I checked https://www.xml-sitemaps.com/ Also an error
    Incorrect http header content-type: “text / html; charset = UTF-8” (expected: “application / xml”)
    Look please.

    Todd
    Rank Math free

    Hi Максим,

    It looks like the sitemap file was being cached by Hummingbird plugin.

    I have added the sitemap file to the exclusion list and the validation passes now.

    You might want to check again with GSC.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you very much. Yeah, I understand now, now I will know how to manage this cache plugin and make exceptions.
    But what if the pages of the site grow well, the pagination goes page by page, just add a constantly new file to the exception?
    post-sitemap1.xml
    post-sitemap2.xml
    post-sitemap3.xml
    post-sitemap4.xml

    Or maybe somehow you can specify for all, for example: post – *.xml

    Hello,

    Thank you for getting back to us.

    Adding an exception for the sitemap_index should be sufficient or you can add all .xml files to the exclusion list.

    I hope this info helps. Thank you.

    Thank you!

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)

The ticket ‘XML Validation Results’ is closed to new replies.