Redirect on product deletion
The rule is created before the product is removed. The target is configurable: default category, deepest or highest assigned category.
A shop catalogue keeps changing: products go out of stock for good, categories are merged. The URLs that disappear live on in Google results, in newsletters and in other sites' links — and they return 404. That hurts more than the visitor: a 404 URL loses the ranking it earned, the value of every inbound link goes nowhere, and the crawler spends part of the shop's crawl budget on dead addresses. A 301 keeps that chain alive — this module writes it at the moment of deletion, before the record is gone, and keeps every existing redirect in one place.
The rule is created before the product is removed. The target is configurable: default category, deepest or highest assigned category.
The deleted category and its subcategories point to the nearest category that stays. Without one, they point to the homepage.
Every active language gets its own rule, and in multistore only the shop the record is removed from.
Rules are editable in a list: status code, on and off, click counter, filtering by origin.
URLs inherited from a previous system can be uploaded from a CSV file by column order.
A file log of every automatic decision, one file per month, for the developer.
No. Upload and install the module as usual, switch on what should be redirected, and pick the target category. From there, deletions need no further work.
Browse our other PrestaShop modules.
Courses and tutorials for PrestaShop.
Detailed usage documentation.
Direct help with installation and setup.