A WordPress plugin that ensures HTTP 410 (Gone) status code are returned for deleted posts, pages, and CPT, improving SEO and user experience.
| Author: | iTRON (profile at wordpress.org) |
| WordPress version required: | 5.6 |
| WordPress version tested: | 6.9.4 |
| Plugin version: | 0.5 |
| Added to WordPress repository: | 03-04-2026 |
| Last updated: | 03-04-2026 |
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | https://github.com/hokoo/wp-410 |
| Total downloads: | 0 |
![]() Click to start download |
|
When content is deleted in WordPress, the default behavior is to return a 404 (Not Found) status code. However, according to HTTP specifications, a 410 (Gone) status code is more appropriate for resources that have been permanently deleted and will not return.
This plugin automatically returns a 410 status code for:
– Deleted posts
– Deleted pages
– Deleted custom post types
– Deleted users
– Deleted media attachments
Once activated, the plugin works automatically. When a visitor tries to access a URL that previously contained content but has been deleted or moved to trash, they will receive:
- A 410 HTTP status code in the response headers
- The standard WordPress 404 page template (customizable via your theme)
Related Resources
ChangeLog
