Deleted WooCommerce products: from old URL to useful page.

Plan WooCommerce redirects, handle old product links and verify categories, caching and fallback with Product 404 Redirects.

Separate out of stock from deleted

An out-of-stock item can still have a useful page containing images, specifications and availability information. Keep it when the product will return. A deleted product needs a decision about what its old links should do.

Start with URLs receiving relevant visits or links. For each source, be able to explain the relationship between the old product and its target. A replacement product may be best; a category is useful when it actually offers the same kind of item.

What can be recovered?

My Product 404 Redirects WooCommerce extension uses saved mappings, the trash and retained slug history. It can capture future deletions while active. A permanently deleted item with no remaining database trace cannot automatically be matched from information that no longer exists.

For those old URLs, a previous catalogue export or your own redirect list can support a manual decision. A path that looks like a product is not enough evidence for a specific category.

A controlled setup

  • Back up the store and start in staging with the same permalink structure as production.
  • Install through WooCommerce.com and open WooCommerce → Product 404 Redirects.
  • Review shop-page fallback and the visitor notice. Disable fallback when the shop page is too broad.
  • Save the URL of a test product with a known category. Move it to the trash and inspect the resulting rule.
  • Test as a signed-out visitor. Confirm that the target exists, shows relevant products and does not redirect again.

Official installation and settings documentation

When a redirect does not work

ObservationCheck
The old 404 is still displayedActivation, the redirects setting, page cache and server cache.
Visitors land on the shop pageWhether the category still exists and fallback is enabled.
An old URL has no ruleWhether a mapping, trashed product or history is available.
The URL redirects several timesOverlapping rules in the server, SEO plugin and redirect plugin.
The category has no relevant productsChoose a better destination or keep a genuine 404.

Check the response and the journey

Open the browser network panel and inspect the first document response. A permanently deleted product with a relevant target can use 301. The destination should work without another redirect. Also check an existing product, an unknown path and a removed category.

The plugin documentation describes 302 for private products. A temporary response should not automatically be treated as a permanent move. Review why the product has that status before changing rules.

More redirect hits show that rules are being used. Compare them with the store’s actual sales reporting to understand business impact.

Let’s look at your store

Send your platform, the specific challenge and any deadline so we can define a useful next step.

Discuss your project