Tags give us another way to add structure to site content in addition to categories and menus. They can be used to group similar articles together like categories, provide additional context like keywords and you can assign multiple tags to each article if you wish
In Joomla all articles have to be assigned to a single article category, which could be the default uncategorised category if you really don't want to bother with categories. This helps you to organise the content of your site by grouping similar articles together e.g. blog, series, project or whatever. You have complete flexibility on how you organise the article categories and you can have subcategories too, but what if your article really belongs to two or three categories?
Tags are simple labels you can assign to articles (and also categories and menus) to help link related content together, a bit like categories but unlike categories you can assign several tags to each article if you wish.
So all my Joomla articles now get a Joomla tag. All articles that touch on Ubuntu now get an Ubuntu tag. And the articles about installing Joomla on Ubuntu get both tags, plus one for Bacula when discussing the backup process too. And when I get around to writing up my BaculaPi project, those articles will also get the Bacula tag too.
And if you click on the tag assigned to an article, Joomla will show you a list of other articles that have that tag applied so this can help users to quickly find related content.
Before we get too deep into implementing a tagging scheme it's helps to first look at what what's involved with creating a tag.
Tags are created and managed from the Components > Tags menu on the admin dashboard. And to start with there are none defined so go ahead and click on New to create a first tag.

The Tags form looks very similar to the Articles form, which suggests there's either a lot of complexity here or a lot of redundancy. And the answer is both. There's hidden power in these things.
At a minimum you need to give the tag a Title, which is the name that will appear so just one word seems to work really well.

The Status will default to Published and Access to Public so at this point you can just click Save & Close and you've created your first tag.
A single tag isn't going to provide much benefit, so go ahead and create a few more. But which tags to create? This is where it can get a bit interesting but before we start creating a lot of new tags there's a few other settings on the Tag Details page to look at first.
The Description box apparently doesn't do anything, but can be used for your own notes as to the intended uses of the tag. I've not used this so far.
The Status setting acts as an on/off switch for the tag, and the Access setting is a more selective who can see the tag and these two in combination I've found to be quite useful in setting up and managing tags. When you're just starting to set up tags these two settings don't really matter as you haven't tagged any articles or used the tags modules so nobody else will be able to see them just yet. But once you start to use the tags they'll take effect immediately and you probably don't want people to see them until you're ready so it's worth changing the defaults.
Set Status = Unpublished
Set Access = Registered.
The Parent setting lets us build our tags into a hierarchy or taxonomy, just like menus and categories, and this unlocks some additional possibilities. Which is why a little bit of time on planning is well worth it.
Designing a tagging taxonomy
To start with you're probably better off with a nice big sheet of paper or maybe a block of sticky notes or if you've got a bit enough screen an Impress document. The first task is to decide on what you want to use tags for. The obvious one is to tag the subjects that each article covers. Another option is to grade each article by complexity or level of expertise requrired. You might even have some articles which could use some specialist tags for the subject they cover but wouldn't be applicable for other subjects, or maybe tag if the article is a concept, how-to or bug-fix
The next step is to start reading through the articles and making notes of what the tags could be and start making list. On my first run through I came up with a simple topic list of:
- Joomla
- Nextcloud
- Linux
- Samba
- Bacula
- VMware
- ESXi
- TLS
- Ubuntu
- HAproxy
I also considered the level of of each article and came up with a list of:
- Beginner
- Intermediate
- Advanced
- Expert
The levels can obviously be grouped together. Looking at the topics I have a mixture of applications and operating systems which could also be grouped together. This gives me a tagging structure like so:
- App
- Bacula
- Dovecot
- HAproxy
- Joomla
- Nextcloud
- Samba
- OS
- Linux
- Ubuntu
- Mint
- ESXi
- Linux
- Level
- Beginner
- Intermediate
- Advanced
- Expert
So I could have an article as a beginner level how-to on installing Nextcloud and HAproxy on Ubuntu Linux tagged with the Beginner, Nextcloud, HAproxy and Ubuntu tags, or maybe instead of Ubuntu tag it as general Linux or even not add an OS tag at all if it was only concerned with application-specific configuration.
Configuring the Tags
We can set this up in the Tags editor by creating the three top-level tags of App, OS and Level with the Parent left as the default of None. To set up all the tags under App, simply set the Parent to App for each of Bacula, Dovecot, HAproxy, Joomla, Nextcloud and Samba.

Likewise for OS we set the parent of the Linux and ESXi tags to OS, and set the parent for the Ubuntu and Mint tags to Linux.
As you add and organise your tags, they will appear in the Tags list. The ID is assigned for you as they're created, but you're free to add and delete tags as you need to as well as change their parent.

The Tags list also shows you how many articles each tag has been assigned to, and that's a topic we'll cover in the next article. Yes, I've got a little bit ahead of myself again.