Handle/Mark as 410
-
I have contributed to a comment in this post here but wanted it to pop up to the top of the support feed to get some possible traction:
https://www.ads-software.com/support/topic/easier-410-redirections-and-more/#post-9324303
Here’s my comment again:
I have been working on an addon sort of plugin for Redirection that ties into when the post gets trashed or removed from the trash.
It creates an entry in the wp_redirections_item table in the database for the Redirection plugin with the error code of 410, but not only that, it furthermore checks if the page is seen as 404 by WordPress and then checks to see if the page is marked as a 410 in the redirections items and serves up a 410 response header as well as looks for a theme’s template 410.php page (or defaults to the standard index.php with basic text saying the post is gone).
It also works well with W3 Total Cache and WP Super Cache too.
However, it would be better if the original Redirections plugin had 410 Gone in the list of drop-down items, as well as would also trigger 410 management with the post slug change monitor switch that is built into the plugin — using my enhancements.
Should the author want to merge my code with his, I am more than willing to share the code.
- The topic ‘Handle/Mark as 410’ is closed to new replies.