sitemap.xml build html rejected by google

#274666
  • Resolved Deltagreen
    Rank Math free

    Google reports that ‘Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.’ and I must agree with them this is not raw xml.

    How could raw xml be generated without the beautiful formatting added by your plugin?

Viewing 1 replies (of 1 total)
  • Azib Yaqoob
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    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/

    Once done, remove all the sitemaps from GSC and add sitemap_index.xml and wait for Google to crawl the sitemap.

    That should fix the issue. Please let me know if that does not. We are here to assist.

    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.xml build html rejected by google’ is closed to new replies.