# Exclude category from search

**URL:** <https://meta.discourse.org/t/exclude-category-from-search/46069>\
**Category:** Feature\
**Created:** [June 20, 2016, 12:54pm UTC](https://meta.discourse.org/t/exclude-category-from-search/46069 "2016-06-20T12:54:36Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![SidV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidv/32/119460_2.png) [@SidV](https://meta.discourse.org/u/SidV)\
**Post date:** [October 4, 2016, 1:02pm UTC](https://meta.discourse.org/t/exclude-category-from-search/46069/8 "2016-10-04T13:02:31Z")

</div>

Hello, I need to exlude a sub-category from searching.

Example:

> status:noreplies category:5

But, category 5, has got two more sub-categories (6 and 7).  
How can I search only threads in category 5, and don’t show the others discussions in categories 6 and 7?

---

_[View the full topic](https://meta.discourse.org/t/exclude-category-from-search/46069)._
