Sub topic 12
Prioritizing groups by impact
This chapter assumes you already have duplicate clusters and thin-page groups from the earlier chapters, and that you can join a crawl export with search or analytics data in pandas.
Why rank groups instead of pages
A crawl of a mid-sized site can produce hundreds of duplicate clusters and thousands of thin pages. You cannot fix them all at once, and many are harmless. Prioritizing means ordering groups so the first fixes remove the most risk or waste for the least work.
Work with groups, not single URLs. One cluster of 400 parameter URLs is one decision. A single stray duplicate is rarely worth your time.
Signals that measure impact
Add these columns to each group before you score it:
| Signal | Where it comes from | What it tells you |
|---|---|---|
| Indexable URLs in the group | Crawl: status 200, no noindex, self or no canonical | How many pages compete or dilute |
| Clicks or impressions | Search Console export joined on URL | Whether the group earns traffic |
| Inlinks | Crawl: internal link counts | How much internal authority flows to the group |
| Crawl hits | Server logs, if available | How much crawl budget the group consumes |
| Business value of the template | Your judgment | Whether the pages sell, convert or inform |
| Effort | Your judgment | Template change, redirect map, or manual rewrite |
Traffic matters most because it shows that search engines already treat the URLs as worth showing. A cluster where the wrong URL ranks, or where traffic is split across variants, is high impact even if it is small.
Exclude groups that are already handled. If the duplicates all carry a canonical to the preferred URL, redirect, or noindex, and the signals agree (see the chapter on indexing signals), they belong at the bottom of the list. Confirm these signals first, because a canonical that conflicts with internal links is not handled.
Scoring with pandas
Raw counts have different scales, so convert each signal to a percentile rank, combine them with weights, then divide by effort. The weights are your own judgment. Change them when your site's goals differ.
import pandas as pd
groups = pd.DataFrame({
"group": ["utm-variants", "color-facets", "city-templates", "old-blog-tags"],
"kind": ["exact duplicate", "near duplicate", "thin", "thin"],
"indexable_urls": [120, 900, 340, 60],
"clicks_90d": [5400, 800, 150, 10],
"inlinks": [300, 2500, 700, 90],
"effort": [1, 3, 2, 1], # 1 = low, 3 = high
})
for col in ["indexable_urls", "clicks_90d", "inlinks"]:
groups[col + "_rank"] = groups[col].rank(pct=True)
groups["impact"] = (
0.4 * groups["clicks_90d_rank"]
+ 0.3 * groups["indexable_urls_rank"]
+ 0.3 * groups["inlinks_rank"]
)
groups["priority"] = (groups["impact"] / groups["effort"]).round(2)
print(
groups.sort_values("priority", ascending=False)[
["group", "kind", "impact", "effort", "priority"]
]
)The output is a ranked list. The utm-variants group wins because it has traffic and a cheap fix, even though color-facets has more URLs.
Common mistakes
- Ranking by URL count alone. A huge group of pages nobody visits or links to may not need action.
- Ignoring effort. A medium-impact fix that takes one redirect rule often beats a high-impact fix that needs a full content rewrite.
- Treating the score as truth. Use it to order discussion, then check the top groups by hand before you act.
- Mixing time windows. Seasonal pages look dead outside their season. Use a window that covers a full cycle.
The top of this list feeds directly into the next chapter, where you choose a specific fix for each group.
Exercise
A cluster of 15 near-duplicate pages gets 4,000 clicks in 90 days, and the wrong variant ranks. A group of 2,000 thin tag pages gets 20 clicks, and fixing it needs a template rewrite. Which group do you handle first, and why?
Show answer
Handle the 15-page cluster first. It has high traffic and a visible problem (the wrong URL ranks), and a canonical or redirect is a low-effort fix. The tag pages have large URL counts but almost no traffic and high effort, so their impact divided by effort is low.