WordPress.org

Ready to get started?Download WordPress

Plugin Directory

410 for WordPress

A plugin that sends HTTP 410 (Gone) responses to requests for articles that no longer exist on your blog.

Can I customise the 410 response message?

The default message is a simple plain text message that reads "Sorry, the page you requested has been permanently removed." This is because many people want to minimise the bandwidth that is used by error responses.

If you want to customise the message, just place a template file called 410.php in your theme folder, and the plugin will automatically use that instead. Take a look at your theme's 404.php file to see how the template needs to be structured. You can also hook into the wp_410_response action to trigger any specific events for queries resulting in a 410 response.

Will this plugin work if a caching/performance plugin is active ?

The plugin has been tested with the following caching plugins, and should work even if they are active:

  • W3 Total Cache
  • WP Super Cache

I have not tested it with other caching plugins, and there is a high chance that it will not work with many of them. Most of them will cache the response as if it is a 404 (page not found) response, and issue a 404 response header instead of a 410 response header.

Requires: 3.5 or higher
Compatible up to: 3.9.1
Last Updated: 2014-4-1
Downloads: 5,994

Ratings

4 stars
4.6 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1 100,2,2
100,1,1
100,1,1
50,2,1
100,1,1 100,2,2 100,1,1
100,1,1