Sub topic 14
Keep the map current
A keyword map is accurate on the day you finish it. After that, pages are added and removed, rankings move, and search results change shape. This chapter covers how to keep the map in step with the site and with search. It assumes you already have a working map in the CSV layout from the earlier chapters. You should also be comfortable reading a short Python script and exporting data from a rank tracker or Google Search Console.
Why a map goes stale
A map is a set of claims. Each row says "this URL targets this keyword for this intent." Several kinds of change make those claims false:
- Site changes. A page is merged, redirected, deleted, or retitled. The map still lists the old URL or the old target.
- Search changes. The results page for a keyword shifts from articles to product listings. The intent label on the row is now wrong.
- Demand changes. Seasonal terms rise and fall. New product names appear. Old terms fade.
- Process drift. Someone publishes a page and never adds a row. Someone else adds a second page for a keyword that already has an owner.
Most of the damage comes from the last item. If the map is not part of the publishing workflow, it will not be updated.
Make the map part of publishing
The cheapest maintenance rule is that no page goes live without a map row, and no page is retired without a map update. Put that rule in the publishing checklist.
A new page needs these checks before launch:
- Search the map for the proposed primary keyword. If another URL already owns it, stop and decide whether this is an update to that page, a different keyword, or a deliberate split.
- Add the row with
statusset toplanned, then change it toexistingat launch. - Add the page's internal links, as planned in the previous chapter.
A retired page needs these:
- Decide where its keywords go. Either another page takes them, or they are dropped on purpose.
- Set up a redirect to the page that now covers the topic.
- Update or remove the row. Record the date and the reason in
notes.
Add columns that support maintenance
The layout from the earlier chapter works for building the map. For upkeep, add a few columns so you can see which rows are old and which have been checked.
| Column | Purpose |
|---|---|
| `last_reviewed` | Date someone last confirmed the row is correct |
| `owner` | Person responsible for the page and its row |
| `current_rank` | Latest position for the primary keyword, copied from your tracker |
| `rank_checked` | Date that rank was taken |
| `intent_checked` | Date someone last looked at the results page to confirm the intent label |
Keep these columns small. A map with twenty columns that nobody fills in is worse than one with ten that are current. If a column is empty for most rows after two review cycles, remove it.
Run a scheduled audit
Set a fixed cadence. Quarterly suits most sites. Large sites with frequent publishing may want monthly checks for the sections that change most, and a full audit twice a year. Each audit has four parts.
1. Check the map against the site
Export the live URLs from a crawl or from your sitemap. Compare them with the url column. You are looking for two kinds of mismatch:
- URLs on the site but not in the map. These are unmapped pages, and each one needs a target or a decision to remove it.
- URLs in the map marked
existingbut missing from the site, or redirecting. These rows are out of date.
The script below does this comparison. It assumes you saved one URL path per line in live_urls.txt, in the same form the map uses, such as /running-shoes/. It skips rows marked planned, since those pages do not exist yet.
import csv
with open("live_urls.txt", encoding="utf-8") as f:
live = {line.strip() for line in f if line.strip()}
mapped = set()
with open("keyword_map.csv", newline="", encoding="utf-8") as f:
for row in csv.DictReader(f):
if row["status"].strip().lower() == "existing":
mapped.add(row["url"].strip())
unmapped = sorted(live - mapped)
missing = sorted(mapped - live)
print("On the site but not in the map:")
for url in unmapped:
print(" ", url)
print("In the map as existing but not on the site:")
for url in missing:
print(" ", url)Normalize URLs before comparing. A trailing slash, a capital letter, or a full domain on one side will produce false mismatches.
2. Check for new cannibalization
Run the duplicate-primary-keyword script from the cannibalization chapter against the current map. That script finds planned conflicts. It does not find conflicts that arise on their own, where two pages with different primary keywords both rank for the same query. For those, use Search Console. In the Performance report, filter by a query and look at the Pages tab. If two of your URLs both receive impressions for that query and swap positions over time, you have a live conflict. Resolve it with the options you already know: merge, differentiate, redirect, or adjust internal links.
3. Re-check intent on a sample
Intent labels age faster than any other column. Open the results page for the primary keyword of your most important rows and ask whether the dominant result type still matches the label. A keyword you labeled informational may now show shopping results and product category pages. If so, the page type is wrong for the query, and the row needs a new plan.
You cannot check every row by hand on a large site. Sample by value: check the rows that carry the most traffic or revenue first, then rows whose rank has dropped since the last audit.
4. Review rank and traffic changes
Compare each page's current rank for its primary keyword with the last audit. Look for three patterns:
- A drop. Check whether the page changed, whether a competitor page replaced it, and whether the intent shifted.
- A rise for a supporting keyword. The page may be a better match for that keyword than you thought. Consider whether it deserves its own page or a section.
- A page ranking for a keyword you never assigned. This is evidence of an unmapped topic. Add it to the map as a supporting keyword or as a gap.
Rank is a signal, not a verdict. Positions vary by location, device, and day, so look at trends across several weeks and not at one reading.
Refresh the keyword pool
Search language changes. Between audits, add new terms from three sources:
- The query report in Search Console, which shows what people actually typed to reach you.
- The site's internal search, if it has one. Queries with no good result point to gaps.
- Customer questions from support, sales, and community channels.
Run new terms through the same steps as before: classify the intent, cluster against existing clusters, and assign to a page or add to the gap list. A new term that clusters with an existing keyword becomes a supporting keyword for that page. A term with no cluster and no page goes on the gap list.
Decide what to change and what to leave
Not every finding needs action. A reasonable policy keeps the map stable and avoids churn:
- Change a primary keyword only when the search results or the page's purpose has clearly changed. Do not swap it because of a one-week rank dip.
- Update a page's content when its intent label is wrong or its rank has fallen across several checks.
- Leave pages alone when they rank well and the map is merely incomplete. Fill in the map instead.
Every change to a page's target should leave a trace. Use the notes column or a separate change log with the date, the old target, the new target, and the reason. When a ranking changes months later, you will want to know whether you changed the target in between.
Track the map with version control
A CSV is plain text, so it works well in a version control system such as Git. Each audit becomes a commit, and the history shows who changed which target and when. If you use a shared spreadsheet instead, turn on version history and keep a dated copy of the map after each audit.
The maintenance cycle looks like this:
Common mistakes
- Treating the audit as a rewrite. The goal is to correct drift. Rebuilding the whole map each time throws away history and creates new errors.
- Updating the map but not the page. If the map says a page targets a new keyword, the title, headings, and body must change too, or the map is fiction.
- Never removing rows. Rows for deleted pages and abandoned keywords add noise and hide real conflicts.
- Relying on one rank snapshot. Rank data is noisy. Decide on trends.
- No owner. A map owned by everyone is maintained by no one. Name one person responsible for the audit, even if many people edit rows.
Summary of the routine
- Make map updates part of publishing and retiring pages.
- Add a few maintenance columns:
last_reviewed,owner, rank, and check dates. - Audit on a schedule: compare with the site, check cannibalization, re-check intent, review rank.
- Feed new keywords in from Search Console, internal search, and customer questions.
- Change targets only on clear evidence, and log each change.
- Keep the map under version control.
Exercise
Your audit script reports that /blog/running-shoe-size-guide/ is in the map as existing but does not appear in the live URL list. You also find that /blog/how-to-choose-running-shoes/ now ranks for "running shoe size guide". What do you check, and what do you record in the map?
Show answer
First check why the size guide URL is missing: it may have been deleted, merged into the "how to choose" article, or moved to a new URL. Confirm that a redirect exists and points to the page that now covers the topic. If the content was merged, the "how to choose" article now owns "running shoe size guide", so add it to that row's supporting keywords, remove or update the old row, and set last_reviewed. Record the date and the reason in notes or the change log. If the page was deleted by mistake, restore it or redirect it, and fix the row accordingly.
Exercise
A page's primary keyword has dropped from position 4 to position 7 in one weekly check. Should you change the primary keyword in the map? Give two things to look at first.
Show answer
No. One reading is not enough, because positions vary by day, location, and device. Look at the trend over several weeks. Then check the results page to see whether a competitor or a new result type has replaced you, and whether the intent label still matches what ranks. Change the target only if the evidence stays consistent and the page's purpose or the search results have clearly changed.
Exercise
Why does the URL comparison script skip rows whose status is planned?
Show answer
Planned pages do not exist on the live site yet. If the script included them, every planned row would be reported as "in the map but not on the site", which hides the real mismatches caused by deleted or redirected pages.