The article index on this site has a filter: click a topic, see the articles about it. At 26 articles that filter showed 43 buttons in a block 154 pixels tall. Twenty-five of them returned exactly one article.
The blog, with 11 posts, was broken the other way. Two of its tags were on every single post, so clicking them changed nothing, and nine of the remaining eleven matched one post each. Not one button on that page narrowed the list in a useful way.
How it got there
Every tag was reasonable when it was added. Writing an article about webhooks, "Webhooks" is the obvious tag. Writing about email deliverability, "Email" and "DNS". Each choice described the piece in front of you. Nobody — including me — was asking whether the tag would ever describe a second piece.
That is the failure mode: tags chosen to describe a piece rather than to group pieces. A description can be as specific as you like. A group with one member is not a group, and as a filter it is a dead end — the reader clicks, gets the article they could already see, and has learned nothing.
Three rules
Consolidating took three rules, each with a reason.
- No tag on fewer than two pieces. Below that it cannot filter.
- No tag on more than about a third of its collection. Above that it stops narrowing. A tag on every post is not a filter, it is a description of the whole site.
- Name what a reader is looking for, not what the piece mentions. "Reliability" is something someone browses for. "HPOS" is something one article happens to be about.
For the blog, the third rule changed the whole vocabulary. Every post was about Theravāda Buddhism, so tagging them with it said nothing. What actually separates them is the thread a reader is following — the practice, kamma, the life of the Buddha, or the personal story of leaving another religion — so those became the tags.
The result
- Articles: 42 tags down to 15, 43 buttons to 16, a 57px filter block, no dead ends.
- Blog: 11 tags down to 5, 6 buttons, none matching every post or only one.
Every filter now does something when you click it. Architecture narrows 26 articles to 10; Kamma narrows 11 posts to 4.
Keeping it from growing back
Tag sprawl is a slow problem. Each new tag is harmless on the day it is added and the cost only shows once there are dozens. Two habits keep it in check.
First, treat the tag list as a fixed vocabulary you choose from, and only add to it when you can name the second piece the new tag would cover. If you cannot, the tag is a description and belongs in the summary, not the filter.
Second, count occasionally. A short script that prints how many pieces carry each tag takes a minute to run and shows the singletons and the universals at a glance. Anything at one or at nearly everything is a tag that is not working, however accurate it is.
Tags exist to help someone find the second article after the first. Measured that way, most of the original 53 were not doing their job.