Jump to content

Broken Validation for Sitemap - Issue began 1-2 months ago


Recommended Posts

I have tagged this topic for review by one of our developers to see why W3 is throwing this error on the sitemapindex property and the namespace key used. However, looking at my own community both Google and Bing webmaster tools are stating the sitemaps as valid so there isn't immediate cause for concern that sitemaps are unreadable by search engines at the moment.

Link to comment
Share on other sites

A sitemap index file isn't an atom or RSS feed, so it won't validate as one.

It's a perfectly valid file you've got there - https://www.sitemaps.org/protocol.html#sitemapIndexXMLExample

I did see that you've got multiple other (non-standard) sitemaps, it might be worth looking into whether the duplication may cause issues or confusion to Google.

Sitemap: https://www.celiac.com/sitemap_posts.php
Sitemap: https://www.celiac.com/sitemap_pages.php
Sitemap: https://www.celiac.com/sitemap_comments.php
Sitemap: https://www.celiac.com/sitemap_cmscategories_pages.php
Sitemap: https://www.celiac.com/sitemap_forumspages.php
Sitemap: https://www.celiac.com/sitemap_archive.php
Link to comment
Share on other sites

It is true that I do have other sitemaps, and also true that each one of them validated just find before whatever update you did, but now they won't validate. So I'm confused by your responses here...is this your way of saying "nothing to see here, nothing is wrong," or are you looking in this issue?

PS - Your site map won't validate either...but did before right?



Edited by sadams101
Link to comment
Share on other sites

It won't validate because it is a validator for Atom or RSS feeds. A sitemap is neither.

It won't validate your custom sitemaps either https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fwww.celiac.com%2Fsitemap_posts.php since it's the wrong tool for the job.

Google Search console will tell you if there are any parsing issues with your sitemaps. As noted above, the sitemap index uses the proper sitemapindex protocol defined here: https://www.sitemaps.org/protocol.html#sitemapIndexXMLExample

Link to comment
Share on other sites

  • 2 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...