Title: Missing XML tag
Last modified: April 23, 2019

---

# Missing XML tag

 *  Resolved [eatdrinkdeals](https://wordpress.org/support/users/eatdrinkdeals/)
 * (@eatdrinkdeals)
 * [7 years ago](https://wordpress.org/support/topic/missing-xml-tag-12/)
 * This plugin seems to generate many sitemap files that have no urls. Google reports
   this with an error message: Missing XML tag
    Here is one example: [https://www.eatdrinkdeals.com/sitemap-pt-post-2011-12.xml](https://www.eatdrinkdeals.com/sitemap-pt-post-2011-12.xml)
   In that one, there are posts from 2011-12 but they are all in a category that
   I marked to be excluded. It appears that the plugin creates the file if it finds
   any posts, even if they are all excluded. It seems that the file should not be
   created if there are no urls going into it. Please advise how to avoid this error.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmissing-xml-tag-12%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Missing XML tag’ is closed to new replies.

 * ![](https://ps.w.org/google-sitemap-generator/assets/icon-256x256.png?rev=2713572)
 * [XML Sitemap Generator for Google](https://wordpress.org/plugins/google-sitemap-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-sitemap-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-sitemap-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-sitemap-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-sitemap-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-sitemap-generator/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [eatdrinkdeals](https://wordpress.org/support/users/eatdrinkdeals/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/missing-xml-tag-12/)
 * Status: resolved