Sub topic 9
Find and fix cannibalization
This chapter assumes you have a keyword map in CSV form with one row per page, as laid out in the previous chapters. It also assumes you can run a short Python script and read a basic search performance report.
What cannibalization is
Keyword cannibalization happens when two or more pages on your site target the same primary keyword, or the same search intent. The pages compete with each other. Search engines may swap which one ranks, show the weaker page, or rank both lower than one consolidated page would rank.
Cannibalization is a mapping problem, not a penalty. Sharing a topic is fine. Sharing a primary keyword and intent is the problem. A category page for "running shoes" and an article on "how to choose running shoes" can coexist because their intents differ (commercial and informational).
Check the plan before you publish
The cheapest place to catch the problem is the map itself. This script reads the CSV and lists every 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 only finds exact matches after lowercasing. It misses near-duplicates such as "running shoe" and "running shoes". Review your clusters from the clustering chapter for those, because keywords in one cluster should not be split across pages.
Check pages that already exist
Existing sites also collide in ways the map does not show. Look for these signs in your search performance data:
- One query returns several of your URLs over a few weeks.
- The ranking URL for a query keeps changing.
- Two pages have the same intent label and similar titles.
A search such as site:example.com "trail running shoes" is a quick manual check. It is a rough signal only, because it shows pages that mention the phrase, not pages that compete for it.
Decide on the fix
Compare the pages by intent first. Then choose the least disruptive fix that works.
| Situation | Fix | Map change |
|---|---|---|
| Same intent, one page weaker | Merge useful content into the stronger page, then 301 redirect | Remove the weaker row |
| Same intent, both have unique value | Narrow each page to a different angle | Give each a distinct primary keyword |
| Different intents | Retarget the page whose intent does not fit | Update keyword and intent columns |
| Page should exist but only for users | Keep it and add `noindex` | Mark status in notes |
Keep the page that already has links, traffic, or the better URL. Do not delete the other page without a redirect, or you lose its inbound links.
Record the result
After each fix, update the CSV. Change the primary keyword, status, and notes columns, then rerun the check script. An empty output means the plan has no duplicate primary keywords. Then watch the search performance report for a few weeks to confirm one URL now answers the query.
Exercise
Two URLs, /blog/trail-shoe-guide/ and /trail-shoes/, both list "trail running shoes" as their primary keyword. The first is informational and the second is commercial. Should you merge them? What do you change?
Show answer
No. The intents differ, so merging would lose one intent. Retarget the article to an informational keyword, such as "how to choose trail running shoes", keep the category as the target for "trail running shoes", update the map rows, link the two pages, and rerun the duplicate check.