Skip to content
Devtoolry
Web Development

How to Find Duplicate Content on Your Website (and Fix It)

How to find duplicate content on your own site with Search Console, a crawler and site: searches, why it happens, and when to redirect, canonicalise or rewrite.

Photo of Avinash KoriBy Avinash KoriPublished 5 min read

Two web pages with overlapping text marked 87% similar, and three fixes listed: 301 redirect, canonical tag and rewrite

Duplicate content means the same or nearly the same text is available at more than one URL. On most sites it is not copied from anywhere: the site's own software creates it, with a page that answers at both /shoes and /shoes?sort=price, or a tag archive that repeats the first paragraph of every post. Google usually copes by picking one version and hiding the rest. The cost is that your pages compete with each other, links get split between versions, and Google may pick a URL you did not want.

This guide shows how to find duplicate content on your website with free tools, how to tell harmless duplicates from real problems, and how to fix each kind. The fastest start is our Duplicate Content Checker, which crawls up to 100 pages of your site and lists the pairs that say the same thing.

Does Google penalise duplicate content?

Not for ordinary duplication on your own site. Google's documentation says plainly that duplicate content on a site is not grounds for action unless the intent is to deceive or manipulate results. What happens instead is filtering: Google groups the versions, picks one as the canonical URL and shows that one.

Copying other people's pages to rank is different. Scraped or spun content can be treated as spam. This guide is about the first kind: duplicates inside one site.

Where duplicate content comes from

Most duplicates have a technical cause:

  • Host and protocol variants: http:// and https://, www and non-www, all serving the same page instead of redirecting to one.
  • Trailing slashes and case: /about and /about/, or /About and /about.
  • URL parameters: sorting, filtering, tracking codes (?utm_source=) and session IDs.
  • Archive pages: tag, category, author and date archives that repeat post excerpts.
  • Product variants: one product per colour or size, each with the same description.
  • Boilerplate pages: location or service pages that differ by one word.
  • Print and AMP versions left without a canonical.

Method 1: check Search Console's Page indexing report

If your site is in Google Search Console, start there, because it shows what Google itself decided. Open Indexing, then Pages, and look under "Why pages aren't indexed" for these statuses:

  • Duplicate without user-selected canonical: Google found duplicates, you did not say which is the main one, and Google picked another URL.
  • Duplicate, Google chose different canonical than user: you set a canonical, but Google disagreed and picked a different URL.
  • Alternate page with proper canonical tag: this one is fine; the page points to its canonical and Google agreed.

Click a status to see example URLs, then use URL Inspection on one of them to see the canonical Google selected.

Method 2: crawl your site for near duplicates

Search Console only shows a sample, and only after Google has crawled. A crawler finds duplicates before they cause trouble. Our Duplicate Content Checker works like this:

  1. It crawls up to 100 pages by following internal links from the address you enter.
  2. It reads the main text of each page and removes the menu, header and footer, plus text that appears on half or more of the pages.
  3. It splits each page into overlapping five-word phrases and compares every page with every other. Similarity is the share of phrases two pages have in common.
  4. Pairs above your threshold are grouped and listed, together with pages that have almost no text of their own.

An 80% threshold suits most sites. Lower it to 70% to catch pages that were rewritten only lightly. For exact duplicates in titles and descriptions, the Site Audit Tool flags pages that share a title or meta description, which is often the first sign of duplicated pages. Our SEO issues library explains duplicate titles and near-duplicate content in more detail.

To see exactly what differs between two suspect pages, paste both texts into the Text Diff Checker.

Method 3: search Google for an exact sentence

To check one page quickly, copy a distinctive sentence of 8 to 15 words and search for it in quotes:

Output
"copy a distinctive sentence from your page here"

Add site:yourdomain.com to see which of your own URLs Google has indexed with that text. Leave it out to find copies of your text on other sites. This is the free way to spot scrapers. For checking many pages against the whole web, you need a plagiarism service such as Copyscape, because that takes a web-scale index.

How to fix duplicate content

Pick the fix by asking one question: should both URLs exist?

SituationFix
The duplicate URL has no reason to exist (http, non-www, old URL)301 redirect it to the main URL
Both URLs must work (sorting parameters, tracking codes, product variants)Add a canonical tag on the duplicate pointing to the main URL
Thin archive or filter pages that you do not want in searchAdd noindex, and link to the real content
Two pages target the same topic with different wordsMerge them into one stronger page and redirect the weaker URL
Boilerplate pages that differ by a wordRewrite each with content specific to it, or drop the extras

After a fix, check the canonical tags and noindex headers with the Canonical & Noindex Checker, and keep internal links pointing at the main URL. Google treats canonical tags as a strong hint, not an order. Internal links, redirects and the sitemap should all point to the same version, or Google may still pick another one.

A simple routine

For a small site, a check every few months is enough:

  1. Run the Duplicate Content Checker on the home page and on your biggest section.
  2. Review Search Console's duplicate statuses.
  3. Fix the groups with the most pages first, usually a template or a parameter.
  4. Re-run the crawl to confirm the pairs are gone.

Summary

Duplicate content on your own site rarely brings a penalty, but it splits links and lets Google pick the wrong URL. Find it in Search Console's Page indexing report, with a crawler that compares page text, and with exact-sentence searches. Redirect URLs that should not exist, canonicalise the ones that must, and merge or rewrite pages that cover the same ground.

Photo of Avinash Kori

Written by

Avinash Kori

Founder of Devtoolry

Avinash is a full-stack web developer from Surat, India, with eight years of experience in PHP, Laravel and Angular. He built Devtoolry so developers can solve everyday problems quickly with free tools that run entirely in the browser, and writes practical guides on the formats, encodings and techniques behind them.

Connect on LinkedIn

Try it yourself

The free tools used in this article. They run in your browser, so nothing you paste is uploaded.