Prevent Keyword Cannibalization: Find Similar Service Pages with Embeddings

How can embeddings reveal competing service pages?
Start using embeddings to find near-duplicate service pages by extracting each page’s main text and removing repeated menus, footers, and calls to action. Turn the cleaned text into embeddings, compare the pages’ similarity scores, and review close matches for shared search intent. This can reveal pages that serve the same customer need even when they use different words.
A high score is a reason to investigate, not a reason to merge pages automatically. Check whether each page serves a distinct service or customer need before deciding what to change.
I’m Clayton Johnson, founder of SmallBizSEO, where I connect SEO and content strategy to help small businesses improve search visibility. That experience guides my approach to using embeddings to find near-duplicate service pages: use the scores to focus review, then make the decision based on what each page offers customers.

How do you find near-duplicate service pages with embeddings?
Extract each page's unique main content, turn it into an embedding, and compare the vectors. Pages whose vectors sit close together overlap in meaning, which is what matters when two URLs chase the same searcher.
Lexical and semantic methods answer different questions, so we use both.
| Method | Signal | Strengths | Best use |
|---|---|---|---|
| Shingling, MinHash, SimHash | Shared word sequences | Fast, free, catches copies and lightly spun text | Asking "is this a copy?" |
| Embeddings with cosine similarity | Meaning | Catches paraphrases and same-intent pages | Asking "do these compete for the same searcher?" |
Why do keyword checks miss competing service pages?
Keyword checks look at words, not intent. An exact-query checker flags pages only when they share a phrase, so it misses two pages that target the same customer with different wording. It also over-flags pages that merely share a phrase, such as a service page and a pricing page that both show up for the same term.
Lexical tools built on shingling, hashing, and overlap scoring are excellent for duplicate content that was copied. But "affordable dentist" and "budget-friendly dental care" look like two different pages to a string matcher, while a searcher sees one need. Research on duplicate web-page identification covers the older text-matching approaches that embeddings now complement.
One real-world test shows the gap. On a site where 36 page pairs shared at least one exact query, only 12 pairs overlapped in meaning once embeddings were applied. Exact matching was wrong in both directions.
How do embeddings and cosine similarity reveal intent overlap?
An embedding is a list of numbers, often a few hundred, that acts as a fingerprint of a page's meaning. The model all-MiniLM-L6-v2 produces 384 numbers per page. Cosine similarity compares two fingerprints by measuring the angle between them. For text embeddings, scores usually fall between 0 and 1, where 1 means nearly identical.
Averaging a page's vectors gives a page profile, and pages that cluster together form a topic group. Scores depend on the model and your niche. A model that only sees SEO language can think everything is somewhat related, so check your own score distribution before trusting a published cutoff.
What is the boilerplate trap, and how should you clean and chunk pages?
The boilerplate trap happens when you embed raw HTML. Navigation, footers, cookie banners, and repeated calls to action appear on every page, so every pair can look 0.85 or more similar. Clean input matters more than any model choice.

- Keep only the main content, removing nav, sidebars, footers, cookie text, addresses, and phone numbers.
- Preview a few pages before running the full set.
- Split long pages into chunks of roughly 500 tokens and compare chunk to chunk. A whole-page vector can average a long page into mush and hide one duplicated section.
- Average the chunk vectors into a centroid when you also want a page-level score.
This cleanup is a natural part of any content audit.
A practical workflow for using embeddings to find near-duplicate service pages
You can run this locally with no API costs.
- Export your crawl with URLs, visible body text, and a category column such as service, blog, or location.
- Embed each page or chunk with Sentence Transformers and all-MiniLM-L6-v2.
- Compute cosine similarity and record each page's top three nearest neighbors.
- Sort by score and review the highest pairs first.
A synthetic set of about 1,500 pages and 18,000 rows ran in 13 seconds with a local model, so small business sites are easy.
Pairwise comparison grows fast: 1,000 pages means 500,000 pairs, and 10,000 pages means 50 million. For larger sites, avoid O(n²) work. Use an approximate nearest neighbor index such as HNSW or FAISS, or a vector database, to fetch each page's closest matches. Clustering with k-means or DBSCAN on cosine distance also limits comparisons to pages within a group.

How should you validate and fix a high-similarity cluster?
Treat similarity as a review signal. Then confirm search intent, Search Console performance, and each page's purpose before choosing consolidation, differentiation, or canonicalization.
How can using embeddings to find near-duplicate service pages improve cannibalization checks?
Start with these bands, then calibrate to your model and niche:
- Above 0.95: effectively the same page. Screaming Frog also defaults to 0.95 to avoid false alarms on tightly themed sites.
- 0.80 to 0.95: heavy overlap and likely cannibalization.
- 0.70 to 0.80: usually the same topical cluster.
Calibrate with a handful of hand-labeled pairs you know are duplicates and others you know are not. Beware false positives: a pricing page and a features page can score around 0.8 simply from shared vocabulary. In one local-service example, two urgent plumber pages scored 0.93 while a maintenance tips page in the same city scored about 0.55, meaning different intent.

Search Console adds the performance side. Pull clicks, impressions, CTR, and position for each page in a flagged pair. You can also embed the queries each page ranks for. This catches pages that compete with no shared exact query, and requiring overlap in both directions filters out hub-and-spoke cases like a homepage and a service page. Check live URLs for redirects and canonicals, since Search Console history can keep flagging pages you already fixed. A blog vs service page pair may also score high while serving different stages of the buying journey.
Which SEO action should you take after reviewing a similar-page cluster?
Pick one of three paths.
- Consolidate. If both pages chase the same intent and neither needs to exist separately, 301 redirect the weaker page to the stronger one and update internal links.
- Differentiate. If each page can serve a distinct sub-intent, rewrite one so the meaning truly diverges. A canonical tag will not fix that.
- Canonicalize. Use a canonical URL for structural duplicates like parameter URLs or syndicated copies. It is a hint Google can ignore, not a delete.
Do not block duplicates in robots.txt. Google cannot read a canonical or noindex on a page it cannot crawl. Thin pages with no value may fit content pruning.
Google does not penalize internal overlap. The real cost is split links, wasted crawl budget, and an unpredictable choice of which URL ranks.
Ready to put your service pages under the microscope?
Embeddings give you a fast, repeatable way to spot competing pages, but people still make the final call. If you want a data-driven plan, our team can build an embedding strategy around your site and turn the results into clear SEO actions.