📊 State of Magento 2025

The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

613 Modules
401 Ready
211 Need Help
🏆 Leaderboard
Potentially Abandoned v1.2.0

Disabled Products Redirect

sysforall/disabled-products-redirect

Redirects users from disabled product pages to the product's first category. Allows admin to customize the redirection message displayed to the user.

30,762
Downloads
Below average
12
GitHub Stars
Below average
8y ago
Last Release
0
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
4 warnings
L1 PHPStan

Tested on Magento 2.4.8-p3

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.2.0 on Magento 2.4.8-p3
Dec 28, 2025

Share This Module's Status

Disabled Products Redirect Magento compatibility status badge

README

Loaded from GitHub

Redirect disabled products

This module changes the default magento 404 by redirecting users who try to go to a disabled product URL to the first category the product belongs

Features of this extension:

Backend

  • Customisable message once user is redirected from the disabled product URL to the first category it belongs to.

Installation

Manual Installation

  • Download the extension
  • Unzip the file
  • Create a folder {Magento root}/app/code/Sysforall/DisabledProductsRedirect
  • Copy the content from the unzip folder

Using Composer

composer require sysforall/disabled-products-redirect

Enable Extension

  • php bin/magento module:enable Sysforall DisabledProductsRedirect
  • php bin/magento setup:upgrade
  • php bin/magento setup:static-content:deploy

Settings

To customise the redirection message log into your Magento Admin Panel, go to Stores -> Configuration -> Sysforall -> Disabled Products Redirect

When complete, Save Config.

Clear cache if necessary

  • php bin/magento cache:clean

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.