# How to add categories

**URL:** https://meta.discourse.org/t/how-to-add-categories/71859
**Category:** Support
**Created:** [10월 11, 2017, 4:56오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859 "2017-10-11T16:56:18Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![communitygal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/communitygal/32/80177_2.png) [@communitygal](https://meta.discourse.org/u/communitygal)
#### Post date: [10월 11, 2017, 4:56오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/1 "2017-10-11T16:56:18Z")

</div>

where can I define categories on my instance?

thanks,  
Emma

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [10월 11, 2017, 4:57오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/2 "2017-10-11T16:57:58Z")

</div>

Go to /categories, to the right of the navigation is a menu, Create Category should be in it.

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [10월 11, 2017, 4:59오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/3 "2017-10-11T16:59:17Z")

</div>

Have a read through some of the topics in the #howto section – they’ll guide you through a lot of this setup stuff.

---

<div class="post-metadata">

### Author: ![JamieGlopoll](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamieglopoll/32/100645_2.png) [@JamieGlopoll](https://meta.discourse.org/u/JamieGlopoll)
#### Post date: [7월 7, 2018, 5:17오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/4 "2018-07-07T17:17:23Z")

</div>

I have the latest version of Discourse. I’m getting it organized before launching it to the public. The option to add new categories is missing. I follow the instructions:  
" To add a category, visit the categories page , then click Create Category at the upper right."  
There is no “Create Category” button so I’m at a dead end. Any help would be greatly appreciated.

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [7월 7, 2018, 5:24오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/5 "2018-07-07T17:24:14Z")

</div>

While on the _Categories_ page `/categories`, click this button and you should see the New Category button.

 ![Capture11](https://global.discourse-cdn.com/meta/original/3X/6/b/6bee9b190dee29d1d34577c4c2e1821359f4407d.PNG)

---

<div class="post-metadata">

### Author: ![JamieGlopoll](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamieglopoll/32/100645_2.png) [@JamieGlopoll](https://meta.discourse.org/u/JamieGlopoll)
#### Post date: [7월 7, 2018, 5:38오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/6 "2018-07-07T17:38:54Z")

</div>

Aw, sadly that button never existed in my instance. I am in bootstrap mode still of that might be a factor.

.

 ![33%20PM](https://global.discourse-cdn.com/meta/original/3X/1/a/1aa6bdc84039c9ffcb8e97b9b568c03367bca64e.png)

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [7월 7, 2018, 5:42오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/7 "2018-07-07T17:42:38Z")

</div>

You’re on the _latest_ page. That button only shows up on the _categories_ page. You get to the categories page by clicking on this:

 ![Capture22](https://global.discourse-cdn.com/meta/original/3X/6/0/605aab386effe140c4d25dec2a368643657d4351.PNG)

---

<div class="post-metadata">

### Author: ![JamieGlopoll](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamieglopoll/32/100645_2.png) [@JamieGlopoll](https://meta.discourse.org/u/JamieGlopoll)
#### Post date: [7월 7, 2018, 5:56오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/8 "2018-07-07T17:56:25Z")

</div>

Incredible! That solved my problem. Thank you for getting me unstuck 🙏🏻

---

<div class="post-metadata">

### Author: ![anon23840344](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@anon23840344](https://meta.discourse.org/u/anon23840344)
#### Post date: [8월 3, 2020, 12:43오전 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/9 "2020-08-03T00:43:11Z")

</div>

그 버튼을 찾을 수 없어요.

 ![Screen Shot 2020-08-02 at 17.42.14](https://global.discourse-cdn.com/meta/original/3X/1/f/1f88f68b897653b10ec77d78bc14100aa0d5e84c.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [8월 3, 2020, 1:55오전 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/10 "2020-08-03T01:55:20Z")

</div>

관리자가 아닌 것 같은데, 기억이 맞다면 카테고리를 추가할 수 있는 권한은 관리자만 있습니다.

---

<div class="post-metadata">

### Author: ![cratag](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@cratag](https://meta.discourse.org/u/cratag)
#### Post date: [5월 17, 2021, 6:43오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/11 "2021-05-17T18:43:17Z")

</div>

그리고 새 카테고리에 숫자를 추가하는 방법은 무엇인가요?

---

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [5월 17, 2021, 7:33오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/12 "2021-05-17T19:33:49Z")

</div>

URL 끝에 표시되는 번호를 말씀하시는 건가요? 바꿀 수 있으면 좋겠지만, 제가 아는 한 자동으로 할당됩니다.

---

<div class="post-metadata">

### Author: ![cratag](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@cratag](https://meta.discourse.org/u/cratag)
#### Post date: [5월 17, 2021, 8:00오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/13 "2021-05-17T20:00:53Z")

</div>

아니요, 저는 특정 카테고리에 번호를 추가하려는 것이었습니다. ‘78’ 카테고리에 게시물을 작성하면, 해당 게시물이 ‘Instagram’ 카테고리에 속하게 되는 것이죠.

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [5월 18, 2021, 2:54오전 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/14 "2021-05-18T02:54:55Z")

</div>

죄송합니다. 질문이 아직 명확하지 않습니다.

---

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [5월 18, 2021, 7:29오전 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/15 "2021-05-18T07:29:21Z")

</div>

URL에서 카테고리 ID를 가져와서 카테고리 제목에 포함하도록 수정할 수 있습니다. 예를 들어 "78. Instagram"처럼요.

URL `forum.example.com/c/78`은 카테고리 페이지로 연결됩니다.

카테고리 ID는 자동으로 증가하는 방식인 것 같아서, 임의로 숫자를 지정할 수는 없는 것 같습니다(제가 아는 한).

---

<div class="post-metadata">

### Author: ![cratag](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@cratag](https://meta.discourse.org/u/cratag)
#### Post date: [5월 21, 2021, 2:34오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/16 "2021-05-21T14:34:21Z")

</div>

죄송합니다, 말씀이 맞습니다. 카테고리를 생성한 후 discourse bootstrap 데이터베이스에서 해당 번호를 수정해야 했습니다.

그리고 네, Jonathan5. 완벽하게 작동했습니다. 감사합니다!

---

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [5월 21, 2021, 2:43오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/17 "2021-05-21T14:43:55Z")

</div>

> [@cratag](#):
>
> discourse bootstrap 데이터베이스에서 해당 번호를 편집합니다

OCD가 있다고 말하려는 건 아니지만, 이걸 어떻게 하는지 궁금합니다…

---

<div class="post-metadata">

### Author: ![cratag](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@cratag](https://meta.discourse.org/u/cratag)
#### Post date: [5월 21, 2021, 2:51오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/18 "2021-05-21T14:51:01Z")

</div>

음, Ubuntu용 discourse 로컬 개발 환경을 설치하고 `rails db:create`와 `rails db:migrate`를 실행한 후 서버를 `rails s`로 실행했습니다.

그 다음 discourse 로컬호스트에 접속하여 관리자 계정으로 카테고리를 하나 생성했습니다.

이후 pgadmin에 로그인하여 `discourse_development` 데이터베이스에서 `categories` 테이블을 열었더니, id가 3인(아마도) 새로 만든 카테고리가 있었습니다. 그 id를 78로 변경하고 저장했습니다.

---

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [5월 21, 2021, 3:43오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/19 "2021-05-21T15:43:21Z")

</div>

즉, `categories` 테이블에서 `id`만 바꾸면 되는 건가요? 유혹이 되네요.

예기치 못한 결과가 생길 수 있을까요?

Uncategorised=1, Staff=3, Lounge=4 등으로 설정된 사실에 어떤 의미가 있을까요?

어딘가의 URL(예: 게시물 본문 내 URL)을 다시 생성해야 할까요?

감사합니다.

---

<div class="post-metadata">

### Author: ![cratag](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@cratag](https://meta.discourse.org/u/cratag)
#### Post date: [5월 21, 2021, 3:51오후 UTC](https://meta.discourse.org/t/how-to-add-categories/71859/20 "2021-05-21T15:51:59Z")

</div>

아직까지 별다른 역효과를 본 적은 없지만, 앱 사용 기간도 그리 길지 않아서요. 죄송하지만 질문하신 내용에 대해 답변드리기 어렵습니다. 혹시 다른 분이 답변해 주실 수 있을까요?

[다음 페이지](https://meta.discourse.org/t/how-to-add-categories/71859.md?page=2)
