I have written my own customization to handle this well, however I feel it should be included in a future AC7 release.
When a product or category is deleted, AC7 will drop back to the home page if any external links try to jump to them. While this is acceptable behavior, the arriving site visitor has no clue what just happened or why - they were expecting a product or category page to be displayed.
My solution was to create two new store-wide settings - MissingProductURL and MissingCategoryURL. I added these to the Configure->Store page.
In the appropriate user controls on the visitor side, I test for invalid product/category ID references and response.redirect to the admin-configured URLs. This gives the site admin the opportunity to tell the visitor why they didn't arrive where they expected and allows the opportunity to offer other marketing/search features available.
User-defined page redirects for missing Product/Category IDs
User-defined page redirects for missing Product/Category IDs
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com