• Resolved ai4k Web Design

    (@soylaostia)


    Error in Google Search Console:
    Your Sitemap appears to be an HTML page. Please use a supported sitemap format…

    Seems to be this is your sitemap Yoast…

    /sitemap_index.xml or HTML?

    Can you fix this in the plugin?

    btw, I don’t submit the sitemap with the Yoast plugin now, the cache cleared, and the sitemap.xml is submitted again with another plugin.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello Soylaostia,

    Thanks for reaching out regarding your XML sitemap.

    Your Yoast-generated XML sitemap will be located at /sitemap_index.xml/ and the content type is text/xml, not HTML.

    This issue can occur sometimes due to caching plugins or server-side caching. Try clearing your cache from your plugin, theme, server, browser, or CDN such as Cloudflare and resubmit the sitemap. If you are not sure how to clear your server caching, please speak with your host provider. If you need to clear your browser caching this guide may help: How to clear my browser’s cache?

    Please know that it may take a few days or more for Google to update the results in the Google Search Console.

    Thread Starter ai4k Web Design

    (@soylaostia)

    Idea: maybe you delete that option of sitemap in html.

    Hey @soylaostia,

    There is no option in Yoast SEO to output the sitemap in HTML. If this is the case on your site like Mabel said in her reply, it’s most likely due to a caching plugin that was/is caching your (Yoast) sitemaps and outputs them as HTML. We do not control this. See https://yoast.com/help/exclude-sitemaps-from-cache/ for more references on how to exclude that from happening.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

    Thread Starter ai4k Web Design

    (@soylaostia)

    Oh, I see now, sitemap HTML must be removed now from google console.

    Idea: put a note in the plugin that says: before submitting the sitemap be sure that you exclude it in your cache plugin

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Your Sitemap appears to be an HTML page. Please use a supported sitemap format i’ is closed to new replies.