
In this article
When the same content is reachable at more than one address, search engines have to guess which version to show. They may pick the wrong one, split your ranking signals across several copies or skip pages altogether. The fix is usually small: tell Google which address is the main one.
This applies to every platform, whether your site runs on WordPress, Shopify, Wix, Joomla, Magento or custom code. The causes and the cures are the same everywhere.
What duplicate content is, and what it is not
Duplicate content means identical or very similar content at different URLs, on your own site or across sites. Google does not usually "penalise" ordinary duplicates, but it does choose one version to show and ignore the rest. That wastes crawling time and can leave the wrong page ranking, with weaker links and statistics spread over several copies.
Common causes
- Several versions of the home page:
http://andhttps://, with and withoutwww, and with or without a trailing slash. - URL parameters: tracking tags, sorting and filters such as
?sort=priceor?utm_source=mailthat show the same page. - Product variants: colour or size options with their own addresses and the same description.
- Category, tag and archive pages that repeat the same posts, plus paginated lists.
- Printer-friendly or mobile copies of a page.
- Copied text: manufacturer descriptions used by many shops, or your own text pasted into several pages.
- Staging or test sites left open to search engines.
The tools for fixing it
1. Canonical tag
A canonical tag in a page's <head> names the preferred address:
<link rel="canonical" href="https://www.example.com/product/red-shoes">
Put it on the main page too, pointing to itself. This is called a self-referencing canonical, and it protects against stray parameters. Use full addresses and one canonical per page. Google treats it as a strong hint, not a command.
2. 301 redirect
If the duplicate does not need to exist, redirect it permanently to the main version, for example from http:// to https:// or from non-www to www. Check your rules with the redirect checker, and avoid loops, which cause ERR_TOO_MANY_REDIRECTS.
3. Noindex
For pages that should exist but stay out of search, such as internal search results, add <meta name="robots" content="noindex">. Do not combine it with a block in robots.txt, because Google then cannot see the tag.
4. Consistent internal links and sitemap
Always link to the canonical address, and list only canonical addresses in your XML sitemap. Mixed signals confuse search engines.
Step 1: find duplicates
- Search Google for
site:yourdomain.com "a sentence from your page"to see if the text appears at several addresses. - In Google Search Console, open the Pages report and look for "Duplicate without user-selected canonical" and "Duplicate, Google chose different canonical than user".
- Run key pages through the on-page SEO checker to see their canonical tag and title.
- Open your home page at the http, https, www and non-www versions. Only one should load; the others should redirect to it.
Step 2: choose the main version
Pick one address style and stick to it: usually https, one choice for www, and consistent trailing slashes. Set that as your site address in your platform's settings, so it generates correct canonical tags and links.
Step 3: apply the fix
- Redirect all protocol and host variants to the main version.
- Add a self-referencing canonical to every indexable page.
- Point variants and filtered or tracked URLs to the main page with a canonical tag.
- Noindex thin pages such as internal search results.
- Rewrite copied descriptions so each page says something of its own.
- Keep staging sites behind a password.
Step 4: watch out for tampering
Hackers sometimes inject their own canonical tags or create thousands of spam pages on your site. If Search Console shows indexed pages you never made, read how to find hidden spam links and how to check if your website is hacked.
Common questions
Will duplicate content get my site penalised?
Not normally. The usual cost is split signals and the wrong page ranking. Deliberate copying at scale is treated differently.
Canonical or redirect?
Use a redirect when the duplicate does not need to be visited. Use a canonical when both addresses must remain reachable, such as filtered product lists.
Can I canonicalise to another website?
Yes. This is common when you republish an article from another site and want credit to go to the original.
Does Google always obey my canonical?
No, it is a hint. Consistent redirects, internal links and sitemap entries make it much more likely to be followed.
Free tools for this problem
- On-page SEO checker: Score a page and preview its Google snippet.
- Redirect checker: Trace every hop of up to 10 URLs.
- XML sitemap generator: Crawl up to 100 pages and download a ready-to-upload sitemap.xml.
