Sitemap Could not Fetch due to Generic HTML Error

#115101
  • Resolved Jacquas
    Rank Math free

    Hello, I have tried everything like flushing Permalink Structure and removing sitemap from preloading and still it is not a valid SiteMap. When I open /sitemap_index.xml, it just show a fine sitemap but when I validate it here (https://www.xml-sitemaps.com/validate-xml-sitemap.html), it just shows that “Incorrect http header content-type: “” (expected: “application/xml”)”

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Can you please follow these steps?
    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    If this still doesn’t help, please share your sitemap URL so we can check from our end.

    Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Sitemap Could not Fetch due to Generic HTML Error’ is closed to new replies.