# 关于类别和子类别的疑问

**URL:** https://meta.discourse.org/t/doubt-about-category-and-sub-category/89243
**Category:** Support
**Created:** [2018年六月6日 13:37 UTC](https://meta.discourse.org/t/doubt-about-category-and-sub-category/89243 "2018-06-06T13:37:09Z")
**Posts on this page:** 4
**Page:** 1

<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: [2018年六月6日 13:37 UTC](https://meta.discourse.org/t/doubt-about-category-and-sub-category/89243/1 "2018-06-06T13:37:09Z")

</div>

Hello

I have a question related to the edition of categories.

In my community, we start with a category, and a sub-category.

We have:  
`forum.com/c/category-main` → slug: `#category-main`  
`forum.com/c/category-main/secondary` → slug: `#category-main:secondary`

Everything works spectacular.

That is, there are debates where the main category is mentioned: `#category-main`  
And there are debates where the sub-category is mentioned like this: `#category-main:secondary`

**Now, the subcategory has grown and wants to be independent.**  
I know I could edit it, and put it as main.

My doubt about it is about the messages that mention the subcategory that would now be independent. Are they automatically changed or is some type of redirection activated?

I refer to the discussions where it is mentioned: `#category-main:secondary` should now become `#secondary` and redirect to `forum.com/c/secondary` ❓

Will it be like that?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2018年六月6日 13:43 UTC](https://meta.discourse.org/t/doubt-about-category-and-sub-category/89243/2 "2018-06-06T13:43:40Z")

</div>

If you rename a category a permalink is created to redirect the old url to the new one.

---

<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: [2018年六月6日 14:20 UTC](https://meta.discourse.org/t/doubt-about-category-and-sub-category/89243/3 "2018-06-06T14:20:14Z")

</div>

Discourse rulez :allthethings:

Thanks @pfaffman !

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2024年六月8日 12:37 UTC](https://meta.discourse.org/t/doubt-about-category-and-sub-category/89243/4 "2024-06-08T12:37:24Z")

</div>

此主题已在 2193 天后自动关闭。不再允许回复。
