Title: Prevent empty sitemaps
Last modified: August 20, 2016

---

# Prevent empty sitemaps

 *  [unavailable](https://wordpress.org/support/users/unavailable/)
 * (@unavailable)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/prevent-empty-sitemaps/)
 * I chose to exclude posts in certain categories from appearing in sitemaps.
 * Now, if the only posts within a month were in the excluded category, the plugin
   generates an empty child sitemap, and Google shows errors (urlset contains no
   urls).
 * 1. Is there a way to prevent empty sitemaps from being generated?
    2. Is there
   a way to manually remove offending child maps from the main map?
 * Any advice would be appreciated. Thank you.
 * [http://wordpress.org/extend/plugins/google-sitemap-generator/](http://wordpress.org/extend/plugins/google-sitemap-generator/)

Viewing 1 replies (of 1 total)

 *  [PrOf_FoUdA](https://wordpress.org/support/users/prof_fouda/)
 * (@prof_fouda)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/prevent-empty-sitemaps/#post-3258366)
 * i’m with u waiting support of Google XML Sitemaps

Viewing 1 replies (of 1 total)

The topic ‘Prevent empty sitemaps’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [PrOf_FoUdA](https://wordpress.org/support/users/prof_fouda/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/prevent-empty-sitemaps/#post-3258366)
 * Status: not resolved