# Displaying subcategories

**URL:** https://meta.discourse.org/t/displaying-subcategories/355892
**Category:** Support
**Created:** [March 5, 2025, 5:20pm UTC](https://meta.discourse.org/t/displaying-subcategories/355892 "2025-03-05T17:20:14Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [March 5, 2025, 6:39pm UTC](https://meta.discourse.org/t/displaying-subcategories/355892/4 "2025-03-05T18:39:15Z")

</div>

There is a a way around that - its a hidden site setting you can enable if you are self hosted. If you are a Discourse customer please contact [team@discourse.org](mailto:team@discourse.org). Note that the max value is 3.

`max_category_nesting`

> [@Using Hidden Site Settings](https://meta.discourse.org/t/using-hidden-site-settings/308773):
>
> bookmark This is a #how-to guide about Hidden Site Settings, how to enable them, and why you might want to adjust them. person_raising_hand Required user level: Administrator warning Important: Console access is required for some steps. In Discourse, hidden site settings refer to configuration options that are not readily visible or accessible through the standard admin dashboard interface. These settings are part of the backend configuration that can control various advanced or potent…

> [@Sub-sub-categories](https://meta.discourse.org/t/sub-sub-categories/139309/7):
>
> Quick guide to set it from 2 (default) to 3 via the console: cd /var/discourse/ ./launcher enter app rails c read current value: [1] pry(main)\> SiteSetting.max\_category\_nesting =\> 2 write new value: [2] pry(main)\> SiteSetting.max\_category\_nesting = 3 =\> 3

---

_[View the full topic](https://meta.discourse.org/t/displaying-subcategories/355892)._
