# Ecommerce Duplicate Content: Variants, Filters and Fixes

Find and fix ecommerce duplicate content: product variants, filters, sort and tracking parameters, copied descriptions. With Next.js code to copy.
*Published 2026-12-02*

<div className="lead">
**Your store has one jacket. Google can see it at seven addresses.** A color in the query string, a sale collection path, a UTM tag from last week's newsletter, a filter combination, an old `http://www.` link with a trailing slash. Ecommerce duplicate content is rarely copied text. It is the same product page reachable through URLs your platform generates on its own, and every extra copy splits ranking signals and eats crawl time. This guide maps each source of duplication in an online store to the fix that actually works, with the Next.js code we ship in our own storefront.
</div>

## What Duplicate Content Means for an Online Store

Google defines duplicates as pages with the same or very similar content at different URLs. On a blog that mostly happens when someone copies an article. On a store it happens by design: variant pickers, filters, sort orders, pagination, campaign tags and localized versions all mint new URLs for content that already exists.

First, the myth. There is no "duplicate content penalty" for ordinary stores. Google said so plainly in [its own post on the subject](https://developers.google.com/search/blog/2008/09/demystifying-duplicate-content-penalty): unless you duplicate deliberately to manipulate rankings, the result is filtering, not punishment. Google groups the duplicates, picks one URL as the canonical and shows that one.

The real costs are quieter:

- **Google may pick the wrong URL.** If you don't say which version is canonical, Google decides. You can end up with `?color=red&utm_source=email` ranking instead of the clean product URL, which looks spammy in results and breaks your analytics.
- **Signals get split.** Backlinks, internal links and shares pointing at five variants of one page are weaker than all of them pointing at one.
- **Crawl time gets wasted.** A crawler working through 40,000 filter combinations is not discovering the product you added yesterday. Google's [faceted navigation guide](https://developers.google.com/crawling/docs/faceted-navigation) names both effects: overcrawling and slower discovery of new URLs.
- **Reports get noisy.** Search Console fills with "Duplicate without user-selected canonical" and "Duplicate, Google chose different canonical than user", which hides the issues that matter.

## Where Ecommerce Duplicate Content Comes From

Every store has the same handful of sources. Here is how they fan out from a single product:

![One product, seven URLs: the clean product URL is the self-canonical, indexed version, while color parameters, collection paths and UTM tags canonicalize to it, filter listings are disallowed in robots.txt, the old http www trailing-slash URL redirects, and the German version keeps its own canonical with hreflang](/_blogposts/ecommerce-duplicate-content/one-product-many-urls.svg)

The table below is the cheat sheet. The rest of the article explains each row.

| Source | Example URL | Fix |
|---|---|---|
| Product variants | `/product/jacket?color=red` | Canonical to the parent product, or keep the choice after `#` |
| Category paths | `/collections/sale/products/jacket` | One product URL everywhere; canonical to it if the path must exist |
| Faceted filters | `/products?color=red&size=m` | `robots.txt` disallow, or index the few combinations with real demand |
| Sort and view toggles | `/products?sort=price-asc` | `robots.txt` disallow |
| Pagination | `/products?page=3` | Self-canonical on each page, plain crawlable links |
| Tracking parameters | `/product/jacket?utm_source=email` | Canonical without the query string |
| Protocol, host, slash | `http://www.store.com/product/jacket/` | 301 or 308 redirect to one form |
| Manufacturer copy | Same text as 40 other retailers | Write your own copy for the products that matter |
| International versions | `/uk/…` and `/us/…` in English | Self-canonical per locale plus hreflang |
| Search results | `/search?q=jacket` | `robots.txt` disallow |

## The Fixes and Which Job Each One Does

Before the sources, the tools. They are not interchangeable, and stacking the wrong two is the most common mistake we see.

![Google Search Central documentation listing canonicalization methods: redirects and rel canonical as strong signals, sitemap inclusion as a weak signal](/_blogposts/ecommerce-duplicate-content/google-canonical-url-methods.webp)

Google's [canonicalization docs](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls) rank the signals: redirects and `rel="canonical"` are strong, sitemap inclusion is weak, and they work best when they agree.

- **301/308 redirect.** The duplicate stops existing. Use it when nobody needs the duplicate URL: `http` to `https`, `www` to the bare domain, an old product slug to the new one.
- **`rel="canonical"`.** The duplicate stays usable for shoppers, and Google is asked to credit the canonical. Right for variants, tracking parameters and alternate category paths. It is a hint, not a command, and Google ignores it when the pages differ too much.
- **`robots.txt` disallow.** Google never fetches the URL. Right for infinite spaces: filter combinations, sort orders, internal search. It saves crawl budget, but Google can't read a canonical on a page it isn't allowed to fetch, so never use both on the same URL.
- **`noindex`.** The page is crawled but kept out of results. Google [does not recommend it](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls) for picking a canonical within your own site, because it drops the page instead of consolidating it. Keep it for pages that should never rank at all, such as a hidden landing page.
- **`hreflang`.** Not a duplicate fix. It tells Google which localized version to show in which market, and it only works when each version is self-canonical.

What is gone: Search Console's URL Parameters tool. Google [retired it in 2022](https://developers.google.com/search/blog/2022/03/url-parameters-tool-deprecated), saying only about 1% of the settings in it were still useful. Parameter handling now lives in your own code and your `robots.txt`.

## Product Variants: One Page or Many?

A T-shirt in four colors and five sizes is 20 variants. Whether those should be 1 URL or 20 is the first decision, and it depends on search demand, not on how your database stores them.

**Default: one URL per product.** Sizes almost never have their own demand. Nobody searches "trail jacket size M". Colors sometimes do ("black trail jacket"), but rarely enough to justify a separate page with its own copy. One page collects all the signals and keeps reviews in one place.

**Separate pages** make sense when a variant is effectively a different product with its own demand: a phone in 128 GB vs 1 TB, a sofa in leather vs fabric, a fragrance in 50 ml vs 100 ml gift set. Give each its own slug, its own title and description, and a self-canonical.

If variants live on one page, the selected variant still needs to show in the URL, so a shopper can share "the red one" and land on it. There are two ways to put it there:

1. **Query parameters with a canonical** (`/product/jacket?color=red`). Every variant is a distinct, crawlable URL, and each one carries `rel="canonical"` pointing at `/product/jacket`. This is what Google's [product variant structured data](https://developers.google.com/search/docs/appearance/structured-data/product-variants) expects: a distinct URL that preselects each variant, plus one canonical URL for the whole `ProductGroup`.
2. **A fragment** (`/product/jacket#color=red`). Crawlers ignore everything after `#`, so the variant never becomes a separate URL at all. Nothing to canonicalize, nothing to crawl.

Our open-source storefront uses the second approach. This is the comment in the [variant selector](https://github.com/yournextstore/yournextstore):

```tsx
// History API instead of router.push: the page doesn't depend on the address, so no server round trip. The
// choice goes after `#`: a query string is a separate address for a crawler, and what follows `#` is not.
setUrlQuery(`${pathname}${variantHash(params)}`);
```

The tradeoff is honest: with fragments, Google can't crawl each variant as its own URL, so variant-level structured data with per-variant URLs is off the table. If shopping feeds or variant rich results matter more to you than a clean crawl, use query parameters and canonicalize them.

### One product, one path

Some platforms serve the same product under every collection it belongs to: `/collections/sale/products/jacket`, `/collections/outerwear/products/jacket`, `/products/jacket`. Even with a canonical on each, internal links pointing at three different URLs send mixed signals. The fix is structural: link to one product URL from everywhere (grids, breadcrumbs, related products, the sitemap) and let the category live in breadcrumbs, not in the path.

## Faceted Navigation and Sort Parameters

Filters are where ecommerce duplicate content gets out of hand. Five filters with ten values each can produce hundreds of thousands of URLs that show slightly different slices of the same 200 products.

![Google's crawling documentation page on managing faceted navigation URLs, explaining overcrawling and slower discovery crawls](/_blogposts/ecommerce-duplicate-content/google-faceted-navigation-docs.webp)

Google's guidance is blunt: there is often "no good reason to allow crawling of filtered items", and `robots.txt` (or keeping filters in the fragment) is more effective long term than canonical or `nofollow`. The reason is simple. A canonical only consolidates after Google has crawled the page, so it does nothing for the crawl cost.

Here is our storefront's actual `app/robots.ts`. The filter keys come from one list, so a filter added later is blocked automatically:

```ts
import type { MetadataRoute } from "next";

// Every filter and sort combination is a new URL showing products the plain listing already links to.
// `page` stays crawlable: pagination is how crawlers reach the products past the first page.
const FILTER_KEYS = ["category", "collection", "brand", "priceMin", "priceMax", "vts"] as const;
const UNCRAWLED_LISTING_PARAMS = ["sort", ...FILTER_KEYS];

// Two patterns per key, so `?sort=` and `&sort=` match but `?resort=` doesn't.
const listingDisallows = () => UNCRAWLED_LISTING_PARAMS.flatMap((key) => [`/*?${key}=`, `/*&${key}=`]);

export default function robots(): MetadataRoute.Robots {
	return {
		rules: [
			{
				userAgent: "*",
				allow: "/",
				disallow: ["/checkout", "/order/", "/search", "/api/", ...listingDisallows()],
			},
		],
		sitemap: "https://store.com/sitemap.xml",
	};
}
```

![Your Next Store demo listing page with category, collection, color and price filters and sort options](/_blogposts/ecommerce-duplicate-content/yns-demo-filters-and-sort.webp)

Shoppers still use every filter and sort on the [demo store](https://demo.yournextstore.com/products). Crawlers only ever see `/products` and `/category/…`.

### When a filter deserves its own page

Some combinations have real demand: "waterproof hiking boots", "black linen dress". Don't serve those as `?material=linen&color=black`. Make them real category or collection pages with a clean path, a unique H1, a paragraph of copy and a self-canonical. Pull the candidates from Search Console queries, not guesses. For most stores that is dozens of pages, not thousands.

Two more rules from Google's doc if you do let filter URLs be crawled: use the standard `&` separator, keep the filter order consistent (`?color=black&size=m`, never also `?size=m&color=black`), and return a real 404 for combinations with no results.

### Pagination is not duplicate content

Page 2 of a category lists different products from page 1. Each paginated page should be self-canonical and linked with plain `<a href>` links. Canonicalizing every page back to page 1 is a classic mistake: products that only appear on later pages lose their crawl path. Our listing metadata does exactly this:

```ts
const canonical = pageNum > 1 ? `/products?page=${pageNum}` : "/products";
```

## Tracking Parameters, Protocols and Trailing Slashes

These are the boring duplicates, and they are the easiest to eliminate completely.

### UTM tags and click IDs

`?utm_source=newsletter`, `?gclid=…`, `?fbclid=…` and affiliate `?ref=` codes create a new URL for every campaign. Don't redirect them away (your analytics needs to read them first). Instead, make sure every page's canonical is built from your own route data, never from the incoming request URL. In the Next.js App Router that means setting `alternates.canonical` in `generateMetadata`:

```tsx
// app/product/[slug]/page.tsx
import type { Metadata } from "next";

export async function generateMetadata({ params }: PageProps<"/product/[slug]">): Promise<Metadata> {
	const { slug } = await params;
	const product = await getProduct(slug);

	// Built from the slug, not the request: ?utm_source, ?gclid and ?color never leak into it.
	const canonical = product.seo?.canonical || `/product/${product.slug}`;

	return {
		title: product.name,
		alternates: { canonical },
		openGraph: { url: canonical },
	};
}
```

A relative canonical needs `metadataBase` in the root layout, which Next.js resolves into an absolute URL:

```tsx
// app/layout.tsx
export const metadata: Metadata = {
	metadataBase: new URL("https://store.com"),
	// No `alternates.canonical` here: Next.js would inherit it into every page that
	// doesn't set its own, silently declaring each one a duplicate of the home page.
};
```

That second comment is from our own root layout, and it is worth repeating: a canonical in the root layout is the single fastest way to deindex a whole store. Next.js merges metadata down the tree, so every page without its own canonical inherits `/`.

### HTTP, www and trailing slashes

`http://store.com/jacket`, `https://www.store.com/jacket` and `https://store.com/jacket/` are four URLs for one page. Pick one form and redirect the rest permanently:

- **Protocol and host:** handled by your host or CDN. On Vercel, add both domains and set one to redirect to the other.
- **Trailing slash:** Next.js already redirects `/jacket/` to `/jacket` by default. If you flip `trailingSlash: true` in `next.config.ts`, the direction flips with it, so do it once and never again.
- **Case:** `/Product/Jacket` and `/product/jacket` are different URLs to Google. Generate lowercase slugs and keep them that way.

Then check that your sitemap, canonicals and internal links all use exactly the same form. A sitemap listing `https://www.` while canonicals say `https://` is a conflicting signal Google then has to resolve on its own.

## Manufacturer Descriptions and Copied Copy

This is the one kind of duplicate content that crosses domains. If you resell a brand, the manufacturer's description sits on 40 other stores word for word. Google won't penalize you for it, but it will pick one of those 40 pages to rank for that text, and it is usually the one with the most authority. That's rarely a young store.

You don't need to rewrite 5,000 SKUs. Prioritize:

1. **Your top 50 to 100 products by revenue or search impressions.** Write original descriptions that answer what shoppers actually ask: fit, materials, use cases, care, how it compares to the product next to it. Our guide on [how to write product descriptions that sell (and rank)](/blog/how-to-write-product-descriptions) has the framework.
2. **Add what competitors can't copy:** your own photos, reviews, Q&A, size advice from returns data. A product page with 30 reviews is not a duplicate even if the spec block is.
3. **Use AI drafts carefully.** Generating 5,000 near-identical "rewrites" from a template swaps one duplicate problem for another. [AI product descriptions](/blog/ai-product-descriptions) work when each one is fed real product facts.

The same applies in reverse when you sell on marketplaces. If your Amazon or Etsy listing copies your own product description, the marketplace's stronger domain can outrank you for your own text. Keep the version on your store the richest one.

## International Duplicates: Same Language, Different Markets

`/us/product/jacket` and `/uk/product/jacket` in English with only a currency change are near-duplicates. Google may fold them together and show the US page to UK shoppers. The fix has two parts:

- **Each locale is self-canonical.** The UK page's canonical is the UK page. Pointing it at the US version tells Google to drop the UK page entirely.
- **`hreflang` connects them**, so Google knows which to serve where. In Next.js:

```tsx
return {
	alternates: {
		canonical: `/uk/product/${slug}`,
		languages: {
			"en-US": `/us/product/${slug}`,
			"en-GB": `/uk/product/${slug}`,
			"de-DE": `/de/produkt/${slug}`,
			"x-default": `/us/product/${slug}`,
		},
	},
};
```

Then make the pages genuinely different where the markets differ: currency, VAT-inclusive prices for EU and UK shoppers, shipping and returns terms, spelling. The full setup, including URL structures and the redirects not to do, is in our [international SEO guide for ecommerce](/blog/international-seo-ecommerce).

## How to Find Ecommerce Duplicate Content on Your Store

You don't need a paid tool to start:

1. **Search Console, Page indexing report.** Look at three statuses: "Duplicate without user-selected canonical" (you forgot a canonical), "Duplicate, Google chose different canonical than user" (Google disagrees with you, usually because the pages are too different or your signals conflict) and "Alternate page with proper canonical tag" (working as intended).
2. **URL Inspection** on a few product URLs with parameters. It shows the user-declared canonical and the one Google picked. If they differ, find out why.
3. **A crawl** with Screaming Frog or a similar crawler. Filter by "canonicalised", non-indexable and duplicate titles. Duplicate titles across `?sort=` URLs are an instant tell that filters are crawlable.
4. **Server logs**, if your host exposes them. Count Googlebot hits on URLs with `?`. If a large share of crawl activity goes to parameters, `robots.txt` is your highest-leverage fix.
5. **`site:` searches** for a distinctive sentence from a product description, in quotes. That shows who else uses your text.

Fold this into a regular review. The full process is in our [ecommerce SEO audit checklist](/blog/ecommerce-seo-audit).

## How Your Next Store Handles Duplicate Content

Most of the code in this article is not hypothetical. It is how the [Your Next Store](https://yournextstore.com/) storefront ships by default:

![Your Next Store homepage with the Elliot AI store assistant](/_blogposts/_shared/yournextstore-homepage.webp)

- **Variant choices live after `#`**, so a product with 40 variants is one URL to a crawler.
- **Filter and sort parameters are disallowed** in the generated `robots.txt`, built from the same list that defines the filters. Checkout, order pages, internal search and the API are blocked too. Pagination stays crawlable.
- **Every product, category, collection and listing page sets its own canonical** from route data, so tracking parameters never leak into it, and the root layout deliberately sets none.
- **A product can carry a custom canonical** from its SEO data, and merchants can hide a product, category, collection or post from search engines in its SEO tab (`noindex`, links still followed, left out of the sitemap) without touching code.
- **The sitemap is generated** from the catalog, so it lists the same URLs the canonicals point to.

The honest limits: no platform can write unique copy for your resold products, and the fragment approach to variants means no per-variant URLs for Google's variant rich results. If you need those, the [storefront is open source](https://github.com/yournextstore/yournextstore) and you can switch the selector to query parameters with a canonical in an afternoon.

<BlogCTA secondaryHref="/blog/ecommerce-seo" secondaryLabel="Read the technical SEO guide">
**Launch a store that's one URL per product from day one.** Canonicals, robots rules and sitemaps included.
</BlogCTA>

## FAQ

### Does duplicate content hurt ecommerce SEO?

Not through a penalty. Google filters duplicates and shows one version. The damage is indirect: Google may pick the wrong URL as canonical, links and signals get split across copies, and crawl time goes to filter URLs instead of new products. On large catalogs, the crawl cost is the biggest problem.

### Should product variants have separate URLs?

Only when a variant has its own search demand and enough unique content to stand alone, such as a different capacity or material that people search for by name. For colors and sizes, keep one product URL and either put the selection in the fragment (`#color=red`) or use query parameters that canonicalize to the parent.

### Should I use canonical tags or noindex for filter pages?

Neither, for most stores. Block filter and sort parameters in `robots.txt` so they're never crawled, and turn the few filter combinations with real search demand into proper category pages. Canonical tags on filter URLs consolidate signals but don't save crawl budget, and `noindex` is not meant for choosing between duplicates.

### Is copying the manufacturer's product description bad for SEO?

It won't get you penalized, but you'll be one of many pages with identical text, and Google usually ranks the strongest domain. Rewrite the descriptions for your best-selling products first and add reviews, original photos and fit advice that other retailers don't have.

## The One-Line Rule

Every product should have exactly one URL that you link to, list in the sitemap and declare as canonical. Every other address it can be reached at should either point there, stay uncrawled or redirect. Get that right, and ecommerce duplicate content stops being a problem you audit and becomes one your store can't produce.

## Related Blog Posts

- [Ecommerce SEO: A Technical Guide for Developers](/blog/ecommerce-seo)
- [Ecommerce SEO Audit: A Step-by-Step Checklist](/blog/ecommerce-seo-audit)
- [International SEO for Ecommerce: Hreflang Done Right](/blog/international-seo-ecommerce)
- [Product Page Design: How to Build a Page That Sells](/blog/product-page-design)
