Sub topic 14
Keep the map current
A keyword map goes stale as soon as the site or the search results change. This chapter covers what triggers an update, how to audit the map on a schedule, and how to record changes so the map stays trustworthy. It assumes you have a finished map in the CSV layout from earlier chapters, with url, primary_keyword, intent, and status columns.
Know what makes a map go stale
Most drift comes from a few sources:
- Site changes. Someone publishes a page without adding it to the map, merges two pages, or deletes one. The map no longer matches the site.
- Search changes. The results for a keyword start showing a different kind of page, so the intent label is now wrong. A "buy" query may begin returning guides.
- New keywords. Product launches, seasonal topics, and new competitors add terms the map has never covered.
- Plans that were never finished. Rows marked
plannedstay that way for months, or the page ships under a different URL.
Run a repeatable audit
Set a cadence that matches how fast the site changes. A quarterly audit suits most sites. Run an extra check after a launch, a migration, or a large content push.
The first comparison is mechanical, so script it. Export the live URLs from a crawl into live_urls.txt, one per line. The script below flags three problems: duplicate primary keywords, rows marked existing whose URL is gone, and live pages missing from the map.
import csv
from collections import defaultdict
with open("keyword_map.csv", newline="", encoding="utf-8") as f:
rows = list(csv.DictReader(f))
with open("live_urls.txt", encoding="utf-8") as f:
live = {line.strip() for line in f if line.strip()}
by_keyword = defaultdict(list)
for row in rows:
if row["status"] != "retired":
by_keyword[row["primary_keyword"].strip().lower()].append(row["url"])
for keyword, urls in by_keyword.items():
if len(urls) > 1:
print(f"{keyword!r} is the primary keyword of {len(urls)} pages: {urls}")
for row in rows:
if row["status"] == "existing" and row["url"] not in live:
print(f"{row['url']} is marked existing but is not in the live URL list")
mapped = {row["url"] for row in rows}
for url in sorted(live - mapped):
print(f"{url} is live but has no row in the map")The script cannot judge intent. For your most important pages, search the primary keyword by hand. Check whether the top results still match the page type and intent you recorded. If they do not, change the intent label and decide whether the page needs a rewrite.
Update rows with a clear status
Use a small set of statuses and change them only when something actually happens:
| Status | Meaning | Typical next step |
|---|---|---|
| planned | No page yet | Build it, then set to existing |
| existing | Page is live and mapped | Review at each audit |
| needs update | Page no longer fits its keyword or intent | Rewrite, then set to existing |
| retired | Page removed or merged | Keep the row for history |
Do not delete retired rows. When you remove or merge a page, set its status to retired. Then note in the notes column where the URL now redirects and which page took over its keywords. Without that note, someone may later map the same keywords to a third page and recreate the cannibalization you fixed.
Log what changed
Add a short change log, either a separate sheet or a text file in version control. Record the date, the rows changed, and the reason. A line such as "2026-11-27: merged /blog/shoe-size-guide/ into /blog/how-to-choose-running-shoes/, redirect added" is enough. The log lets you check whether a ranking change followed a map change. It also keeps the map accurate when more than one person edits it.
Give the map one owner who approves new rows. Writers and developers can propose pages, but a single person checks each proposal against the existing primary keywords before it goes live.
Exercise
Your audit script reports that "trail running shoes" is the primary keyword of two non-retired pages, and one of them was published last week without a map row. What do you do?
Show answer
Decide which page better matches the intent and should keep the keyword. Assign the other page a different primary keyword, or merge it into the first and redirect it. Then add or update the rows, mark any removed page as retired with a note on its redirect target, and add a line to the change log.