Products run out all the time in an online store: a batch sells out, a season ends, a manufacturer discontinues a model. That is exactly when many store owners make a costly SEO mistake. Some delete the page at once and lose years of accumulated search traffic, others leave hundreds of "out of stock" pages that confuse both shoppers and search engines. The right choice depends on whether the item will return, whether the page has traffic and backlinks, and whether a replacement exists.
Temporarily out of stock: keep the page
If the item will be back in a few weeks or months, do not delete or redirect the page. Let it keep returning status 200 and clearly state that the product is currently unavailable. The page stays indexed and recovers faster once stock returns, whereas a deleted and recreated page has to be learned from scratch. Make it useful: a "notify me" button, an expected date, similar products and a link to the category. Update the structured data too, so search results do not promise availability.
"offers": {
"@type": "Offer",
"price": "4200000",
"priceCurrency": "UZS",
"availability": "https://schema.org/OutOfStock"
}
PreOrder and BackOrder values also exist; whichever you use must match what the page says.
Discontinued with a successor: 301 redirect
When a new series or generation replaces the old model, a permanent 301 redirect to the new product page is the logical step. Visitors land on the closest equivalent, and the old page's signals, including backlinks, pass to the new one. Redirect only to a genuinely relevant page: sending a specific product to the homepage or a broad section is often treated by Google as a soft 404, which wastes the redirect and frustrates the visitor.
# Nginx
location = /mahsulot/changyutgich-x100 {
return 301 /mahsulot/changyutgich-x200;
}
# Apache (.htaccess)
Redirect 301 /mahsulot/changyutgich-x100 /mahsulot/changyutgich-x200
No replacement, but the page still has value
If a discontinued product's page still earns search traffic or backlinks, keep it as an archive page: state that it is no longer made, keep the specifications and manuals, and suggest the nearest alternatives. People looking for spare parts often need exactly that information. If nothing worth keeping remains and the category has many similar items, redirect to a narrow matching category, for example "lightweight strollers" rather than "baby products".
No value left: 404 or 410
With no traffic, links or replacement, remove the page and let the server return 404 (not found) or 410 (gone). Google drops both from the index; 410 may be slightly faster, but do not expect a big difference. Remove the URL from your sitemap and internal links.
# Nginx
location = /mahsulot/eski-sovga-toplami {
return 410;
}
# Apache (.htaccess)
Redirect gone /mahsulot/eski-sovga-toplami
# check the result
curl -I https://misol.uz/mahsulot/changyutgich-x100
| Situation | Action | Status |
|---|---|---|
| Temporarily out, will return | Keep page, mark unavailable | 200 |
| Discontinued, successor exists | Redirect to successor | 301 |
| Discontinued, no successor, has traffic | Archive page or narrow category | 200 or 301 |
| No value | Remove, clean sitemap and links | 404 or 410 |
Example: an electronics store in Tashkent
An electronics store on example.uz replaces several hundred items a year. It used to delete sold-out products from its CMS, so hundreds of 404 errors piled up in Search Console and blog links to a popular laptop led nowhere. Now the team reviews the sold-out list monthly: returning items stay as "out of stock", models with a successor redirect to it, and old accessories without traffic return 410. Errors drop, and new model pages climb faster thanks to the old pages' links. Platforms such as WooCommerce can also hide out-of-stock items from catalogue listings while keeping the product URL live. Server-level rules in Nginx or .htaccess are usually faster than plugin redirects; on sayt.uz hosting you can edit .htaccess through the ISPmanager file manager.