Shopify product variants SEO

Shopify product variants SEO

Last updated:

Shopify product variants SEO

Shopify product variants don't automatically get separate pages in Google Search. By default, variants such as different colours and sizes share one product page, with individual URLs using the ?variant=ID parameter.

If you want individual variants to have their own search visibility, you need to consider how your products and URLs are structured.

  • Keep default Shopify variants when options share the same product details and don't need separate search landing pages.

  • Create separate Shopify products when individual variants have distinct features, content, and search demand.

  • Optimise product content with relevant titles, descriptions, images, and alt text.

  • Improve discoverability through internal links, sitemaps, and Google Search Console.

  • Use structured data to help Google understand the relationship between products and their variants.

With Nova variant images you can display default variants as separate product cards on collection pages or link separate Shopify products using colour and image swatches using Nova combined listings.

The goal is to make your product information easier for customers and search engines to discover and understand, while choosing a product structure that supports your store's SEO strategy.

Who Is This Guide For?

This guide is for Shopify store owners who sell products in multiple colours, sizes, styles, or other variations and want to improve their visibility across Google Search and AI-powered search experiences.

It's especially useful if you:

  • Want individual Shopify product variants to appear in relevant Google search results.

  • Are wondering why Shopify variant URLs aren't being indexed separately.

  • Want to know whether to keep all product variants on one Shopify product page or create separate product pages for each variant.

  • Want your product pages to provide clear, structured information that Google and AI search engines can understand and potentially reference in their answers.

  • Are looking for ways to improve product visibility without compromising the shopping experience.

Whether you're managing a small Shopify store or a large product catalogue, understanding how product variants are structured can help you build better search visibility and make your product information easier for search engines and AI systems to interpret.

How Do Shopify Product Variants and URLs Work?

In Shopify, product variants allow merchants to offer different options, such as colours, sizes, and materials, within a single product page.

For example, imagine you sell a T-shirt in three colours: black, white, and blue.

Each variant has its own unique ID. Shopify uses this ID in the product URL through a ?variant= parameter.

For example:

  • Main product: /products/classic-t-shirt

  • Black T-shirt: /products/classic-t-shirt?variant=123456

  • White T-shirt: /products/classic-t-shirt?variant=234567

  • Blue T-shirt: /products/classic-t-shirt?variant=345678

When someone visits a variant URL, Shopify can automatically select the corresponding variant and display its associated information, such as the price, image, and availability.

However, there's an important SEO detail.

Although each variant can have a unique URL, Shopify's default canonical URL points to the main product URL without the variant parameter. This tells search engines that the main product page is the preferred URL for indexing.

As a result, having a separate URL for each variant doesn't automatically mean Google will index each variant as an independent search result.

Why Shopify Product Variants Struggle to Rank on Google

Why Shopify Product Variants Struggle to Rank on Google

Having a unique URL for each Shopify product variant doesn't necessarily mean Google will index each URL independently.

One of the main reasons is canonicalisation. Shopify's default canonical URL points variant URLs to the main product URL. This signals to Google that the main product page is the preferred version to index.

For example, if you sell a T-shirt in black, white, and blue, Google may treat the main product URL as the primary page rather than indexing each colour variant as a separate search result.

This can limit your ability to target colour-specific searches, such as "black cotton T-shirt" or "blue oversized T-shirt", with individual variant pages.

There are three main factors that can make it difficult for Shopify product variants to rank independently:

  • Duplicate content: Shopify product variants share the same product title, description, and main page content. Although the selected variant may change the displayed image, price, or availability, the underlying page content remains the same. This gives Google limited unique information to distinguish one variant URL from another.

  • Canonical URL consolidation: Shopify's default canonical URL points variant URLs to the main product URL. This signals to Google that the main product page is the preferred version to index, rather than each variant URL independently.

  • Limited crawlable discovery: Variant URLs may be difficult for Google to discover if they are only accessed through variant selection on the product page. Without crawlable links to those URLs, Google may have fewer opportunities to find and evaluate them as separate pages.

These factors can work together to limit the visibility of individual variants in search results. Simply having a unique URL parameter isn't enough. Each variant needs an appropriate URL structure, useful and distinct content, and a clear path for search engines to discover it.

Understanding the Difference Between Product Pages and Variant URLs

Before looking at how to get individual Shopify variants indexed, it's important to understand the difference between a product page, a variant URL, and an independently indexable product page.

Page type

Example URL

How it works

SEO implications

Main product page

/products/classic-t-shirt

One Shopify product page containing all available colour variants: black, white, and blue.

Google can index the main product page as the primary search landing page.

Variant URL

/products/classic-t-shirt?variant=123456

Opens the same product page with a specific variant selected, such as the black T-shirt.

Provides a direct link to a selected variant but doesn't automatically create a separate indexable page.

Separate product page

/products/black-classic-t-shirt

A separate Shopify product with its own URL, title, description, images, and product content.

Can provide an independent landing page for relevant search terms, provided it meets Google's indexing requirements.

The key distinction is that a variant URL identifies a selected option within an existing product page, while a separate product page has its own URL and content.

Understanding this difference helps you choose the right structure for your Shopify catalogue and decide whether individual variants need their own search landing pages.

Canonical URLs for Shopify Variants: When to Use the Main Product URL or a Separate URL

A canonical URL tells Google which version of a page you want it to treat as the main version.

By default, Shopify points variant URLs to the main product URL. This works well for most stores because different sizes or colours don't always need their own pages in Google search results.

However, some variants may deserve separate pages, especially when customers search for them individually and they have different product details.

Keep the main product URL as the canonical URL when:

  • Variants only differ by size or minor details.

  • All variants share the same product description and target the same searches.

  • Customers don't usually search for each variant separately.

  • Separate pages would contain almost identical information.

Consider giving variants their own canonical URLs when:

  • Customers search for specific colours, styles, or materials.

  • Variants have different features, specifications, or uses.

  • Each variant can have its own useful title, description, and images.

  • There is enough search demand to justify separate product pages.

How to Create Dedicated URLs for Shopify Product Variants

There are two ways to give Shopify product variants their own URLs that Google can index. You can change the canonical URL in your theme, or create a separate Shopify product for each variant.

Option 1: Change the Canonical URL So the Variant Can Be Indexed

This approach keeps the variant within its original Shopify product but changes its canonical URL to point to the selected variant.

In your Shopify theme, find where the canonical tag is generated. This is usually in the theme.liquid file or the product template.

You can use the following Liquid code:

{% if template contains 'product' and product.selected_variant %}
  <link rel="canonical" href="{{ product.url }}?variant={{ product.selected_variant.id }}">
{% else %}
  <link rel="canonical" href="{{ canonical_url }}">
{% endif %}
{% if template contains 'product' and product.selected_variant %}
  <link rel="canonical" href="{{ product.url }}?variant={{ product.selected_variant.id }}">
{% else %}
  <link rel="canonical" href="{{ canonical_url }}">
{% endif %}

With this change, when a customer visits a selected variant URL, the canonical tag points to that variant instead of the main product URL.

For example:

  • Main product: /products/classic-t-shirt

  • Selected variant: /products/classic-t-shirt?variant=123456

  • Variant canonical URL: /products/classic-t-shirt?variant=123456

However, changing the canonical tag is not enough on its own. Each variant you want indexed should also have useful, distinct content and crawlable links pointing to its URL. You will also need to consider how those URLs are included in your sitemap.

This approach is useful when you want to keep your existing product structure and only make selected variants eligible for separate indexing.

Option 2: Create Separate Shopify Products for Each Variant

Another approach is to create a separate Shopify product for each variant you want to target in Google.

For example, instead of having one T-shirt product with three colour options, you create three individual products:

  • Classic T-Shirt Black

  • Classic T-Shirt White

  • Classic T-Shirt Blue

Each product gets its own URL, title, meta description, product description, and images.

Example URLs:

  • /products/classic-t-shirt-black

  • /products/classic-t-shirt-white

  • /products/classic-t-shirt-blue

This gives you more control over each product page. You can write content around the specific colour, use relevant images, and target searches related to each product.

Each product also has its own canonical URL by default, so you don't need to change your theme's canonical code just to give it a separate URL.

The downside is that these products are now separate entries in your Shopify catalogue. Customers may have to visit different product pages to switch between colours unless you connect them through a combined listing or swatch experience.

Which Option Should You Choose?

Choose the canonical URL approach if you only need to make a few selected variants indexable and want to keep them within the same Shopify product.

Choose separate products if each variant has its own search demand, needs different content, or should appear as an individual product in Google Shopping and your Shopify collections.

For many stores, a combination of both approaches makes sense. Keep most variants together, and create separate products only for variants that have enough value to deserve their own pages.

How to Optimise Product Content for Shopify Variants

If you want a specific product variant to appear in relevant search results, the page needs to clearly explain what makes that variant different. Titles, descriptions, images, and other product details all help search engines understand what the page offers.

Here are a few areas to focus on:

1. Write Descriptive Product Titles

Use clear product titles that include the details customers search for, such as colour, material, style, or size when relevant.

For example, instead of using a generic title like Classic T-Shirt, a dedicated page for a colour could use Classic Black T-Shirt.

This helps customers and search engines understand exactly which product the page represents.

2. Create Relevant Meta Descriptions

Write a unique meta description for each separate product page you want to appear in search results. Explain what makes the product different and include useful details that match the search intent.

For example, a black T-shirt page could mention its colour, fit, material, and other relevant features.

Keep in mind that Shopify's native variants don't automatically have separate meta descriptions. This approach applies when variants are represented by separate product pages.

3. Add Useful Product Descriptions

Avoid using exactly the same product description across pages that target different variants.

Include details that help customers understand the specific product, such as its material, design, fit, available features, or intended use. Only include differences that genuinely apply to that product.

4. Use Variant-Specific Images and Alt Text

Use clear, high-quality images that show the specific product or variant. If you're targeting separate product pages, make sure each page displays the correct images.

Also, write descriptive image alt text. For example, Black classic cotton T-shirt, front view is more useful than a generic description such as T-shirt image.

Help Google Discover and Index Shopify Product Variants

Creating a dedicated URL is only one part of improving search visibility. Google also needs to discover the page, crawl its content, and decide whether it's useful enough to index.

Here are a few ways to help Google find your product pages.

1. Add Internal Links to Product Pages

Internal links help customers and search engines discover products across your store. How you link to variants depends on how you've set them up in Shopify.

  • Default Shopify variants: Link to the main product page from your collection pages and other relevant sections. If you want customers to land on a specific colour or size, link directly to its variant URL using the ?variant=ID parameter. You can use Nova variant images to display individual Shopify variants as separate product cards on collection pages, making each option easier to discover.

    nova variant images
  • Separate products for each variant: Add links between related product pages, such as links to other colours or styles of the same product. This helps customers and search engines discover those pages. You can use Nova Combined Listing to connect separate product pages with colour or image swatches, making it easier for customers to move between related products.

    nova combined listings

For example, if black, white, and blue T-shirts are separate Shopify products, your T-shirt collection can link to all three product pages. If they're default variants of one product, the collection links to the main T-shirt page.

2. Make Sure Product URLs Are Included in Your Sitemap

Shopify automatically generates an XML sitemap at yourstore.com/sitemap.xml. It helps search engines discover your store's product, collection, and other page URLs.

Remember, adding a URL to a sitemap doesn't guarantee that Google will index it. The page still needs to meet Google's indexing requirements.

3. Check Indexing in Google Search Console

Use Google Search Console to check whether Google has discovered and indexed your product pages.

You can:

  1. Open Google Search Console and select your Shopify website.

  2. Enter the product URL into the URL Inspection tool.

  3. Check whether the URL is indexed and review Google's selected canonical URL.

  4. If the page is eligible but not indexed, review any reported issues before requesting indexing.

You can also use the Pages report to monitor indexing issues across your store.

Structured Data for Shopify Product Variants

Structured data is code added to your product pages to help Google understand your products and how their variants are related.

Google supports product variant structured data using ProductGroup and Product. This allows you to describe a parent product and its variations, such as different colours, sizes, or materials.

1. Understand ProductGroup and Product

Google uses several properties to understand product variants:

  • ProductGroup: Describes a group of related product variants.

  • Product: Describes an individual product or variant, including details such as its name, image, colour, size, and offers.

  • hasVariant: Connects individual variants to their parent product group.

  • variesBy: Identifies what makes the variants different, such as colour or size.

  • productGroupID: Provides a unique identifier for the product group.

Together, these properties help Google understand which variants belong to the same product group and how they differ.

2. Structured Data for Default Shopify Variants

When you use Shopify's default variants, all options belong to one product page.

For example, a T-shirt might have black, white, and blue colour variants. You can use ProductGroup to describe the T-shirt and Product to describe its individual variants.

The hasVariant property connects the variants to the parent product group, while variesBy identifies colour as the distinguishing attribute.

For this single-page setup, Google expects one canonical URL for the overall product group, typically the main product URL without a selected variant.

3. Structured Data for Separate Product Pages

You can also use product variant structured data when variants are available on separate pages.

For example, if black, white, and blue versions of the same T-shirt each have their own URL, you can use a multi-page setup.

In this case:

  • Each page needs its own product and variant information.

  • Each page must include a complete ProductGroup definition.

  • The same productGroupID identifies the shared product group across pages.

  • The structured data should include links to the other variant URLs to help Google discover them.

Unlike the single-page setup, there isn't one canonical URL representing the entire product group. Each variant page can have its own URL.

Important: Separate Shopify products aren't automatically product variants just because they are connected through colour swatches. Only group products that genuinely represent variations of the same parent product.

4. Test Your Product Structured Data

After implementing structured data, check that Google can read it correctly.

You can use:

Valid structured data can make your products eligible for enhanced search appearances, including variant information. However, Google doesn't guarantee that these results will appear.

For implementation examples and the full list of requirements, see Google's official Product Variant Structured Data documentation.


FAQ

Do Shopify product variants have separate URLs?

Yes. Shopify creates a unique URL for each variant using the ?variant=ID parameter. However, these URLs usually point to the same product page, and Shopify's default canonical URL points to the main product URL.

Can Google index Shopify product variants separately?

Yes, but having a unique variant URL doesn't guarantee separate indexing. Google needs to discover and crawl the URL, and the page must provide enough distinct value to justify being indexed separately.

How do I make Shopify product variants rank separately on Google?

You can either change the canonical setup for variant URLs or create separate Shopify products for variants that deserve their own search landing pages. Each page should have relevant content, appropriate canonical tags, internal links, and valid structured data.

Should I create separate Shopify products for different colours?

It depends on how different the options are and how customers search for them. If colours share the same product details and target the same searches, keeping them as variants is usually sufficient. If each colour has distinct features, content, and search demand, separate product pages may be worth considering.

Does Shopify automatically create SEO titles and meta descriptions for each variant?

No. Native Shopify variants belong to the same product page and don't automatically receive separate SEO titles or meta descriptions. If you create separate Shopify products, you can give each product its own title and meta description.

Does changing a variant's canonical URL guarantee Google will index it?

No. A self-referencing canonical tells Google that the variant URL is the preferred version, but canonical tags are signals rather than guarantees. Google still decides which URLs to index based on factors such as content quality, duplication, and discoverability.

Does Shopify automatically generate an XML sitemap?

Yes. Shopify automatically generates an XML sitemap that includes your store's product, collection, and other page URLs. You can submit it through Google Search Console to help Google discover your pages, but sitemap submission doesn't guarantee indexing.

Can I use structured data for Shopify product variants?

Yes. Google supports product variant structured data using ProductGroup and Product with properties such as hasVariant, variesBy, and productGroupID. This helps Google understand how products and their variants are related. Your structured data must follow Google's requirements, and valid markup doesn't guarantee enhanced search results.

I take care of your Shopify store, so you can focus on your business and your customers can enjoy a better experience.
HEY JAK |
Copyright 2026 |
I take care of your Shopify store, so you can focus on your business and your customers can enjoy a better experience.
HEY JAK |
Copyright 2026 |