# Remove/disable Category Definitions

**URL:** https://meta.discourse.org/t/remove-disable-category-definitions/118970
**Category:** Support
**Created:** [May 29, 2019, 9:48am UTC](https://meta.discourse.org/t/remove-disable-category-definitions/118970 "2019-05-29T09:48:49Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Thomas\_G](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thomas_g/32/200158_2.png) [@Thomas\_G](https://meta.discourse.org/u/Thomas_G)
#### Post date: [May 29, 2019, 11:32am UTC](https://meta.discourse.org/t/remove-disable-category-definitions/118970/2 "2019-05-29T11:32:27Z")

</div>

The category definitions are something that must not be deleted. Because we had the same issue, we just closed and unlisted the category definitions, meaning that only mods/staff could see them.

* * *

If I were you, I would make sure I check the post below. I am sure you will find it helpful:

> [@Want to delete 'About this Topic'](https://meta.discourse.org/t/want-to-delete-about-this-topic/112391/9):
>
> As described, you cannot delete it, as it would break things. You can use this code at the rails console to unlist all about topics: cats = Category.all cats.each do |cat| puts "Process #{cat.name} -- #{cat.topic\_id}" if cat.topic\_id.to\_i \> 0 t = Topic.find(cat.topic\_id) t.visible=false t.save end end If you want it only for some categories, you’ll need to adjust the code. If you want it to happen automatically, you’d need a plugin that did something like the above on a re…

---

_[View the full topic](https://meta.discourse.org/t/remove-disable-category-definitions/118970)._
