Technical SEO for ecommerce is ordinary technical SEO plus a handful of problems that only stores have: filter and sort links that create thousands of URLs, product variants, the same product living at several addresses, long paginated categories, and products that sell out or get discontinued. Get those five right and a small store is in better shape than most, because they are where store sites waste Google’s crawling and split their own signals.
The checklist below is ordered by how often each item causes trouble on a typical Shopify or WooCommerce store. Copy it, then use the sections after it for the how and the why. For the checks every site needs (HTTPS, indexing, speed, sitemaps), use the general technical SEO checklist alongside this one.
The ecommerce technical SEO checklist
Copy this into a doc or ticket and tick it off:
- Filter and sort URLs: you know which filter, sort and tag URLs your store creates, and only the ones you want in Google can be crawled.
- Filter URLs you keep: any filter page you want indexed uses
&between parameters, keeps filters in one fixed order, and returns a 404 when a combination has no products. - One URL per product: every internal link points to the product’s main URL, and any other path to it carries a canonical tag back to that URL.
- Variants: each variant can be opened directly with its own URL, the page shows that variant’s price, photo and stock, and variant pages canonicalize to the main product URL (unless each variant is a separate product page on purpose).
- Variant markup: product structured data uses
ProductGroupwithhasVariant, and each variant has its ownskuorgtin. - Pagination: category page 2, 3 and so on each have their own URL, a self-referencing canonical and a plain
<a href>link to the next page. - Load more and infinite scroll: every product a shopper can reach by scrolling is also reachable through a normal link or the sitemap.
- Temporarily out of stock: the page stays live, says it’s unavailable, and its structured data shows
OutOfStock. - Discontinued: the page redirects to a close replacement, or returns a 404 or 410 when there isn’t one, and the item is removed from your Merchant Center feed.
- Permalink settings: nobody changes product or category URL settings on a live store without a redirect plan.
- Session and tracking parameters: none appear in internal links.
- Structured data checked: a few product pages pass Google’s Rich Results Test with no errors on price or availability.
Items 1 to 4 matter most. One category with 5 colors, 8 sizes and 4 sort options already has 160 combinations of one color, one size and one sort, before price, brand or a second color. That is where crawling goes when nobody has set limits.
1. Filter and sort URLs
Every filter a shopper clicks (color, size, price, brand) and every sort option (price low to high, newest) usually adds a parameter to the URL. Combine three filters and two sorts across 20 categories and you have far more URLs than products. Google’s faceted navigation guide says crawlers “will typically access a very large number of faceted navigation URLs” before they can tell those pages are useless, which slows down the discovery of new products.
Start by finding out what your store actually generates. Click a few filters and sort options and watch the address bar, then open your own /robots.txt to see what is already blocked.
Shopify. Storefront filters use parameters in the form filter.v.option.color=red or filter.p.vendor=..., and sorting adds sort_by. The default robots.txt on Shopify stores, checked this week, already disallows sort_by URLs, old tag filters with a + in the path (/collections/*+*), and collection URLs with two or more filter parameters. A URL with a single filter, such as one color, is left crawlable. For most stores that default is sensible. If you want to block more, you edit the robots.txt.liquid template as Shopify’s robots.txt docs describe, and save a copy of the current file first.
WooCommerce. The sort menu adds ?orderby= to the URL, and filter blocks and plugins add their own parameters, with names that vary by plugin. WordPress’s default robots.txt only blocks /wp-admin/, so none of these are blocked out of the box. See how to edit the WordPress robots.txt if you need to add rules.
Google gives you three choices, in order of strength:
- Block the ones you don’t need in robots.txt. Google’s example disallows URLs containing
color=,size=and similar parameters while leaving product pages and the unfiltered category crawlable. This is the only option that reliably stops the crawling. - Use a canonical tag or nofollow. Google says a canonical from a filtered URL to a less filtered one may reduce crawling of those URLs “over time”, and that nofollow only works if every link to the URL has it. Both are weaker than robots.txt.
- Keep some filter pages indexable on purpose. If “brown leather boots” is a real search and your filtered page answers it, Google asks you to use
&between parameters, keep filters in a fixed order with no duplicates, and return a 404 for empty or nonsense combinations rather than a page that says “no products found”.
Don’t block a URL in robots.txt and also expect Google to read a canonical or noindex on it. A blocked page can’t be fetched, so those tags are never seen. Robots.txt noindex explains why.
If you’re not sure which filtered pages deserve to be indexed, check search demand first. Keyword research for ecommerce shows how to match terms to category and filter pages.
2. One product, one URL
Shopify themes can link to a product through a collection, giving URLs like /collections/sale/products/trail-boot. Shopify’s own docs for the within filter warn that a product page “in the context of a collection” has the same content on a separate URL. On the stores we checked, those collection paths carry a canonical tag pointing to /products/trail-boot, so Google gets the right hint. Even so, it’s better to link to the main URL directly, so the signal doesn’t depend on a hint.
To fix it on Shopify, look in your theme’s product card snippet for product.url | within: collection and replace it with plain product.url. Test on a duplicate theme first.
On WooCommerce the risk is different. If you use the “Shop base with category” permalink, the category is part of the product URL. The WooCommerce permalink docs warn that changing these settings changes every product URL, and old links can return 404 errors unless you add redirects. WooCommerce 10.5 also changed which category goes in the URL when a product sits in several (it now picks the deepest one). WooCommerce says it 301 redirects the old URLs automatically, but check a few of your own in Search Console after updating.
For the general rules on picking a canonical, see what the canonical tag does.
3. Variants
A boot that comes in four colors and eight sizes is one product with 32 variants. Google’s ecommerce URL guide asks that “each variant can be identified by a separate URL”, either as a path (/trail-boot/brown) or a parameter (/trail-boot?color=brown). With a parameter, the canonical should be the URL without it.
Don’t use a # for variants. Google says it “does not use fragment identifiers in indexing”, so /trail-boot#brown and /trail-boot#black look like one page.
For structured data, Google’s product variants documentation uses a ProductGroup with hasVariant, variesBy (color, size and so on) and a productGroupID (your parent SKU). Each variant needs its own sku or gtin, and Google says a variant URL must preselect that variant, showing its own image, price and availability. Shopify’s variant URLs (?variant= followed by an ID) do the preselecting. Whether your theme outputs ProductGroup markup depends on the theme or SEO app, so test a product page and look for it.
4. Category pagination
Long categories split across several pages are fine, as long as Google can walk through them. Google’s pagination guidance says:
- Give each page its own URL, such as
?page=2. Shopify does this by default, and on the stores we checked, page 2 had its own self-referencing canonical, which is what you want. - Link each page to the next with a plain
<a href>link. - Don’t canonicalize every page to page 1. Products that only appear on page 3 then lose their path in.
rel="next"andrel="prev"are no longer used by Google, so don’t count on them.
“Load more” buttons and infinite scroll are the common trap. Google says its crawler generally doesn’t click buttons or trigger actions that need a user, so products loaded that way need another route in: a paginated fallback with real links, your XML sitemap, or a Merchant Center feed. The page indexing report will show products sitting in “Discovered, currently not indexed” if they’re hard to reach.
5. Out of stock, discontinued and seasonal
This is where stores most often hurt themselves, usually by deleting pages that should stay. The right move depends on whether the product is coming back.
Temporarily out of stock. Google’s guidance on pausing an online business says it’s “better to still allow that page, and mark it out of stock”, so people “can still understand what’s going on”. Update the structured data to match. Google’s merchant listing docs accept values such as OutOfStock, BackOrder, PreOrder and SoldOut. The pause guidance also says no to using the Removals tool for out-of-stock items. Add a “notify me” form and links to similar products so the page still helps someone.
Discontinued with a replacement. A permanent 301 redirect to the new model passes visitors (and links) to the page that now does the job. Google’s redirect docs say to use a permanent redirect when you’re sure it won’t be reversed. On Shopify, add it under Content, then Menus, then URL redirects. WooCommerce needs a redirect plugin or a server rule.
Discontinued with nothing close. Return a 404 or 410. Google’s HTTP status code docs say all 4xx codes except 429 are treated the same, so either works. Avoid a page that says “product no longer available” with a 200 status and nothing else, because Google may flag it as a soft 404. If you run Shopping ads or free listings, Merchant Center’s availability help says to delete permanently discontinued products from your data rather than marking them out of stock.
Seasonal products (a holiday gift set, a winter range) are a special case of “coming back”. Keep the URL from year to year and update the page, so it keeps the links and history it built last season.
Smaller checks that still matter
- Tracking and session parameters. Google’s URL guide asks you not to link internally to URLs with session IDs or tracking codes. UTM tags belong on links from emails and ads, not your own menu.
- Internal links to best sellers. Google’s site structure guide suggests linking your most important products from the home page, because more internal links signal more importance.
- Speed on product and category pages. Large photo galleries and app scripts are the usual cause. How to improve Core Web Vitals covers the fixes by metric.
- Sitemap and Search Console. Shopify builds
sitemap.xmlfor you. Submit it and check coverage, as in Google Search Console for Shopify. - Test the markup. Run three product pages (in stock, out of stock, one with variants) through a schema testing tool after any theme or app change.
FAQ
Is technical SEO different for ecommerce sites?
The basics are the same: Google has to crawl, render and index your pages. Stores add problems most sites don’t have, mainly filter and sort URLs, variants, duplicate product paths and products that go out of stock, so they need the extra checks above.
Should I noindex out-of-stock products?
Not if they’re coming back. Google recommends keeping the page and marking it out of stock. Only remove the page (with a redirect or a 404) when the product is discontinued for good.
Does Shopify handle technical SEO for me?
It handles a lot: canonical tags, a sitemap, and a robots.txt that blocks sort and multi-filter URLs. It doesn’t decide which filtered pages deserve to rank, stop themes linking through collection paths, or handle discontinued products, so those are still your job.
Count your filter URLs before you fix anything else
If you only have an hour, spend it on item 1. Click through your filters, check what your robots.txt already blocks, and look at Search Console’s page indexing report for parameter URLs you didn’t expect. On most stores that one hour tells you whether Google is spending its visits on your products or on endless copies of the same category.
