Simple Redirects provides rule-based URL redirect management for Magento.
composer require auroraextensions/simpleredirects
Once installed and enabled, make sure to activate the module from the backend.
php bin/magento config:set simpleredirects/general/enable 1