Technical SEO for online stores

What should I do with product pages for out-of-stock items?

The short answer

If the product is coming back, keep the page live, mark it as out of stock and give shoppers something useful, such as an expected restock date, a back-in-stock alert or similar products. Removing or redirecting a page every time stock runs out throws away rankings the page has built up and confuses Google.

Why temporary stock-outs should not change the page

A product page that ranks has earned that position over time through its content, links and history. If you delete it or redirect it when stock runs out, then bring it back weeks later, Google has to rediscover and re-evaluate it. For seasonal or fast-selling lines, such as winter jackets, popular toys before Christmas or a limited coffee roast, that cycle can cost rankings every time. Leaving the page live keeps its position and lets people find it when they search.

Tell Google and shoppers the product is unavailable

Show clearly on the page that the item is out of stock, and update the availability in your product structured data so it matches. Most platforms, including Shopify and WooCommerce, do this automatically when stock reaches zero, but it is worth checking your theme does it. If you list products in Google Merchant Center, the availability there also needs to match the page, or the product can be disapproved, as covered in Merchant Center disapprovals.

Give the visitor somewhere to go

An out-of-stock page still gets visitors, so make it useful:

  • An expected restock date, if you know it
  • A back-in-stock email signup
  • Similar products or the next model in the range, shown near the top
  • The option to pre-order or backorder, if you offer it

These keep the sale with you rather than sending the shopper back to Google to find another store.

Keep in-stock products prominent

Many platforms let you push sold-out products to the end of collection pages, or hide them from collections while keeping their pages live. That keeps category pages useful for shoppers without deleting anything. Be careful with settings that hide out-of-stock products entirely, because on some set-ups the page becomes unreachable through internal links, which can make it harder for Google to find.

If the product will never come back, the approach is different. The answer on whether to delete discontinued products covers that case. For products made to order with long lead times, see handling made-to-order products.

Related questions

More questions about technical SEO for online stores

Next questionShould I delete discontinued products from my store?

Get a free Google Maps and ChatGPT audit for your business

See how your business compares with your competitors on Google Maps across your area, and whether ChatGPT recommends you or someone else.

Request my free audit