# How setup Sub of sub category

**URL:** <https://meta.discourse.org/t/how-setup-sub-of-sub-category/173155>\
**Category:** Product Support\
**Created:** [December 13, 2020, 4:17pm UTC](https://meta.discourse.org/t/how-setup-sub-of-sub-category/173155 "2020-12-13T16:17:40Z")\
**Posts on this page:** 11\
**Page:** 1

## AI-generated summary

The discussion revolves around setting up subcategories in Discourse. [huynhthai824](/t/-/173155/1) initially asked if it's possible to create subcategories of subcategories, with an example of a five-level structure. [RGJ](/t/-/173155/2) and [Mevo](/t/-/173155/3) explained that, by default, Discourse only allows two levels of subcategories, and adding more levels is not possible. 

However, [Mevo](/t/-/173155/9) suggested a workaround by using a combination of categories and tags. For example, using categories for location (Country > Province/City > District) and tags for type trade and type property. 

[huynhthai824](/t/-/173155/10) expressed concerns about the search functionality, as users usually search by type trade and type property before location. [Mevo](/t/-/173155/11) clarified that categories and tags work in parallel, and it doesn't matter if users select tags before or after entering categories. Additionally, [Mevo](/t/-/173155/11) suggested that modifying the display of the search boxes (tags and categories) might be possible through a **theme or CSS**.

<div class="post-metadata">

**Author:** ![thaidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thaidb/32/68488_2.png) [@thaidb](https://meta.discourse.org/u/thaidb)\
**Post date:** [December 13, 2020, 4:17pm UTC](https://meta.discourse.org/t/how-setup-sub-of-sub-category/173155/1 "2020-12-13T16:17:40Z")

</div>

Hello,  
In Discourse, Can we create sub category of subcategory?  
Example:  
Category\>Sub category\>Sub sub category\>Sub sub subcategory\> tag1\> topic 1  
Thank you!

---

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [December 13, 2020, 4:53pm UTC](https://meta.discourse.org/t/how-setup-sub-of-sub-category/173155/2 "2020-12-13T16:53:55Z")

</div>

I would use tags if I were you.

But, if you really want to, you can do it. Just remember that there will be no one to dry your tears.  
Look here. [Sub-sub-categories - #7 by Michael\_Uray](https://meta.discourse.org/t/sub-sub-categories/139309/7)

---

<div class="post-metadata">

**Author:** ![Mevo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mevo/32/187732_2.png) [@Mevo](https://meta.discourse.org/u/Mevo)\
**Post date:** [December 13, 2020, 7:22pm UTC](https://meta.discourse.org/t/how-setup-sub-of-sub-category/173155/3 "2020-12-13T19:22:37Z")

</div>

> [@thaidb](#):
>
> Category\>Sub category\>Sub sub category\>_ **Sub sub subcategory** _\> tag1\> topic 1

That seems 1 level more than what’s possible. You cannot do “3x subs”.  
Default = Cat+Sub cat.  
By option (given by Richard) = Add “Sub sub”  
3x subs = Now you’re asking for too much 🤣

---

<div class="post-metadata">

**Author:** ![thaidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thaidb/32/68488_2.png) [@thaidb](https://meta.discourse.org/u/thaidb)\
**Post date:** [December 18, 2020, 11:43am UTC](https://meta.discourse.org/t/how-setup-sub-of-sub-category/173155/4 "2020-12-18T11:43:56Z")

</div>

Not much, i need more upto 5 level  
Example:

Type trade  
Type Property  
Country  
Province/City  
District  
Street

---

<div class="post-metadata">

**Author:** ![Mevo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mevo/32/187732_2.png) [@Mevo](https://meta.discourse.org/u/Mevo)\
**Post date:** [December 18, 2020, 11:46am UTC](https://meta.discourse.org/t/how-setup-sub-of-sub-category/173155/5 "2020-12-18T11:46:11Z")

</div>

**Tags** are your friend

---

<div class="post-metadata">

**Author:** ![thaidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thaidb/32/68488_2.png) [@thaidb](https://meta.discourse.org/u/thaidb)\
**Post date:** [December 18, 2020, 11:58am UTC](https://meta.discourse.org/t/how-setup-sub-of-sub-category/173155/6 "2020-12-18T11:58:37Z")

</div>

Tag not strucTure stree,  
Street not same level with district, city and country.  
More, in a country have alot of street same name in other city

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [December 18, 2020, 1:17pm UTC](https://meta.discourse.org/t/how-setup-sub-of-sub-category/173155/7 "2020-12-18T13:17:17Z")

</div>

Not gonna happen, I recommend using a different software.

---

<div class="post-metadata">

**Author:** ![anon82467725](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@anon82467725](https://meta.discourse.org/u/anon82467725)\
**Post date:** [December 18, 2020, 1:29pm UTC](https://meta.discourse.org/t/how-setup-sub-of-sub-category/173155/8 "2020-12-18T13:29:33Z")

</div>

Is it not possible to implement such a thing through a plugin?

---

<div class="post-metadata">

**Author:** ![Mevo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mevo/32/187732_2.png) [@Mevo](https://meta.discourse.org/u/Mevo)\
**Post date:** [December 18, 2020, 2:11pm UTC](https://meta.discourse.org/t/how-setup-sub-of-sub-category/173155/9 "2020-12-18T14:11:20Z")

</div>

Ok, then:  
Category = Country  
Sub cat = Province/city  
Sub sub cat = District

Street = in the topic title, people can use the search function.

Or you have to couple 2 of of your category needs together. The 2 where there is less categories. You seem to already want to do this with Province/city. You could do:  
Cat = Country/Province  
Sub cat = City/District  
Sub sub cat = Street

Type trade and type property = Tags

It seems doable if you adapt yourself a little. Or you need to dig in the plugin possibilities, or another forum software.

---

<div class="post-metadata">

**Author:** ![thaidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thaidb/32/68488_2.png) [@thaidb](https://meta.discourse.org/u/thaidb)\
**Post date:** [December 18, 2020, 4:20pm UTC](https://meta.discourse.org/t/how-setup-sub-of-sub-category/173155/10 "2020-12-18T16:20:00Z")

</div>

I thought that, but user usually search type trade and type property before search location.  
I wonder question that how move search menu tag before category [https://meta.discourse.org/t/can-we-fix-structure-tag-before-category/173701](https://meta.discourse.org/t/can-we-fix-structure-tag-before-category/173701)

---

<div class="post-metadata">

**Author:** ![Mevo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mevo/32/187732_2.png) [@Mevo](https://meta.discourse.org/u/Mevo)\
**Post date:** [December 18, 2020, 5:05pm UTC](https://meta.discourse.org/t/how-setup-sub-of-sub-category/173155/11 "2020-12-18T17:05:32Z")

</div>

There is no “before” or “after”. They work in parallel (category and tags). It doesn’t matter if a user selects tags before or after entering some specific categories.

If they enter the categories they want, and only select the tags after, in the end, it will be the same. Categories won’t just be filtered by tags while they enter them, but it probably isn’t very important.

If you mean just the UX, the display of the boxes to select them, I guess that must be possible to switch pretty easily: Tags to the left of categories selection, and not to the right. Though a **theme or CSS**.
