Title: Exclude Directories
Last modified: August 30, 2016

---

# Exclude Directories

 *  Resolved [rycramweb](https://wordpress.org/support/users/rycramweb/)
 * (@rycramweb)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/exclude-directories-1/)
 * Hi,
 * I would like to exclude directories from the site map, for example, SoHo theme
   booking for hotels use /booking/ to store all bookings from people, like: [http://domain.com/booking/1-room-booking-for-name-of-person-13072015-20072015/](http://domain.com/booking/1-room-booking-for-name-of-person-13072015-20072015/)
 * I don’t want Google to show these, as booking a hotel should be private, I know
   you can exclude URL’s but that really isn’t great to log each URL after a book,
   so to exclude everything with /booking/ in would be great.
 * Now when you click on [http://domain.com/booking/1-room-booking-for-name-of-person-13072015-20072015/](http://domain.com/booking/1-room-booking-for-name-of-person-13072015-20072015/)
   it actually redirects you to the home page, so the url doesn’t exist, but it 
   will show in Google as the sitemap is creating it.
 * Thank you in advance.
 * [https://wordpress.org/plugins/simple-wp-sitemap/](https://wordpress.org/plugins/simple-wp-sitemap/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Webbjocke](https://wordpress.org/support/users/webbjocke/)
 * (@webbjocke)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/exclude-directories-1/#post-6531432)
 * Hi I understand the problem there and thought about it, but I couldn’t really
   come up with any idea to make this possible without making the plugin more advanced
   than it already is.
 * It can’t happen right in the “block pages” textarea since that could possible
   break other users sitemaps. So I would have to introduce a whole new function
   for this. And I’m not sure if the plugin is really ready for that, the point 
   of the plugin is kinda just to be an easy simple sitemap without too much stuff
   going on 🙂
 * So sorry I won’t introduce a function for this the moment (not saying never, 
   just not now). But thanks anyway for taking an interest in the plugin!

Viewing 1 replies (of 1 total)

The topic ‘Exclude Directories’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-wp-sitemap_859b84.svg)
 * [Simple Wp Sitemap](https://wordpress.org/plugins/simple-wp-sitemap/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-wp-sitemap/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-wp-sitemap/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-wp-sitemap/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-wp-sitemap/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-wp-sitemap/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Webbjocke](https://wordpress.org/support/users/webbjocke/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/exclude-directories-1/#post-6531432)
 * Status: resolved