Skip to main content

URL Pattern Clustering

The biggest SEO problems are almost never one page. They are patterns: a product filter that generates 40,000 query combinations, a calendar that creates a page per day, an old CMS that left a numeric ID route behind. Reviewing those URLs one at a time is impossible. Fixing the pattern takes an afternoon.

PruneSEO clusters your URLs into reusable shapes and tells you which shapes have enough members to be worth your attention.

From thousands of URLs to a handful of shapes​

A URL pattern is the stable part of a URL with the variable parts abstracted away. PruneSEO replaces predictable dynamic segments with placeholders:

SegmentBecomesExample
All digits:n/product/18422 → /product/:n
A UUID:uuid/order/9f1c...-.../view → /order/:uuid/view
A date:date/news/2026-03-14 → /news/:date

Dates are detected in YYYY-MM-DD, YYYY-MM and YYYYMMDD forms before the numeric rule applies, so an eight-digit date is labelled a date rather than a number. Everything else in the path is preserved, including leading, trailing and empty segments. That is deliberate: two different URL shapes must not collapse into one by accident.

Query strings are clustered separately. PruneSEO takes the set of query keys, sorts them and ignores their values, so these become one pattern:

/search?q=running&page=2
/search?q=boots&page=7
/search?page=3&q=socks
→ /search?page&q

The values differ. The shape does not.

What triggers a pattern finding​

PruneSEO only reports a pattern when there is enough evidence to call it systemic. The thresholds are fixed and published:

  • Parameter clusters need at least 5 URLs sharing one path template and one sorted set of query keys. At least one query key is required.
  • Template clusters need at least 10 URLs sharing one dynamic path template. Query strings are ignored for this rule.

Both rules count pages that were actually observed on the analysed host. A URL that was discovered but never fetched cannot join a cluster, because PruneSEO does not want to report a pattern built from URLs it has not seen.

A URL can appear in both a parameter cluster and a template cluster. The two rules describe the same set from different angles: one is about the query surface, the other about the path surface. Seeing both is useful, not redundant.

What a pattern finding contains​

Every pattern finding is a group finding. Instead of one row per URL, you get one row describing the pattern, plus everything needed to judge it:

  • The template, such as /products/:n or /search?page&q.
  • The number of URLs in the group.
  • The query keys, for parameter clusters.
  • Member URLs so you can open representative pages directly.
  • A suggested action aimed at the cause: consolidate the static pages, add canonical signals, or add parameter handling where the variations are equivalent.

Severity is medium for parameter clusters and low for template clusters. Confidence is medium for both, and the nature is inferred — PruneSEO is drawing a conclusion from a group of URLs rather than observing a single page. The docs and the product label it that way on purpose.

Why this is the highest-leverage report​

A single missing title is a small task. A template cluster with 12,000 members is a decision about how your site generates URLs. Pattern findings answer the questions that actually change crawl behaviour:

  • Where is the crawl budget going? Sort clusters by member count to see which URL shapes dominate the site.
  • Is this pattern intentional? Some clusters are a product of a legitimate feature. Others are accidental. PruneSEO shows the shape; you decide.
  • Can one fix clear a thousand rows? A single canonical rule or robots directive applied to a pattern can remove an entire group from the next crawl's findings.
  • What should the developer change? The template is the specification. You can hand over /search?page&q and the member count without exporting 5,000 URLs.

How to work with patterns​

  1. Open a crawl that has finished analysis.
  2. Filter findings to the patterns family, or open finding groups.
  3. Sort by affected URL count.
  4. Open the largest group and check the member URLs. Confirm the pattern is real before acting on it.
  5. Choose the fix: canonical, robots rule, sitemap change, internal-link cleanup or generator change.
  6. Re-crawl. The group should shrink or disappear.

For the wider review flow, see Finding Triage and Classification.

Good to know​

  • Thresholds are deliberate. A handful of similar URLs is not a pattern, and reporting it as one would create noise. Five and ten are the current floors.
  • Only observed pages count. Discovered-but-unfetched URLs do not influence a cluster.
  • Only the analysed host is considered. External links found on the site do not join your patterns.
  • Query values are ignored. ?sort=price and ?sort=date share a shape, because the risk is the parameter surface, not the specific value.
  • A pattern is a prompt to review, not a proof of harm. The finding says the shape exists at scale. Whether it is a problem depends on your site's intent, and the suggested action says so.
  • Clusters are recomputed on every analysis. There is no stale cluster data carried between runs.

Who should use this​

Site owners finally get a short list of URL shapes to look at instead of an export with 80,000 rows.

Developers get the template itself, so the fix can be made in the URL generator rather than in the data.

Consultants get a concrete, prioritised story: not "you have some thin pages", but "this one pattern accounts for 62,000 URLs, and here are three member examples".

Next: Crawl Reports and Coverage explains what the rest of a run tells you, including what PruneSEO could not reach.