Skip to content
Technical SEO 7 min read By Lewis Jones Editorial policy

Shopify Out of Stock Products: SEO Fixes

What Shopify does with a sold-out product, read from three live stores, and when to keep the page, redirect it or let it go without losing rankings.

Part of Technical SEO Guide: Crawl, Index, Speed

In short

  • Shopify keeps a sold-out product's page live, indexable and in the sitemap, with Product schema saying OutOfStock, which is right for products that are coming back
  • Decide per product: keep the page if it is coming back, redirect it to a replacement if there is one, and redirect to the collection or let it 404 if there is not
  • Hide sold-out products from shoppers by sorting them to the end of collections, not by unpublishing them, which takes the page out of search
  • Never redirect sold-out products to the home page, which Google can treat as a soft 404
  • A crawl that reads the Product schema lists every indexable product nobody can buy, which is the list to make these decisions on

When every variant of a Shopify product sells out, Shopify keeps the product page live. It still answers 200, it stays in the sitemap, and the Product schema in most themes changes to say OutOfStock. For a product that is coming back, that is exactly right: the page keeps its rankings and links, and Google can show shoppers that it is unavailable. The work is deciding what to do with the products that are not coming back, and keeping sold-out items out of the way of shoppers without taking them out of search.

This post shows what three live stores served for their sold-out products on 19 November 2026, the keep, redirect or remove decision, and how to hide sold-out products without losing them. For the rest of a Shopify audit, see the Shopify SEO audit.

What Shopify does with a sold-out product

We listed every product on three Shopify stores, found the ones where every variant was sold out, and checked what each served.

Two stores kept sold-out products live and said so in their schema. The third shows none at all, so it removes them another way.

On the two stores that had them, every sold-out product we opened answered 200 with no noindex, and its Product schema said OutOfStock. Nearly all were still listed in the sitemap. That is Shopify's default, and for a short sell-out it needs no change.

Keep, redirect or let it go

The product page holds whatever the product has earned: rankings, links from other sites, and reviews. So the only question is whether the product is coming back.

Only the left branch keeps the page, and it is the right one far more often than stores assume.
  • Coming back. Keep it published. Say on the page when it is expected if you know, offer a back-in-stock email, and move it to the end of its collections (below).
  • Replaced by a new product. Delete it and add a URL redirect from the old product URL to the replacement. Searches and links for the old product then land on something people can buy.
  • Gone, with nothing close. Redirect it to the collection it belonged to, or let it return 404. Both are honest answers.

Do not redirect sold-out products to the home page. Google treats a redirect to an unrelated page much like a missing page, a soft 404, so none of the old page's value carries over, and shoppers looking for the product land somewhere that does not mention it. The soft 404 post explains how Google reaches that verdict. Apps that redirect sold-out products automatically often default to the home page, so check the setting before you switch one on.

Hiding sold-out products without losing them

Most stores want sold-out products out of shoppers' way, and the common fixes do very different things to search:

The first row is the only one that hides a product from shoppers and keeps it in search unchanged.

The safest option is to keep sold-out products in their collections and move them to the end. The page stays live and keeps its internal links, and shoppers see what they can buy first.

Same URLs, same links, same rankings. Only the order shoppers see changes.

On most themes this needs a theme setting or an app rather than one of the standard sort orders. If you remove a product from its collections instead, the page stays live but loses the links that told Google it mattered. If you unpublish or delete it, its URL stops working: on the two stores we tested, a product URL that did not exist returned 404. Check what yours returns for an unpublished product before relying on it.

Discontinued products: redirect them properly

When a product is gone for good, the redirect is what keeps its value:

  1. Choose the target: the closest replacement product, or the collection it belonged to.
  2. In the Shopify admin, open URL redirects (search the admin for it) and add a redirect from /products/old-handle to the target.
  3. Delete or archive the product.
  4. Open the old URL in a browser and check it lands on the target with one redirect, not a chain.

If the product had little traffic and no links, letting it return 404 is fine. Google drops 404 pages from its index over time, and the not found (404) post covers when that is the right answer.

Opening product pages one by one does not scale past a small catalogue. Crawl Cove reads the Product schema the theme already outputs, so it finds them without access to the store's admin:

The finding is a list to decide on, not a list to delete.
  • A product page counts when it answers 200, has no noindex, is not canonicalised to another URL, and every offer in its Product schema, including every variant, says OutOfStock, SoldOut or Discontinued.
  • A product with one size sold out and others in stock is not counted, because that is a normal shop.
  • The pages are reported together as products nobody can buy, still in search, graded low, because many of them are right to keep.

Work down the list with the decision above: keep what is coming back, redirect what has a replacement, and let the rest go. The ecommerce SEO crawler page covers the other catalogue checks. For the same decisions on WooCommerce, see WooCommerce out of stock products.

The Free plan crawls up to 1,000 URLs a crawl, enough for a small store's full catalogue. Download Crawl Cove and start from the store's home page.

Frequently asked questions

Should I hide out of stock products on Shopify?
Hide them from the top of your collections, not from search. Sorting sold-out products to the end of a collection keeps their pages live, so they keep their rankings and links for when stock returns. Unpublishing or deleting a product takes its page out of search, which is only right for products that are not coming back.
Do out of stock products hurt SEO on Shopify?
Not by themselves. Google shows the availability from the Product schema, and a sold-out page that is coming back is worth keeping. They hurt when they pile up: a discontinued range left live for months collects searches nobody can buy from, and a collection full of sold-out items loses shoppers.
Should I redirect sold out products?
Only when they are not coming back. Redirect a discontinued product to its replacement if there is one, or to its collection if there is not. Do not redirect to the home page: Google can treat a redirect to an unrelated page as a soft 404, so the rankings do not carry over.
What happens to a deleted Shopify product's URL?
It answers 404. On the two stores we tested, a product URL that did not exist returned 404. If the page had rankings or links, add a URL redirect in the admin from the old URL to a replacement or its collection before or as you delete it.
How do I find sold-out products that are still indexed?
Crawl the store and read the Product schema on each product page. A page that answers 200, has no noindex, and lists every offer as OutOfStock, SoldOut or Discontinued is a product nobody can buy that is still in search. Crawl Cove reports these as one finding with the list of pages.

Audit your site the easy way

Crawl Cove finds these issues on your machine. Try the SEO Crawler or see every feature.

Download free