Handle permanent deletion differently from a temporary pause in sales. The cited sources recommend both 404 and 410 for permanently deleted pages, but do not compare the two. For out-of-stock products, seasonal pauses in sales, or paused supplier relationships, these sources more strongly support keeping product information available and explaining that the item cannot currently be purchased. Some respondents suggest a 307 temporary redirect. Others recommend 503 for website maintenance, but that does not mean it suits every product that is unavailable for several months.
Permanent deletion: both 404 and 410 are recommended, but neither is shown to be better
A 2022 Semrush article recommends returning 404 when a page has been deleted and is no longer intended to be accessible. It also recommends removing internal links to the page so visitors do not keep reaching a dead page. A response in another public discussion recommends 410 for permanent deletion.
These recommendations apply when a page is genuinely no longer available, not simply when a product cannot currently be purchased. The cited sources do not compare which response is more suitable for a particular website or how quickly search engines process each one. Before deleting a category page, also check whether it should be permanently removed or kept as an entry point.
Expected to return: consider keeping the page
For e-commerce pages where sales may be paused for weeks or months, some respondents recommend keeping the product content and adjusting the purchase options. A response about seasonal products also explicitly advises against returning 404 or 410 for pages that will remain available. Suggested approaches include:
- Disable the purchase or add-to-cart button and clearly indicate that the item is currently out of stock or temporarily unavailable.
- Remove the price or keep it for reference, making it clear that visitors can still use the page for product information.
- For seasonal products, state their availability and offer sign-ups for back-in-stock notifications.
For example, if a product will be sold again next season, keeping its description and explaining that it is not yet in stock is more consistent with these recommendations than treating the page as permanently deleted. These are suggestions from public discussions, however, not official rules guaranteeing that a URL will remain indexed.
Do not choose 307 or 503 solely because the situation is “temporary”
For pages temporarily disabled because of supplier issues and expected to return, some respondents suggest a 307 temporary redirect. They also question whether 503 is appropriate when there is no server failure. Others directly recommend 503. These differing opinions should not be presented as a single definitive answer.
The cited advice on website maintenance is clearer: a maintenance page should return 503 and may include Retry-After to indicate when to try again, helping prevent search engines from indexing the maintenance content. However, another respondent warns that returning 503 continuously for weeks or months could cause the page to be removed from the index. The cited sources give no guaranteed safe duration.
Whether a 301 redirect to a similar product would cause the original URL to be removed from the index was raised as a concern by a questioner in a public discussion, not reported as a verified outcome. Whichever response is used, a custom explanatory page can still tell visitors whether the page has been permanently removed, the product is temporarily out of stock, or the website is undergoing maintenance, rather than showing only a status code.
Deleted or temporarily disabled products and categories: perspectives from across the web
After permanently deleting a page, is 404 or 410 better?
The cited sources do not establish which is better. Both 404 and 410 are recommended, but there is no direct comparison to help decide which is more suitable for a particular website. A 2022 article recommends returning 404 when a page has been deleted and is no longer intended to be accessible, and removing internal links to it so visitors do not keep reaching a dead page.
If a supplier relationship is paused, should you use a 301 redirect to a similar product?
If you plan to use the original URL again, the cited sources do not provide enough support to recommend a 301 redirect. In a public discussion, the questioner worried that a permanent redirect would cause the original URL to be removed from the index, but this was a concern, not a verified outcome. Another respondent suggested a 307 temporary redirect for pages expected to return. However, the cited sources do not compare the actual outcomes of the two approaches.
Can you keep returning 503 for a suspension caused by supplier issues?
The cited sources do not establish that 503 is suitable for long-term use. One respondent recommends it, while another questions whether it is appropriate because a supplier issue is not a server failure. Another respondent warns that returning 503 for weeks or months could cause the page to be removed from the index. If product information can still be provided, another suggestion is to keep the content and disable purchasing.
References
- which status to put for temporarily inactive pagewebmasters.stackexchange.com — Discusses: If a supplier relationship is paused, should you use a 301 redirect to a similar product?; Can you keep returning 503 for a suspension caused by supplier issues?
- What Is a 404 Error? How It Affects SEO & How to Fix Itwww.semrush.com · 2022-10-31T13:27:00Z — Discusses: After permanently deleting a page, is 404 or 410 better?
- which status to put for temporarily inactive pagewebmasters.stackexchange.com — Discusses: Can you keep returning 503 for a suspension caused by supplier issues?
- which status to put for temporarily inactive pagewebmasters.stackexchange.com — Discusses: If a supplier relationship is paused, should you use a 301 redirect to a similar product?
- which status to put for temporarily inactive pagewebmasters.stackexchange.com — Discusses: Can you keep returning 503 for a suspension caused by supplier issues?
- Will "performing maintenance" page holder affect your seo and page rankings? If so, is there a better way to handle it?webmasters.stackexchange.com — Source used in the article above.
- Will "performing maintenance" page holder affect your seo and page rankings? If so, is there a better way to handle it?webmasters.stackexchange.com — Source used in the article above.
- How to deal with obselete product pages on an e-commerce site?webmasters.stackexchange.com — Source used in the article above.
- HTTP response for deleted or disabled items on ecommerce storewebmasters.stackexchange.com — Source used in the article above.
- HTTP response for deleted or disabled items on ecommerce storewebmasters.stackexchange.com — Discusses: After permanently deleting a page, is 404 or 410 better?

