Sub topic 8
Map keywords to pages
This chapter assumes you can already pick a primary keyword and a set of related keywords for one page. You also need to know what search intent is. Here you will learn to assign those keywords across a whole site, so each page has its own focus.
What a keyword map is
A keyword map is a table that lists every page and the keywords it targets. Each page gets one primary keyword and a few related keywords. You build it before you publish, so you can see overlaps while they are still cheap to fix.
The map answers three questions:
- Which page is the best answer for this query?
- Does a page already exist for it, or do you need a new one?
- Do two pages claim the same query?
Build the map step by step
- List your existing pages and the ones you plan to write.
- For each page, write down its purpose, meaning what the visitor should be able to do after reading it.
- Assign the primary keyword whose intent fits that purpose.
- Add related keywords that support the primary one without changing the intent.
- Check the whole table for repeats.
A spreadsheet or a CSV file is enough. This is a small map in CSV 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"Each row has a different primary keyword. The related keywords belong to the topic of their own row, so the two pages do not pull in the same direction.
Check for overlaps with a script
Once the map has more than a few rows, checking it by eye gets unreliable. This Python script reads a map and reports any keyword that appears in more than one row, whether as a primary or a related keyword.
import csv
import io
from collections import defaultdict
keyword_map = '''page,primary_keyword,related_keywords
/blog/choose-primary-keyword,choose primary keyword,"primary keyword; secondary keywords; search intent"
/blog/keyword-research-tools,keyword research tools,"free keyword tools; keyword difficulty; search intent"
'''
usage = defaultdict(list)
for row in csv.DictReader(io.StringIO(keyword_map)):
keywords = [row["primary_keyword"]]
keywords += [k.strip() for k in row["related_keywords"].split(";")]
for keyword in keywords:
usage[keyword.lower()].append(row["page"])
for keyword, pages in usage.items():
if len(pages) > 1:
print(f"{keyword!r} is used on: {', '.join(pages)}")It prints 'search intent' is used on: /blog/choose-primary-keyword, /blog/keyword-research-tools. That is a warning to review, not always an error. Sharing a related keyword is often fine. Sharing a primary keyword is the real problem.
Decide what to do with an overlap
When two pages want the same query, compare their intent. The right fix depends on what you find.
| Situation | Action |
|---|---|
| Both pages answer the same question | Merge them into one page and redirect the weaker URL to it |
| The pages answer different questions with similar wording | Give each page a primary keyword that reflects its own intent |
| One page is broad and the other is narrow | Keep the broad page on the head term and the narrow page on a long-tail variant |
| A shared related keyword only | Keep it, and make sure neither page treats it as its main topic |
Flow of a mapping decision
Common errors
- Mapping keywords to topics instead of pages. A keyword must land on one specific URL. "Keyword research" as a theme is not an assignment.
- Giving every page a head term. Most pages cannot compete for the broadest term. Use long-tail variants for supporting pages.
- Mapping by wording alone. Two phrases that look different can share one intent, and two that look alike can differ. Check the search results before deciding.
- Never updating the map. Add each new page to it, or overlaps will return as the site grows.
Exercise
Exercise
Your map has two pages. Page A at /guide/keyword-tools targets "keyword research tools". Page B at /blog/best-keyword-tools targets "best keyword research tools". Searching both phrases shows nearly the same results. What should you do, and why?
Show answer
The search results match, so both phrases share one intent and the pages compete with each other. Merge the content into the stronger page, keep one primary keyword, and redirect the weaker URL to it. Record the result in the map. Keeping both would split relevance and links between two URLs for the same query.