Product Variants

Product variants are different versions of the same product, such as sizes, colours, materials or pack quantities. In SEO, the challenge is deciding whether each variant gets its own URL or shares one page, so that search engines index the right pages without creating duplicate content.

Why variants create SEO problems

A T-shirt in five colours and six sizes has 30 combinations. If each one creates a separate URL with the same description, a site can quickly produce thousands of near-identical pages. This causes duplicate content, wastes crawl budget on large stores and splits signals between pages competing for the same searches.

Three common approaches

ApproachHow it worksBest for
One URL for all variantsOptions chosen with selectors on a single pageVariants nobody searches for separately, such as sizes
Variant URLs with a canonicalEach variant has a URL or parameter, canonicalised to the main productSharing links to a specific variant without indexing each one
Separate indexable pagesEach variant has its own page and contentVariants with real search demand, such as “red Dr Martens boots”

How to decide

  1. Use keyword research to see whether people search for specific variants.
  2. Group variants with no separate demand onto one URL.
  3. Give variants with clear demand their own indexable page, with unique images, title and copy.
  4. Where variants have their own URLs but should not rank separately, add a canonical tag pointing to the main product.
  5. Make sure each variant URL loads the correct selection directly, so shared links and Google see the right price and image.

Structured data for variants

Google supports variant markup using the Schema.org ProductGroup type. A product group lists its variants with hasVariant, says which attributes differ with variesBy (such as size or colour) and links them with productGroupID. Each variant is a Product with its own price, availability and identifiers. This helps Google understand that the variants belong together. See product schema for the core properties.

Practical tips

  • Avoid generating separate URLs for every filter combination through URL parameters unless they serve a purpose.
  • Show variant availability clearly and update schema when a size sells out.
  • Use descriptive image file names and alt text for each colour.
  • Keep variant data consistent with your Merchant Center feed, where each variant is usually a separate item linked by a shared group ID.

Common mistakes

  • Indexing every size and colour combination with identical content.
  • Canonicalising variants that genuinely deserve their own rankings.
  • Variant URLs that load the default option, showing the wrong price or image.
  • Removing a variant URL without a redirect when that variant is discontinued.

Most ecommerce platforms handle variants in their own way, so check how your platform creates variant URLs, which one it treats as canonical and what structured data it outputs before deciding on changes. A quick crawl of a sample product often reveals hidden duplicate URLs.

Further reading: Google’s product variant structured data guide.

Key Takeaways

  • Variants are versions of one product, such as sizes or colours.
  • Uncontrolled variant URLs can cause duplicate content and crawl waste.
  • Give separate pages only to variants with real search demand.
  • Use canonical tags to consolidate variant URLs that should not rank alone.
  • ProductGroup markup helps Google understand variants belong together.

Related Terms

Not sure how your own site measures up? Request a free SEO review, or keep learning in the SEO Encyclopedia.