Sub topic 8
Assign clusters to pages
This chapter assumes you have already grouped keywords into clusters, classified their search intent, and inventoried your existing pages. Here you connect those three inputs. Each cluster either goes to an existing page or to a planned new page, and each page gets exactly one primary keyword.
The working model
A cluster is a set of keywords that one page can satisfy. Mapping answers one question for each cluster: which URL should rank for this topic?
For every cluster, make three decisions:
- Pick the primary keyword. This is usually the cluster keyword with the best mix of volume and fit to the page. Use the wording searchers use most.
- Keep the rest of the cluster as supporting keywords for the same page.
- Choose the page: an existing URL, or a new one marked
planned.
The rule that holds the map together is one primary keyword per page, and one page per primary keyword.
Match on topic and intent
Start from your site inventory. For each cluster, look for a page that already targets the topic. Then compare intent. A category page such as /running-shoes/ serves commercial intent. An article such as /blog/how-to-choose-running-shoes/ serves informational intent.
If the cluster is "best running shoes" and the only matching page is a how-to article, the topic matches but the intent does not. Searchers want a product list. Plan a category or comparison page instead of forcing the article to cover it.
Record the result in the map
Each row is one page. Status separates what exists from what you still need to build.
url,page_type,primary_keyword,supporting_keywords,intent,status,notes
/running-shoes/,category,running shoes,"best running shoes; buy running shoes",commercial,existing,needs new intro copy
/blog/how-to-choose-running-shoes/,article,how to choose running shoes,"running shoe fit; running shoe size guide",informational,existing,link to category
/running-shoes/trail/,category,trail running shoes,"trail shoes; off-road running shoes",commercial,planned,no page yetPlanned pages need a proposed URL so the row is complete. Use the notes column to record why a decision was made, such as "article kept informational; new page planned for commercial cluster."
Check the assignments
Two clusters that are really the same topic will land on two pages and compete. Before you finish, run a check for any primary keyword assigned to more than one URL.
import csv
from collections import defaultdict
pages_by_keyword = defaultdict(list)
with open("keyword_map.csv", newline="", encoding="utf-8") as f:
for row in csv.DictReader(f):
key = row["primary_keyword"].strip().lower()
pages_by_keyword[key].append(row["url"])
for keyword, urls in pages_by_keyword.items():
if len(urls) > 1:
print(f"{keyword!r} is the primary keyword of {len(urls)} pages: {urls}")The script prints nothing when every primary keyword is unique. It cannot catch near-duplicates such as "running shoes" and "shoes for running". Clustering should have merged those, so review them by eye.
Common errors
- Two pages, one primary keyword. Merge the pages, or give one a different target. The next chapter covers fixes in detail.
- One page, several unrelated clusters. A page that tries to cover both "trail running shoes" and "running shoe size guide" serves neither well. Split the clusters across pages.
- Ignoring intent. Assigning a commercial cluster to an informational page rarely works, even when the words match.
- Assigning by volume alone. A high-volume keyword that does not fit the page's purpose is a poor primary keyword.
Exercise
Your map has /blog/running-shoe-guide/ (informational) and a new cluster "buy running shoes" (commercial) that matches the article's topic. What should you do, and what status should the result have?
Show answer
Do not assign the commercial cluster to the article, because the intent differs. Map it to the category page /running-shoes/ if one exists, or add a new row for a commercial page with status planned. Keep the article's own informational primary keyword and add a note linking it to the category page.