Archive and substitution product

Do you need to disable the product? Do not remove it or don't direct it to another one. You come up with a URL that you've so badly optimized for search engines. There is a more elegant solution.

Keep the product in the menu, but mark it as archived. The customer can find it but cannot buy it. Instead of a button in the basket, you'll get recommendations for buying a Alterantive product. You make the selection in the administration. By doing this, you will not lose the URL of the discarded product, and will still be in the search engine in the search engine.