Support » Plugin: XML Sitemap & Google News feeds » [Plugin: XML Sitemap & Google News Sitemap Feeds] Sitemap Is HTML Warning On Google Webmaster To

  • Hi,

    I switched over to your sitemap after using Yoast’s WordPress SEO. Google Webmaster Tools began putting the big red ‘X’ on those sitemaps with the warning:

    Sitemap is HTML
    Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.

    Now they’ve begun doing it for yours too. I’m hoping that someone else has known how to resolve this one. The sitemap comes up find when I bring it up


    and there’s definitely no HTML coding i it, so I’m a little stumped.

    I don’t know if W3 Total Cache is creating a little issue with this or now.



Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author RavanH


    Hmmm… The content is definitely valid XML and response headers are correct even if they are modified by W3TC.

    Is this happening only to the sitemap-newsw.xml or also the regular sitemap.xml ? And what does Google say when you add the non-pretty URLs:

    And did you test with X3TC switched off?

    Another thing you might try is removing the sitemap.xml.gz from your site root. The zipped content seems to be completely garbled… It might be that Google takes it to be the zipped version of the sitemap.xml feed.

    it’s only doing it to the sitemap-news for some reason.

    In W3 TC, I have sitemap.xml listed for caching, but I’ve noticed on a search in Google Webmaster Tools, a lot of people are having this issue with their sitemaps. I thought it was an issue with the WordPress SEO plugin, but when your came up like that too, I knew something was going on.

    When I deactivate W3TC though, it’s fine which led me to think that there might be something with that since that’s gotta be one of the most temperental (but effective) plugins I’ve ever seen.

    Plugin Author RavanH


    True, W3TC can be a beast to control.

    What happens if you switch off gzip/deflate compression for the sitemap but keep caching on? Or is that not possible?

    it stays the same. it’s only when I turn off W3 TC that it gets wonky. what’s interesting it that Google still picks my news stories but the Webmaster Tools does the HTML error.

    Over on the Webmaster Tools, they just tell people to go to a site that makes your sitemaps for you, but c’mon, those of us with very busy sites with breaking news just don’t want to create a new sitemap by hand everytime you post a story (most of us 6-10 per day).

    I’m hoping that someone on the W3 Total Cache forum has had this issue and knows what to put in to keep it from changing the sitemaps into HTML.

    When you deactivate W3TC, sitemaps are perfect, it’s just when its running that problems happen.

    oh the fun:)

    Plugin Author RavanH


    I’ve just added w3-total-cache as tag to this thread so it should appear in the W3 Total Cache forum as well…

    Maybe someone there can shed light on this.

    Did you get this sorted out?
    If not did you send a bug report using the Support page in the plugin?
    Could perhaps check:

    Plugin Author RavanH


    Hi Andreas, do you have a link to your sitemap?

    Sitemap headers are fixed in the next release.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: XML Sitemap & Google News Sitemap Feeds] Sitemap Is HTML Warning On Google Webmaster To’ is closed to new replies.