Title: Errors in XML Sitemap index
Last modified: December 3, 2018

---

# Errors in XML Sitemap index

 *  Resolved [barrelleaf](https://wordpress.org/support/users/barrelleaf/)
 * (@barrelleaf)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/errors-in-xml-sitemap-index/)
 * Hi, I’ve used this plug-in for a long time, but I just got problems recently.
 * I was using a Google XML plug-in before. However, about a week ago, I found that
   all-in-one SEO plug-in already got the tool to produce and update sitemap, so
   I deleted the other XML plug-in. I deleted some categories and also changed some
   setting regarding XML sitemap in the all-in-one SEO plug-in, including excluding
   the tags.
 * However, I saw some errors in my Google Console, which shows that there are “
   Invalid XML tag” and “Missing XML tag.” There is a warning mentioning that “URLs
   not accessible” due to the deleting categories. I really want to know how can
   I fix this.
 * Thanks.
 * Nora
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferrors-in-xml-sitemap-index%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Michael Torbert](https://wordpress.org/support/users/hallsofmontezuma/)
 * (@hallsofmontezuma)
 * WordPress Virtuoso
 * [7 years, 5 months ago](https://wordpress.org/support/topic/errors-in-xml-sitemap-index/#post-10940049)
 * You didn’t provide a lot of helpful information, such as exactly where it’s seeing
   an invalid xml tag or missing xml tags, but based on the fact that you previously
   used a different plugin for the sitemap, deleted some categories and changed 
   some unknown settings, my best guess is that Google is expecting information 
   that used to be there in the sitemap, either from categories that were deleted,
   something that was in the other plugin’s sitemap, or else something regarding
   the settings you changed.
 *  Thread Starter [barrelleaf](https://wordpress.org/support/users/barrelleaf/)
 * (@barrelleaf)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/errors-in-xml-sitemap-index/#post-10940086)
 * Hi, I just copy the info from the result it shows
    ————————————– Errors Invalid
   XML tag This tag was not recognized. Please fix it and resubmit. 1 Sitemap: [http://www.barrelleaf.com/sitemap_post_1.xml.gz](http://www.barrelleaf.com/sitemap_post_1.xml.gz)
   Parent tag: caption Tag: a ————————————– Errors Missing XML tag This required
   tag is missing. Please add it and resubmit. 2 Sitemap: [http://www.barrelleaf.com/sitemap_post_tag_3.xml.gz](http://www.barrelleaf.com/sitemap_post_tag_3.xml.gz)
   Parent tag: urlset Tag: url
 * Sitemap: [http://www.barrelleaf.com/sitemap_post_tag_2.xml.gz](http://www.barrelleaf.com/sitemap_post_tag_2.xml.gz)
   
   Parent tag: urlset Tag: url ————————————– Warnings URLs not accessible When we
   tested a sample of the URLs from your Sitemap, we found that some URLs were not
   accessible to Googlebot due to an HTTP status error. All accessible URLs will
   still be submitted. 1 Sitemap: [http://www.barrelleaf.com/sitemap_category.xml.gz](http://www.barrelleaf.com/sitemap_category.xml.gz)
   HTTP Error: 404 URL: /category/my-whims/whims/ << that’s the category I’ve deleted
   last week. ——————————————-
 * I just resubmitted the sitemap on Nov 30 and saw that the sitemap is produced
   by All-in-One SEO plug-in as far as I could understand from the info shows.
 * Thank you.
 *  Plugin Support [Steve M](https://wordpress.org/support/users/wpsmort/)
 * (@wpsmort)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/errors-in-xml-sitemap-index/#post-10949798)
 * The issue with the invalid XML tag caused by the link in the caption should get
   resolved when we release the next version. It’s likely related to this issue –
   [https://github.com/semperfiwebdesign/all-in-one-seo-pack/issues/2065](https://github.com/semperfiwebdesign/all-in-one-seo-pack/issues/2065)
 * To resolve the issue with the sitemap_post_tag just exclude tags from your sitemap
   as it doesn’t look like you have any post tags.
 * The warning with the sitemap_category is clearly wrong because you can browse
   to [http://www.barrelleaf.com/sitemap_category.xml](http://www.barrelleaf.com/sitemap_category.xml)
   just fine so you can ignore that, it was probably a temporary issue.
 *  Thread Starter [barrelleaf](https://wordpress.org/support/users/barrelleaf/)
 * (@barrelleaf)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/errors-in-xml-sitemap-index/#post-10951431)
 * Hi, thanks for replying.
 * The category problem has gone, but the “Missing XML tag” errors still exist. 
   I didn’t and don’t include tags in my sitemap setting, so I don’t know how to
   deal with this issue…
 * And I found that the number of my submitted sitemap has decreased from 5,317 
   to 1,016 (saw the report from Google Console).
 * I did make some changes in the XML setting, but only on the “Enable Sitemap Indexes,”
   which I still do not know should I check it or not.
    I’m wondering is there an
   easy way to know how many URLs in my sitemap?
 * In the sitemap setting, I only check the “post”, “page”, and “category” box, 
   as I did before.
 * I’m really worried about this in fear that I’ve made some serious mistakes. Really
   hope I could fix this soon.
 * Is there any setting that I did affects the amount of the submitted sitemap?
 * Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Errors in XML Sitemap index’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-seo-pack/assets/icon.svg?rev=2443290)
 * [All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic](https://wordpress.org/plugins/all-in-one-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-seo-pack/reviews/)

## Tags

 * [sitemap](https://wordpress.org/support/topic-tag/sitemap/)
 * [xml](https://wordpress.org/support/topic-tag/xml/)

 * 4 replies
 * 3 participants
 * Last reply from: [barrelleaf](https://wordpress.org/support/users/barrelleaf/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/errors-in-xml-sitemap-index/#post-10951431)
 * Status: resolved