How to Fix Duplicate Content Across Pages on Your Website

Duplicate content means two or more URLs on your site carry almost the same main body text. This often comes from templated location pages, product variants, URL variants or copied boilerplate. By the end of this guide you will have grouped every duplicate cluster, merged or rewritten the pages that should be distinct, redirected or canonicalised the unavoidable copies, and confirmed the overlap is gone.

By Updated ⏱ 2-6 hours depending on the number of clusters🎯 Intermediate● High impactContent
Illustration: Duplicate content across pages fix guide
CONTENT · FIX GUIDE Duplicate content across pages IMPACTEFFORT TIME2-6 hours depending on the number of clusters LEVELIntermediate

Why it matters

When several URLs share the same text, Google picks one to index and groups the others. It may not pick the one you want. Links and ranking signals get split across the copies, and crawl budget is spent on pages that add nothing.

AI answer engines also cite one source per idea, so near-identical pages compete with each other instead of covering more queries. Visitors who land on a second near-identical page see thin, repetitive content and leave. Our audit flags any pair of pages (over about 120 words) whose main body text shares more than 80% of its overlapping five-word phrases.

The check fails once 10% or more of crawled pages are in such a pair.

✕Beforeexample.com/plumber-leeds andexample.com/plumber-york share 92% oftheir body text, with only the city✓AfterEach city page has its own servicearea, team, prices, reviews and FAQs(under 50% shared text), and the old

What you need

The list of flagged URLs from your audit report
Admin or CMS access to edit pages and create 301 redirects
Google Search Console access for the property
A spreadsheet to map each duplicate cluster to an action

Step-by-step fix

1

Group flagged URLs into duplicate clusters

Export the flagged pages and put them into a spreadsheet with the columns URL, Cluster, Organic clicks (last 12 months), Backlinks and Action. Pages that are near-identical to each other belong in the same cluster. For each cluster, mark the URL with the most clicks and links as the keeper.

Pull the click data from Search Console > Performance > Pages.

Pro tip: Comparison is based on main body text, not navigation or footer. Shared menus will not trigger it, but repeated intro paragraphs, disclaimers or long product specs inside the content area will.
2

Classify why each cluster exists

Label every cluster with its cause, because each cause has a different fix:

  • URL variants: http/https, www/non-www, trailing slash, ?utm= or ?sort= parameters, /print/ versions. Fix with redirects.
  • Overlapping topics: two blog posts or guides on the same subject. Fix by merging.
  • Templated pages: location, service or product pages with swapped keywords. Fix by rewriting.
  • Necessary copies: product colour variants, syndicated articles, legal pages per region. Fix by canonicalising.
3

Redirect URL-variant duplicates at the server

Pick one protocol, host and trailing-slash format, and 301-redirect everything else to it. This removes whole classes of duplicates in one change. Also strip tracking parameters from internal links, so the crawler never discovers the parameterised copies.

nginx
server {
  listen 80;
  listen 443 ssl;
  server_name example.com;
  return 301 https://www.example.com$request_uri;
}

# inside the www.example.com server block: remove trailing slash
rewrite ^/(.+)/$ /$1 permanent;
Pro tip: Avoid redirect chains. Each old URL should reach its final destination in a single 301.
4

Merge overlapping pages into one stronger page

For topic clusters, move the unique paragraphs, examples, images and FAQs from the weaker pages into the keeper. Then delete the weaker pages and 301 them to the keeper. Update the keeper's title and H1 so they cover the combined intent.

This usually ranks better than either original did.

apache
# .htaccess (Apache)
Redirect 301 /blog/fix-leaky-tap /blog/how-to-fix-a-leaking-tap
Redirect 301 /blog/dripping-tap-repair /blog/how-to-fix-a-leaking-tap
Pro tip: Keep the URL that already has the most backlinks as the keeper, even if another slug reads better.
5

Rewrite templated pages that must stay separate

Location, service and product pages need genuinely different body text, not swapped place names. Swapping a word only changes a few five-word phrases. Add details only that page can have:

  • local team, address, service area and response times
  • prices, stock, specs or case studies for that item or place
  • reviews and FAQs specific to that page

Aim for well under half of the body text being shared with any sibling page. Move truly common text, such as guarantees, into a short shared block or a link to one central page.

Pro tip: If you cannot write anything unique for a page, it probably should not exist. Merge it into a parent page with a section per area instead.
6

Canonicalise unavoidable copies

Some pages must exist for users but should not compete in search, such as colour variants, syndicated posts or printer views. On each of these, add a canonical tag pointing to the keeper. Use an absolute URL and make the keeper self-canonical.

Canonical tags tell search engines which version to index, but they do not change the text itself. So also link internally only to the keeper, and leave the copies out of your XML sitemap.

html
<!-- on https://www.example.com/products/oak-desk?colour=walnut -->
<link rel="canonical" href="https://www.example.com/products/oak-desk">

<!-- on the keeper itself -->
<link rel="canonical" href="https://www.example.com/products/oak-desk">
Pro tip: Never combine noindex and a canonical on the same page. They send conflicting signals.
7

Update internal links and the XML sitemap

Search your CMS or run a crawl for links still pointing at redirected or canonicalised URLs, and change them to the keeper URLs. Regenerate the XML sitemap so it lists only keepers and other self-canonical, indexable pages. Then resubmit it in Search Console > Indexing > Sitemaps.

8

Re-run the audit and check Search Console

Run the audit again and confirm the duplicate count has dropped. Flagged pages must fall below 10% of crawled pages to pass, and ideally to zero. In Search Console > Indexing > Pages, watch the Duplicate without user-selected canonical and Duplicate, Google chose different canonical than user reasons shrink over the next 2-6 weeks.

Pro tip: Use URL Inspection on a few keepers and check that **Google-selected canonical** matches your user-declared canonical.

Platform-specific notes

WordPress

Set per-post canonicals in Yoast (Advanced tab in the post sidebar) or Rank Math (Advanced > Canonical URL). Tag, date and author archives are a common source of duplicates. In Yoast go to Settings > Categories & tags (and Advanced > Author/Date archives) and disable or noindex the ones you do not use. Create 301s with the Redirection plugin (Tools > Redirection) or Rank Math > Redirections.

Shopify

Shopify outputs {{ canonical_url }} in theme.liquid by default. Product URLs reached through collections (/collections/x/products/y) canonicalise to /products/y. Make sure your theme's product grid links to {{ product.url }} rather than {{ product.url | within: collection }}. Add 301s from the URL redirects screen (search "URL redirects" in the admin). Variants with identical descriptions are usually best kept as one product with options.

Webflow

Set the global canonical in Site settings > SEO > Global canonical tag URL. Add per-page canonicals in Page settings > Custom code (head) or, for CMS templates, bind a canonical field. Add 301s in Site settings > Publishing > 301 redirects. CMS collection templates often produce near-identical items, so add unique rich-text fields per item.

Next.js

In the App Router, set canonicals through the metadata API (export const metadata = { alternates: { canonical: '/products/oak-desk' } }) with metadataBase set in the root layout. Define permanent redirects in next.config.js under async redirects() with permanent: true. Watch for dynamic routes that render the same content under several slugs.

Wix

Edit canonicals per page under Page menu > SEO basics > Advanced SEO > Canonical tag. For dynamic pages, use the SEO settings in Dashboard > Marketing & SEO > SEO > SEO Settings. Create 301s with the URL Redirect Manager (Marketing & SEO > SEO > Go to URL Redirect Manager).

Check that it worked

✅ How to verify

  • Re-run the audit and confirm fewer than 10% of pages (ideally none) are reported as more than 80% identical to another page.
  • Open each redirected old URL with curl -I https://www.example.com/old-url and check for a single 301 to the keeper.
  • Use Search Console URL Inspection on keepers and confirm the Google-selected canonical matches the user-declared canonical.
  • Paste a distinctive sentence from a rewritten page into Google in quotes with site:example.com and check that only one URL is returned.

⚠️ Common mistakes

  • Adding canonicals while leaving the copies linked from navigation and in the sitemap. Search engines get mixed signals, and the text overlap still exists on the site.
  • Spinning text by swapping synonyms or city names instead of adding real page-specific information. The result reads badly and still counts as thin.
  • Canonicalising paginated pages, or unrelated pages, to page 1 or the homepage. Google ignores canonicals that point to substantially different content.
  • Deleting merged pages without 301 redirects, which throws away their backlinks and creates 404s.

Is this still an issue on your site? Run a free audit — ZORO checks this and 294 other SEO, AI-visibility, accessibility and security signals, with fixes for your platform.

Check my site free

FAQ

Does Google penalise duplicate content?

There is no manual penalty for ordinary duplication within a site. Google filters the copies and indexes one version. The real costs are diluted link signals, the wrong URL ranking and wasted crawl budget. Deliberately scraped or mass-generated duplicate pages can fall under spam policies.

How different do two pages need to be to stop counting as duplicates?

Our audit flags pairs whose main body text shares more than 80% of its overlapping five-word phrases. In practice, aim for most of each page's text being unique to it. Shared disclaimers and specs should be short, or linked rather than repeated.

Should I use a canonical tag or a 301 redirect?

Use a 301 when users no longer need the duplicate URL, such as old posts, URL variants or merged pages. Use a canonical when the copy must stay reachable, such as a product colour variant or a syndicated article, but should not be indexed separately.

Are location pages for each city duplicate content?

Only if they share almost all of their text. City pages are fine when each has real local details: address, team, service area, local reviews, pricing and FAQs. If you have nothing unique to say about a city, cover it as a section on a regional page instead.