@stef I understand that all the top marketing firms use that plugin, it’s a great plugin. I’ve used it too. It does many things wonderfully. It is very highly rated.
It does not do what I need and I am not mistaken.
To be clear: I am NOT looking to redirect to some other URL if a product has been deleted and is no longer available and someone happens to visit that URL.
I’ll try and explain again:
I am allowing users to delete posts from the FRONT END of the site using a link that looks something like this: /wp-admin/post.php?post=2703&action=trash&_wpnonce=8c400805d3
When a person who has permissions clicks this link, the post gets deleted and the page they were on reloads. Wonderful!
For users who do not have delete permissions:
When woocommerce is enabled, they are forwarded to the “My Account” page.
When woocommerce is not enabled, you get the default WordPress “You can’t do this” message.
Simple logic says that clearly WooCommerce has utilized a hook or filter to control this behavior. I would like to know how to remove or overwrite that behavior so that I can have flow that makes sense for my users.
I am 100% certain that the redirection plugin will not address this particular issue.