E-commerce
What should I do with out of stock products?
It depends on whether the product is coming back. Temporarily out of stock: keep the page indexed with availability set to OutOfStock. Discontinued with a replacement: 301 to it. Discontinued with nothing similar: keep the page or return 410. Seasonal: never delete.
The four cases
| Situation | Action |
|---|---|
| Temporarily unavailable | Keep indexed, set OutOfStock, offer alternatives on the page |
| Discontinued, replacement exists | 301 to the replacement — not the category, never the home page |
| Discontinued, nothing similar | Keep with a clear message, or 410 if there is nothing useful to say |
| Seasonal | Never delete. It rebuilds authority annually and you cannot buy that back |
Why deleting is usually wrong
A product page with links and ranking history is an asset. Deleting it discards that, and the replacement product starts from zero — which is why the redirect matters more than the tidiness.
The markup requirement
Availability in your Product schema must match the page at all times. A page saying "out of stock" with InStock in the markup is the most common cause of a structured-data manual action in retail.
The longer version
This answer is deliberately short. If you want the full treatment, The e-commerce SEO checklist, in the order the checks actually matter covers it in about 3 minutes — free, ungated, written from client work.
Who answered this
Anas Bin Masud builds e-commerce sites and does technical SEO for businesses in the UK, Canada and Pakistan — fifteen live client sites, six of them stores taking real payments. These answers come from those projects rather than from a content brief. More about how I work, or ask me something directly.