Admin guide to tags in Discourse

:information_source: If you haven’t read it already, It’s Time We Talked About Tags provides an overview of how tags can be used as an organizational tool.

Configuring Tags

Tag settings can be found in your admin panel under the “Tags” section of your site settings.

Tagging is enabled by default. To disable tags, ensure that the tagging_enabled setting is unchecked.

Creating and applying tags

Tags are created upon first usage. When composing or editing a topic, a user with tag creation privileges will see a tag chooser next to the category chooser. (See site setting min trust to create tag).

create_tag

Tags can also be adjusted when quick editing a topic title:

:mega: Please note that categories, depending on their settings, can optionally limit which tags may apply to that category.

Filter topics by tags

You can find the full list of tags on the /tags page on your site, along with a count of how often each tag has been used. Selecting a tag will present a list of topics that have had the tag applied.

:mega: If you ever need to filter topics by more than one tag at the same time, use the following URL syntax:

https://discourse.example.com/tags/intersection/TAG1/TAG2

Manage a tag

  1. Go to the /tags page on your site.
  2. Select the tag you would like to manage
  3. Select the button to reveal options to rename, delete, and manage synonyms:

Bulk replace, append, or remove tags

  1. Visit any topic list duly filtered by tag
  2. Press the bulk-select button at the top left of the topic list to enable bulk selection
  3. Manually select topics or use the “Select All” option
  4. Once you have a selection, use the admin wrench button that appears at the top-right of the topic list to open the Bulk Actions modal
  5. There will be three tags options available:
    • Replace Tags - replace all existing tags on the selected topics with the tag or tags you specify
    • Append Tags - add new tags, keeping any existing tags in place
    • Remove Tags - remove all existing tags

Tag admin options (Manage tag groups, upload tags, and delete unused tags)

Go to the /tags page on your site and look for the tag admin button to the upper-right of the page:

tag3

:mega: For more information on tag groups see Set up structured tagging with tag groups and category tag restrictions.

Auto-tagging topics based on watched words

The watched words feature can be used to automatically tag topics based on the presence of specified words. Configuration is done at /admin/customize/watched_words/action/tag. Note that using this feature will not apply tags to topics retroactively at this time.

Related Topics

Last edited by @JammyDodger 2024-05-26T21:56:32Z

Check documentPerform check on document:
33 Likes

3 posts were split to a new topic: How do I allow someone to create tags?

What I want to do is have tags that can be used across categories and can be added within a reply under a topic that does not have that tag set as an optional in it.

Is there a way to utilize tags in a reply under a topic that does not have the tag as an optional tag in the header?
So I have a topic with Phoenix as an optional tag and that’s the topic that I created that tag in.
I would like to be able to utilize #Phoenix under other topics in other categories and be able to click on the tag within a reply and have it give the results with all of the other replies and posts that have that tag (#phoenix) in it, without it having to be in every topic header. I would also like to be able to do the same thing with (#issue, #Problem-Solved, etc…)

here is the topic that I created the tag in the header.

here are a couple posts/replies that I have tagged with Phoenix that I would expect to be in the results for that tag. They are not showing up, only the topic with the optional tag Phoenix added to it is showing.



here is the results when I click on the tag in one of the replies from a different topic that has the tag Phoenix in it. It is my expectation that any post either a topic or a reply that has the tag Phoenix in it should show up in this list. But it’s only showing posts that are a topic with the Phoenix as an optional tag within that topic header.

Here are the results when I do a word search for Phoenix on the site.


Support Bug

1 Like

Have you read this post

2 Likes

Tags are for topics, not for posts. I agree it would be nice to tag posts too, but that can lead to awful mess really fast. And increases moderation a lot.

When you do something like tags you are linking that tag, not tagging. Same thing with categories when Feature doesn’t re-categorized, but is linking.

2 Likes

thanks for the link. I will check it out and see if this will solve our issue.
Cheers!

1 Like