Skip to content
Performetic

SEO and GEO

Ecommerce technical SEO: filters, canonicals, pagination

Written by Published Last updated 6 min read
Ecommerce technical SEO: filters, canonicals, pagination

In short

Technical SEO for ecommerce comes down to making sure Google crawls and indexes only valuable URLs. Block filter combinations nobody searches for with robots.txt, turn high demand filters into proper pages, give every paginated page its own canonical, and keep internal links consistent with the URLs you choose as canonical.

Contents
  1. How do you handle technical SEO on an ecommerce site?
  2. Why does faceted navigation cause SEO problems?
  3. Which filter pages should be indexed?
  4. What does Google recommend for filter URLs?
  5. How should canonical tags be used in ecommerce?
  6. How do you set canonicals for product variants?
  7. How should pagination work?
  8. When does crawl budget matter for ecommerce sites?
  9. Where should a technical SEO audit start?
  10. Key takeaways

How do you handle technical SEO on an ecommerce site?

Technical SEO for an ecommerce site is about steering Google's crawling toward pages that matter. You keep filter and sort URLs without search demand out of crawling, publish high demand combinations as real pages, align canonical tags with internal links, and leave paginated listings crawlable with a unique URL for every page.

A typical corporate site has a few hundred URLs. An online store has thousands of products and hundreds of categories, and once you multiply them by filters, sort orders and page numbers, the URL count easily reaches six figures. This guide covers the three areas that cause the most trouble on ecommerce sites: faceted navigation, canonical tags and pagination.

Why does faceted navigation cause SEO problems?

Faceted navigation lets shoppers narrow products by color, size, brand or price. Shoppers need it. But when every filter selection creates a new URL, crawlers end up in a maze with no exit.

Here is a quick example. Example: a shoe category offers 10 colors, 8 sizes, 5 price ranges and 4 sort options. Even with a single choice per facet, that is 10 x 8 x 5 x 4 = 1,600 URLs. Add multi select and different parameter orders and the number multiplies. Most of those URLs show the same products in a different order, or no products at all.

Google's documentation on faceted navigation highlights two consequences. Crawlers spend time on useless URLs, so new and updated pages can be discovered later, and the same content ends up duplicated across many addresses.

Which filter pages should be indexed?

Not every filter page is a problem. If a combination such as "women's black leather boots" has real search volume, that page is a valuable entry point. Ask three questions:

  • Do people actually search for this combination?
  • Does the page show a meaningfully different product set from the parent category?
  • Will the page consistently have enough products?

If all three answers are yes, do not leave it as a filter parameter. Publish it as a subcategory with a stable URL and its own title and description. We cover how to strengthen those pages in our category page SEO guide.

URL type Example Recommended approach
Filter with demand /womens-boots/black-leather Stable subcategory, self canonical, internal links
Filter without demand ?color=black&size=38 Block crawling in robots.txt or use a URL fragment (#)
Sort order ?sort=price-asc Block crawling, keep out of the index
Empty combination ?color=purple&brand=x Return a 404 status code
Pagination ?page=2 Keep crawlable, self canonical
Product variant ?variant=123 Canonical to the main product if content is the same

What does Google recommend for filter URLs?

Google's documentation separates two scenarios. If you do not need faceted URLs indexed, the most effective approach is to block their crawling with robots.txt or to carry filter state in a URL fragment (#), since Google generally does not treat fragments as separate pages. The same page notes that canonical tags and nofollow are less effective than robots.txt over the long term.

If you do need faceted URLs crawled, follow these rules:

  1. Use the standard & character as the parameter separator, not commas, semicolons or brackets.
  2. Always write filters in the same order, so color then size and size then color do not produce two URLs.
  3. Return a 404 status code for filter combinations with no results instead of redirecting to a generic page.
  4. Link internally to valuable filter pages and include them in your sitemap.
  5. Keep sort and view (list or grid) parameters out of the index.

How should canonical tags be used in ecommerce?

A canonical tag tells Google which of several near identical pages is the primary version. The key point: a canonical is a hint, not a directive. According to Google's documentation on consolidating duplicate URLs, a 301 redirect is a strong signal, a canonical tag is a strong signal and sitemap inclusion is a weak one. When those signals disagree, Google makes its own choice.

The mistakes we see most often:

  • Pointing the canonical of page 2, 3 and beyond to page 1, which makes products on deeper pages harder to discover.
  • A canonical that points to one URL while internal links, navigation and the sitemap point to another.
  • Combining noindex with a canonical to a different URL on the same page, which sends conflicting signals.
  • Using relative URLs, or mixing HTTP and HTTPS and trailing slash variants.

How do you set canonicals for product variants?

If color or size variants share the same description and images, point the canonical of the variant parameter URLs to the main product page. If variants have their own search demand, for example distinct model numbers, publish them as separate, rich pages with self referencing canonicals.

How should pagination work?

Google's pagination guidance boils down to a few rules. Give each page a unique URL, such as ?page=2. Link pages sequentially with regular a href links. Let each page's canonical point to itself. Do not carry the page number in a URL fragment (#), because Google generally ignores everything after the fragment.

Google states clearly that it no longer uses rel="next" and rel="prev". Other search engines may still use them, but they do nothing on their own for Google.

If you use a load more button or infinite scroll, provide paginated URLs that reach the same content and work without JavaScript. Otherwise Google may never see past the first batch of products.

When does crawl budget matter for ecommerce sites?

Google's crawl budget documentation says the topic mainly concerns very large sites or sites whose content changes very quickly. For a store with a few thousand products, the real issue is usually not budget but duplicate and low value URLs competing with your important pages. These practices still help at any size:

  • Block URLs you do not want crawled in robots.txt. Noindex does not stop crawling, Google still has to fetch the page.
  • Return 404 or 410 for permanently removed products, or 301 them to the closest alternative.
  • Collapse redirect chains into a single hop.
  • Keep the sitemap current and list only canonical URLs.

The Crawl Stats report in Search Console shows which URL types Google requests on your site and how often. If parameterized URLs dominate that report, your priority list writes itself.

Where should a technical SEO audit start?

Start with the Page indexing report in Search Console. Look at pages that were crawled but not indexed, and at duplicates where Google chose a different canonical than the one you declared. If those lists are full of filter, sort or variant parameters, the root cause is almost certainly in the areas covered above. Then crawl the site with a crawler tool and list pages whose canonical points elsewhere, parameterized URLs used in internal links and redirect chains.

Key takeaways

  • Uncontrolled filter and sort combinations burn crawling on URLs with no value.
  • Turn filters with demand into stable subcategory pages and keep the rest out of crawling with robots.txt.
  • A canonical is a hint, so internal links, sitemaps and redirects must point to the same URL.
  • In paginated listings, every page needs its own URL and its own canonical tag.
  • Review the Crawl Stats report regularly to catch problematic URL patterns early.

If you would like an expert review of your filter and canonical setup, you can request a free growth analysis from the Performetic team.

Frequently asked questions

Should filter URLs be blocked with noindex or robots.txt?

If the goal is to reduce crawling, robots.txt is more effective, because Google has to crawl a page to see its noindex tag. If filter URLs are already indexed, a more controlled transition is to apply noindex first, wait for them to drop out of the index, and then add the robots.txt rule.

Should paginated category pages canonicalize to the first page?

No. Google's pagination guidance says each page should have a canonical pointing to itself. Canonicalizing page 2 and beyond to page 1 can make products on those pages harder to discover. Give every page a unique URL and link the pages sequentially with regular links instead.

Does Google use rel="next" and rel="prev"?

No. Google states in its pagination documentation that it no longer uses these tags. You do not need to remove them, since other search engines may still rely on them. What matters for Google is that each page has a unique URL and that pages link to each other in sequence with normal links.

Does crawl budget matter for a small online store?

According to Google, crawl budget is mainly a concern for very large or very fast changing sites. For small and mid sized stores, the bigger risk is duplicate and low value filter URLs competing with important pages for attention. That is why clean URL management matters at every size.

Sources

  1. Google Search Central: Managing crawling of faceted navigation URLs
  2. Google Search Central: Pagination and incremental page loading
  3. Google Search Central: Consolidate duplicate URLs
  4. Google Search Central: Large site owner's guide to managing crawl budget
  5. Search Console Help: Crawl Stats report

Your ad budget deserves more.

We review your store and ad accounts and send you three concrete growth opportunities, free of charge.

Get a free audit
Get a free audit