Sub topic 11
Grouping ideas into topic clusters
This chapter covers how to turn a flat list of keyword ideas into groups that each map to one page or one section of content. It assumes you have a list of autocomplete suggestions and People also ask (PAA) questions, you have sorted them by intent, and you have checked them against the search results. It also assumes you can sort and filter in a spreadsheet. The Python example is optional.
Why a flat list is not a plan
After expansion and validation you may have several hundred phrases. Many are the same request worded differently: "cold brew ratio", "cold brew coffee to water ratio", and "how much coffee for cold brew". If you write a page for each, the pages compete with each other and repeat the same content. If you ignore the list and write one page for everything, you miss the specific questions searchers ask.
A topic cluster is a set of keyword ideas that one page can answer well. Clustering decides which ideas share a page, which get their own page, and which you drop.
The working model
A cluster has three parts:
- Head idea. The phrase that best names the cluster. It is usually the one with the clearest intent and the most support from the SERP or your volume source.
- Members. Phrases that a searcher would be satisfied to find answered on the same page. These are rewordings, narrower variants, and related PAA questions.
- Intent. One dominant intent for the whole cluster. A cluster that mixes "buy a cold brew maker" with "how to make cold brew" asks one page to do two jobs.
Two phrases belong together when the same page could satisfy both searches. Word similarity is only a rough guide to that. "Cold brew vs iced coffee" and "cold brew vs iced coffee caffeine" share many words and probably belong together. "Cold brew concentrate" and "cold brew concentrate recipe" look close, but the first may show product listings and the second may show recipes.
Step 1: split by intent first
Use the intent labels from the previous chapter as the first sort. Put informational, commercial investigation, transactional, and navigational ideas in separate buckets before you compare meaning. A page seldom ranks for both a how-to query and a buy query, so words that match across intents should not pull the phrases into one cluster.
In a spreadsheet, add an intent column and sort or filter on it. Do the remaining steps inside each intent bucket.
Step 2: group by meaning
Within a bucket, read the phrases and sort them into groups by hand. This is practical up to a few hundred rows. Work through these questions:
- Do these phrases ask for the same answer in different words? Merge them.
- Is one phrase a specific part of another? Make it a member, and plan a section or heading for it.
- Does one phrase need a different format, such as a comparison, a list, or a calculator? Give it its own cluster.
Strip the obvious noise first. Trim whitespace, lowercase everything, and remove duplicates. Treat plural and singular forms as one phrase, and decide in advance how you will treat word order ("cold brew ratio" and "ratio cold brew"). Do this before grouping, so you do not count one idea twice.
PAA questions deserve special handling. A PAA question is often a subtopic of a larger head idea, and it works well as a heading inside that page. For example, "Is cold brew stronger than regular coffee?" can sit as a section in the main cold brew page. If many PAA questions point to the same subtopic, that subtopic may be worth its own page.
Step 3: check SERP overlap
Meaning is a guess. The search results show what Google treats as the same topic. Search the head idea and a few members, then compare the top ten results.
- If the same pages (or pages of the same type) rank for two phrases, one page can target both. Merge them.
- If the results differ, such as a recipe page for one phrase and a product category page for the other, keep the phrases in separate clusters.
A rule of thumb used by many teams is to merge phrases that share three or more of the top ten URLs. Treat this as a starting point and adjust it. A threshold that is too low merges unrelated topics. One that is too high splits near-identical phrases.
Automating the overlap check
If you have saved the top URLs for each phrase, you can apply the rule with a short script. This example reads no network data. It takes a dictionary of phrase to a set of result URLs, which you would export from a SERP tool or build by hand. The single letters stand in for URLs.
def cluster_by_serp_overlap(serps, min_shared=3):
"""Group keywords whose top results overlap with a cluster's head keyword.
serps maps each keyword to a set of result URLs. Keywords are handled in
the order given, so list your highest-priority keywords first: the first
keyword that does not fit an existing cluster becomes a new head.
"""
clusters = []
for keyword, urls in serps.items():
for cluster in clusters:
if len(urls & cluster["urls"]) >= min_shared:
cluster["members"].append(keyword)
break
else:
clusters.append(
{"head": keyword, "urls": set(urls), "members": [keyword]}
)
return clusters
serps = {
"cold brew coffee ratio": {"a", "b", "c", "d", "e"},
"cold brew ratio water": {"a", "b", "c", "f", "g"},
"how long to steep cold brew": {"h", "i", "j", "k", "l"},
"cold brew steeping time": {"h", "i", "j", "m", "n"},
"cold brew vs iced coffee": {"p", "q", "r", "s", "a"},
}
for cluster in cluster_by_serp_overlap(serps):
print(cluster["head"], "->", cluster["members"])The script prints three clusters: the ratio phrases, the steeping-time phrases, and the comparison phrase. The comparison shares only one URL with the first cluster, so it stays separate.
The script compares each phrase only against the head of each cluster. That keeps the result easy to explain, but it depends on input order. Sort your list by priority first, and review the output by eye.
Step 4: pick the head and assign a page
For each cluster, choose the head idea using these signals, in order:
- It matches the dominant intent of the cluster.
- It reads as the natural title of the page.
- It has the strongest volume estimate from your separate volume source, if the other signals tie.
Remember that autocomplete and PAA give you no volume figures. Volume must come from another tool, and it is usually a rough range. Do not treat a small difference in volume as a reason to change the head.
Then record the plan in a table. One row per cluster keeps the content map readable:
| Cluster head | Intent | Members | Planned page |
|---|---|---|---|
| cold brew coffee ratio | Informational | cold brew ratio water, how much coffee for cold brew | Guide: cold brew ratios |
| cold brew steeping time | Informational | how long to steep cold brew | Section in the recipe page |
| cold brew vs iced coffee | Commercial investigation | is cold brew stronger than iced coffee | Comparison page |
A cluster can become a full page, a section of a larger page, or nothing at all if it is too thin or off-topic for your site.
Common errors
- Clustering by shared words only. Phrases with the same words can have different intent or different results pages. Check the SERP before you merge.
- Mixing intents in one cluster. If informational and transactional phrases share a page, the page serves neither well.
- Building a page for every phrase. Near-duplicate pages split your effort and can compete with each other in search.
- Over-merging. A cluster of fifty loosely related phrases produces a page with no clear subject. If you cannot write a single title for the cluster, split it.
- Treating clusters as permanent. Search results change over time, and so do the pages that rank. Recheck overlap when you plan a new batch of content.
- Ignoring the singleton. A phrase that fits no cluster is not always noise. It may be a new subtopic. Park it in a "review later" list instead of deleting it.
Checking your result
Before you accept a cluster map, test it:
- Can you write one clear page title for each cluster?
- Does each cluster have a single dominant intent?
- If you picked two members at random, would one page satisfy both searchers?
- Does any cluster have only one phrase and no clear reason to exist on its own?
Fix the clusters that fail, then pass the map to the final chapter's workflow.
Exercise
You have the phrases "best cold brew maker", "how to make cold brew at home", and "cold brew maker reviews". The top ten results for the first and third share seven URLs. The second shares none with either. How would you cluster them, and why?
Show answer
Make two clusters. "best cold brew maker" and "cold brew maker reviews" go together as commercial investigation, with a head such as "best cold brew maker", because seven shared URLs show that one page type satisfies both. "How to make cold brew at home" is informational and shares no results, so it gets its own cluster and its own page.
Exercise
Your script merges "cold brew concentrate" and "cold brew concentrate recipe" because they share four URLs. A manual look shows the first query returns mostly product pages. What should you do?
Show answer
Split them, or at least review the merge. Four shared URLs passed the threshold, but the different page types suggest different intent (shopping versus recipe). Lower the risk by raising the threshold, comparing page types as well as URLs, and keeping the two phrases in separate intent buckets before running the overlap check.