Title: Feature request: Exclude Posts
Last modified: August 22, 2016

---

# Feature request: Exclude Posts

 *  Resolved [Henry Wright](https://wordpress.org/support/users/henrywright/)
 * (@henrywright)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/feature-request-exclude-posts-1/)
 * There is a really cool feature currently available in the plugin which lets you
   exclude specific pages: Settings > XML Sitemap Settings > “Exclude Pages”
 * Is it possible to exclude specific posts?
 * [https://wordpress.org/plugins/xml-sitemaps/](https://wordpress.org/plugins/xml-sitemaps/)

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

 *  Plugin Author [Mike Koepke](https://wordpress.org/support/users/mike_koepke/)
 * (@mike_koepke)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/feature-request-exclude-posts-1/#post-5382835)
 * Why would you want to exclude a post?
 * I get the use case around pages, but can you provide a few examples where you’d
   want to exclude the post?
 *  Thread Starter [Henry Wright](https://wordpress.org/support/users/henrywright/)
 * (@henrywright)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/feature-request-exclude-posts-1/#post-5382836)
 * Good question!
 * There’s a page appearing in my sitemap that I’d like to exclude. This particular
   page wouldn’t remove itself from the sitemap when I tried to exclude it via Settings
   > XML Sitemaps > Exclude Pages by entering its ID. I figured that this ‘page’
   must actually be a post.
 * Now, after some deeper investigation, I’ve realised it is in fact a page after
   all. I _think_ the reason this particular page isn’t excluded from the sitemap
   is because it is the page I have set as the ‘posts page’ via Settings > Reading
   > Front page displays > (select “A static page”) > Posts page.
 * A screenshot might explain it better:
 * [http://i.imgur.com/5zj9Kwv.png](http://i.imgur.com/5zj9Kwv.png)
 * Whichever page I set as the ‘Posts page’ doesn’t get excluded from the sitemap.
 * Hope that explanation wasn’t too long-winded 🙂
 *  Plugin Author [Mike Koepke](https://wordpress.org/support/users/mike_koepke/)
 * (@mike_koepke)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/feature-request-exclude-posts-1/#post-5382891)
 * I have fixed that. Sort of an anomaly. Now if the page id is excluded and it 
   is used for the blog it will not be listed provided that it is a secondary page
   and not used as the homepage. (we still would want domain.com/ to index)
 *  Thread Starter [Henry Wright](https://wordpress.org/support/users/henrywright/)
 * (@henrywright)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/feature-request-exclude-posts-1/#post-5382894)
 * Thanks!

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

The topic ‘Feature request: Exclude Posts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/xml-sitemaps.svg)
 * [XML Sitemaps](https://wordpress.org/plugins/xml-sitemaps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/xml-sitemaps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/xml-sitemaps/)
 * [Active Topics](https://wordpress.org/support/plugin/xml-sitemaps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/xml-sitemaps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/xml-sitemaps/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Henry Wright](https://wordpress.org/support/users/henrywright/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/feature-request-exclude-posts-1/#post-5382894)
 * Status: resolved