Sub topic 8
Map keywords to pages
What this chapter covers
You have chosen a primary keyword and related keywords for one page. This chapter covers the next step: recording those choices for a whole site so each page has its own job. The record is called a keyword map. It lets you see overlaps before you publish.
This chapter assumes you already know:
- What a primary keyword and a related keyword are.
- How search intent works.
- How to read a search results page (SERP) to see what kinds of pages rank.
The next chapter covers keyword cannibalization in more detail. Here the focus is building the map, because a good map prevents most cannibalization.
The working model
A keyword map is a table with one row per page. Each row holds three things:
- The page's URL.
- One primary keyword.
- A short list of related keywords.
The map relies on two rules:
- Each primary keyword belongs to exactly one page. If two pages both target "choose primary keyword", they compete for the same query, and the search engine has to pick one.
- A related keyword supports its page and does not replace another page's primary. Related keywords are variants, subtopics, and questions that a reader of this page would also expect to see covered.
The rules apply to topics, not only to exact strings. "How to choose a primary keyword" and "choose primary keyword" are the same topic in different wording, so they belong on the same page. Treat them as one keyword group.
Build the map
Choose the columns
A minimal map needs three columns. The spine example uses this form:
page,primary_keyword,related_keywords
/blog/choose-primary-keyword,choose primary keyword,"primary keyword; secondary keywords; search intent; long-tail keywords"
/blog/keyword-research-tools,keyword research tools,"free keyword tools; keyword difficulty; search volume"Plain CSV works in any spreadsheet, and a script can read it. Quote the related keywords field, because it contains separators. Using a semicolon between related keywords keeps them separate from the commas that split the columns.
Add columns when you need them. Common additions are search intent, status (planned, drafted, published), and the date you last reviewed the row. Extra columns are useful, but do not add them until you have a question they answer. A large map that nobody updates is worse than a small one that is correct.
Fill it in order
Work through the pages in this order:
- List the pages that already exist, with their URLs.
- Give each existing page the primary keyword it already fits best. Check the page's intent and what it actually covers, not only its title.
- Add the related keywords for each page.
- List the pages you plan to write, and choose primary keywords for them using the earlier chapters.
- Run the overlap checks below.
Start with existing pages, because they already carry signals in the search engine's index. Changing a live page's focus has a cost. Planned pages are free to adjust.
Decide when two keywords share a page
The hardest mapping decision is whether two similar keywords belong on one page or on two. Use the search results as the test. Search for both keywords and compare what ranks.
| What you see | What it means | What to do |
|---|---|---|
| The same pages rank for both keywords | The search engine treats them as one topic | One page. One keyword is primary, the other is related. |
| Mostly different pages rank, with different page types | The intents differ | Two pages, each with its own primary keyword. |
| Some pages overlap, some do not | The topics are close but separable | Decide by your content. If one page can answer both well, use one. If the answers need different structure, use two. |
| Results for one keyword are all product pages, and the other's are all guides | Commercial and informational intent | Two pages. A guide cannot easily rank for a product-style query. |
Volume figures from a keyword tool can mislead here. Two keywords with different volumes may still belong on one page. Splitting them creates two thin pages that each rank worse than one strong page would.
Check the map for overlaps
Reading a map by eye works for ten pages. Past that, errors slip in, such as a duplicated primary keyword or a related keyword that is another page's primary. A short script catches both. The script below reads the map and reports two kinds of problem:
- Duplicate primary keyword. Two pages claim the same primary keyword.
- Related keyword that is another page's primary. This is not always wrong, but it needs a decision.
import csv
import io
KEYWORD_MAP = """page,primary_keyword,related_keywords
/blog/choose-primary-keyword,choose primary keyword,"primary keyword; secondary keywords; search intent; long-tail keywords"
/blog/keyword-research-tools,keyword research tools,"free keyword tools; keyword difficulty; search volume"
/blog/pick-primary-keyword,choose primary keyword,"search intent; keyword difficulty"
/blog/keyword-difficulty-explained,keyword difficulty,"difficulty score; search volume"
"""
def normalize(text):
# Lowercase and collapse whitespace so "Search Intent" equals "search intent".
return " ".join(text.lower().split())
def load_map(text):
rows = []
for row in csv.DictReader(io.StringIO(text)):
related = [normalize(k) for k in row["related_keywords"].split(";") if k.strip()]
rows.append({
"page": row["page"],
"primary": normalize(row["primary_keyword"]),
"related": related,
})
return rows
def find_problems(rows):
problems = []
primary_owner = {}
for row in rows:
owner = primary_owner.get(row["primary"])
if owner is not None:
problems.append(
f"DUPLICATE PRIMARY: '{row['primary']}' on {row['page']} and {owner}"
)
else:
primary_owner[row["primary"]] = row["page"]
for row in rows:
for keyword in row["related"]:
owner = primary_owner.get(keyword)
if owner is not None and owner != row["page"]:
problems.append(
f"RELATED/PRIMARY OVERLAP: '{keyword}' on {row['page']} "
f"is the primary keyword of {owner}"
)
return problems
for problem in find_problems(load_map(KEYWORD_MAP)):
print(problem)Running it prints three lines:
DUPLICATE PRIMARY: 'choose primary keyword' on /blog/pick-primary-keyword and /blog/choose-primary-keyword
RELATED/PRIMARY OVERLAP: 'keyword difficulty' on /blog/keyword-research-tools is the primary keyword of /blog/keyword-difficulty-explained
RELATED/PRIMARY OVERLAP: 'keyword difficulty' on /blog/pick-primary-keyword is the primary keyword of /blog/keyword-difficulty-explainedAct on each report
The first line is a real conflict. Two pages target the same query. You have three options:
- Merge the pages, and redirect the weaker URL to the stronger one.
- Give one page a different primary keyword, if its content genuinely covers a different need.
- Keep both for now and watch the performance data (see the measurement chapter), if the pages already serve different intents and the map entry was simply wrong.
The second and third lines are not errors. A page about keyword research tools can mention keyword difficulty. The decision is how it treats the term. If the mention is a short explanation, link it to the page that owns the topic and remove "keyword difficulty" from the related list, so the map shows who owns it. If the page really needs a full section on difficulty, you may be repeating the other page's content, and the section should be shortened.
Common errors
Mapping by volume, not by page. A team sees a large keyword and assigns it to a page that does not match the intent. The map then records a wish, not a plan. Check intent first, as in the earlier chapters.
Giving a page several primary keywords. If a row has "primary keywords" in the plural, the page has no focus. Pick one. Move the others to related keywords, or give them to other pages.
Treating the homepage as a catch-all. The homepage often gets stuffed with every broad term. Give it a primary keyword that matches its job, usually the brand plus the main category. Assign the narrower terms to deeper pages.
Never updating the map. The map should change when you publish, merge, rename, or delete a page. A stale map hides overlaps instead of revealing them. Update the row in the same session you change the page.
Mapping keywords to pages that cannot rank. The SERP check applies here too. If every result for a keyword is a tool or a product page, a blog post may not fit the intent. The right fix is a different page type, not another paragraph of keywords.
Keep the map useful
A keyword map earns its place when you consult it before acting:
- Before writing a new page, search the map for the topic. If a page already owns it, improve that page instead.
- Before changing a title or heading, check that you are not moving into another page's primary keyword.
- After each publish, add the row and rerun the overlap check.
- On a regular schedule, compare the map with search performance data. That step is covered in the final chapter of this tutorial.
Keep it small and honest. One primary keyword per page, a short list of related keywords, and a check that nothing collides is enough.
Exercise
Your map has /guides/email-subject-lines with primary keyword "email subject lines" and /blog/subject-line-examples with primary keyword "email subject line examples". Searching both queries shows nearly the same ten pages. What should you do, and what should the map look like afterward?
Show answer
The search results show the engine treats both queries as one topic, so two pages compete with each other. Merge them into the stronger page (keep whichever has better content and links), and 301-redirect the other URL to it. In the map, keep one row. Use one query as the primary keyword, for example "email subject lines", and move "email subject line examples" to the related keywords. Rerun the overlap check to confirm the duplicate is gone.
Exercise
The overlap script reports that "search volume" appears as a related keyword on /blog/keyword-research-tools and on /blog/keyword-difficulty-explained, and no page has it as a primary keyword. Is this a problem?
Show answer
No. The script flags only duplicate primary keywords and related keywords that are another page's primary. A related keyword shared by two pages that is not any page's primary is allowed, because related keywords support a page and do not compete for ownership. You might still consider whether "search volume" deserves its own page, but the map is not wrong as it stands.