WooCommerce makes it easy to bring your store online and sell all kinds of physical and digital products. Once in a while, you will end up having to delete products in your WooCommerce store. Premmerce Redirect Manager is a handy plugin that lets you create 301 or 302 redirects for those types of products.
This plugin can set up automatic redirects for products. You can simply enter URLs, destination, and redirect type in the back-end. You can also easily edit previous redirects. This plugin is available as a free download. You can find out more about it here.