Could we check the duplicated topic title for the each category only?

First of all, I would like to say “thank you very much” to the Discourse team. You had a great, smart and interesting forum. We are using the Discourse as a platform for our website :smiley: Then we have one case that needs your help.
Currently, the Discourse doesn’t allow users to create 2 topics which have the same topic title although they are in different categories. So do we have any solutions for this validation applied for the unique category, not across the system?
Example:
User A created a topic with the topic title “Discourse is a great system” in the category 1
=> User B can NOT create a topic with the title “Discourse is a great system” in the category 1 but he CAN do it in the category 2

I hope to see your answer soon. Thanks once again.

Glad to hear Discourse is working well for your website :smiley:

If you want to allow topics to have duplicate titles, you can enable the allow duplicate topic titles site setting. In general though, we recommend keeping it disabled, as having duplicate titles can be confusing for users and potentially search engines.

Unfortunately we don’t have that functionality, it is just on or off across the whole system.

Just to amplify on what @david said, if you look at the way the URL is constructed, the category is not part of the URL:

https://example.com/t/topic-title/1234

so if there were duplicate titles in two different categories the URLs would be confusingly close together – other than the id number of course.

@david and @codinghorror Thank you very much for your support.
The reason why I would like to check the duplicate titles for each category, not all. Because on our system, all categories are private and each category will match to one group. So the condition for viewing, searching the topic in a category is that he needs to be a member of a group matching the category.
If we check the duplicate topic title and users don’t see the topic that has the same title in the category (on our system, it works as a community). It makes the users confused.
Currently, our temporary solution is to “allow duplicate topic titles” on the setting. But if our website is bigger, allowing the duplicate topic title is not good.

카테고리가 다르면 동일한 제목을 사용할 수 있어야 한다는 데 동의합니다. 이는 큰 이점이 될 것입니다.

이것을 구현하는 것이 어려울까요?

시나리오는 다음과 같습니다. 사용자가 모든 카테고리에 접근할 수 없는 경우, 사용자가 접근할 수 없는 카테고리에서 이미 사용된 제목이라면 해당 토론 제목이 이미 사용되고 있다는 실패 메시지는 혼란을 야기합니다.

따라서 다음 세 가지 상태를 가질 수 있으면 좋겠습니다:

  • 중복 제목 없음
  • 같은 카테고리 내에서 중복 제목 없음
  • 중복 카테고리 허용

DEV: allow to have duplicate topic titles if category is different - Pull Request #10034 - discourse/discourse - GitHub 에 대해 어떻게 진행해야 하나요?

@minh_tri_Phan YI: 이 PR은 오늘 병합되었습니다.