Blog / WordPress /

Duplicate content on WordPress: common causes and fixes

“Will I get a duplicate content penalty?” is one of the most common SEO worries, and the answer is usually no. Google doesn’t punish a site because the same text appears at two addresses by accident.

That doesn’t mean duplicates are harmless. When the same content lives at several URLs, Google has to guess which one is the real page. It might pick the wrong one. Links and other signals get split between versions. Crawling time goes on pages that add nothing. And in Search Console, you see confusing reports full of “Duplicate without user-selected canonical”.

WordPress is very good at quietly creating duplicates. Most of them are easy to fix once you know where they come from.

Duplicate vs copied

Two different problems often get mixed up:

  • Duplicate URLs on your own site: the same page reachable at several addresses. This is a technical problem, and it’s what this post is about.
  • Copied content: your posts scraped onto someone else’s site, or your pages copied from elsewhere. Copying other people’s content can be a quality problem. Being scraped usually isn’t something you need to act on unless the copy outranks you.

For the technical kind, the fix is almost always one of three tools: a 301 redirect, a canonical tag, or noindex.

The common causes on WordPress

1. Domain versions

http://, https://, with www and without. If all four load the site, that’s four copies of every page.

Fix: pick one version and 301-redirect the rest to it. Check Settings → General matches. This is the second check in the WordPress SEO checks I run first, because it affects everything else.

2. Trailing slashes

/my-post/ and /my-post can sometimes both load. WordPress usually redirects one to the other based on your permalink setting, but some server setups and plugins break this.

Fix: test both in a browser. One should redirect to the other. If both load, ask your host or check your redirect rules.

3. URL parameters

/my-post/?utm_source=newsletter, /shop/?orderby=price, /?replytocom=123. Tracking codes, sorting and filters all create new URLs with the same (or nearly the same) content.

Fix: a self-referencing canonical tag on every page, pointing to the clean URL. Your SEO plugin adds this by default. Check it’s there. For replytocom on comment links, Yoast has a setting to remove it.

4. Attachment pages

Every image you upload can get its own page, with nothing on it but the image. Lots of thin, near-identical pages.

Fix: redirect attachment pages to the file or the parent post. Both Yoast and Rank Math have a setting for this.

5. Category, tag and archive pages

The same post excerpts appear on the home page, its category, each of its tags, the date archive and the author archive. Lots of overlapping list pages.

Fix: keep the archives that are useful, noindex or switch off the rest. I went through this in WordPress categories and tags: an SEO-friendly setup.

6. Paginated comments and archives

/my-post/comment-page-2/ repeats the whole post above a different page of comments. Archive pagination (/page/2/) is usually fine, since each page lists different posts.

Fix: under Settings → Discussion, untick “Break comments into pages” unless you have huge comment threads.

7. Staging or development sites left open

A copy of the site at staging.example.com or example.hostname.com, fully indexable. Google can find it and index it alongside the real site.

Fix: password-protect staging sites, or at least set them to noindex. Many hosts’ staging tools do this automatically; check yours.

8. Print and AMP versions

Some plugins create printer-friendly or AMP versions of each post at a different URL.

Fix: these should carry a canonical tag pointing to the main post. Most plugins do this; check it.

9. Content written twice

Not a technical cause, but just as common. Two posts on the same topic, written months apart by different people, both targeting the same search. Google sees two similar pages and may switch between them.

Fix: merge them into one stronger post and redirect the weaker one. There’s more on deciding what to merge in thin content: how to find it and what to do about it.

10. Products in several categories (WooCommerce)

A product in two categories might be reachable at two URLs if your permalinks include the category.

Fix: use a product permalink base without the category, or make sure the canonical points to one version.

Which fix to use

Situation Use
The duplicate URL shouldn’t exist at all 301 redirect
Both URLs need to work (parameters, print versions) Canonical tag to the main URL
The page is useful to visitors but not for search Noindex
Two posts compete for the same topic Merge, then redirect

Canonical tags are a strong hint, not a command. If the rest of your site disagrees (internal links pointing to the duplicate, the sitemap listing it), Google may ignore your canonical. Keep everything pointing the same way. Canonical tags explained with real examples covers this in more detail.

How to find duplicates

  • Search Console → Pages. Look at “Duplicate without user-selected canonical”, “Duplicate, Google chose different canonical than user” and “Alternate page with proper canonical tag”. The last one is usually fine. The first two need a look.
  • URL Inspection. For any page, it shows the canonical you declared and the one Google chose. If they differ, find out why.
  • A crawler. Screaming Frog flags duplicate titles, duplicate content and missing canonicals.
  • site: search. Search site:yoursite.com "an exact sentence from your post" to see how many URLs show it.

Type your domain into a browser four ways: http and https, with and without www. If they don’t all end up at the same address, start there.