Title: Ultimate 410 Gone Status Code
Author: tiny web
Published: <strong>August 9, 2020</strong>
Last modified: August 15, 2024

---

Search plugins

![](https://ps.w.org/ultimate-410/assets/banner-772x250.png?rev=2850456)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/ultimate-410/assets/icon.svg?rev=2850456)

# Ultimate 410 Gone Status Code

 By [tiny web](https://profiles.wordpress.org/tinyweb/)

[Download](https://downloads.wordpress.org/plugin/ultimate-410.1.1.8.zip)

 * [Details](https://test.wordpress.org/plugins/ultimate-410/#description)
 * [Reviews](https://test.wordpress.org/plugins/ultimate-410/#reviews)
 * [Development](https://test.wordpress.org/plugins/ultimate-410/#developers)

 [Support](https://wordpress.org/support/plugin/ultimate-410/)

## Description

In accordance with the [HTTP Specification](https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.11),
the 410 status code in the response header indicates that the requested resource
is gone (permanently removed).

Features:

 * When deleting pages, posts, categories or tags from WordPress, the ultimate 410
   status code will ask if a 410 response code should be set for the deleted URL.
 * Add 410 URLs manually
 * Add 410 URL schemes via regex (regular expressions)
 * Bulk upload 410 URLs via csv-file.
    - works even if the csv-file contains a BOM

If you come across any bugs or have suggestions, please use the plugin support forum.

## Screenshots

 * [[
 * CSV Upload and table of already added 410 URLs.
 * [[
 * Manually add URL.
 * [[
 * Admin notice after page trashed.
 * [[
 * Admin notice page URL added as 410.

## FAQ

### Can I customize the 410 response message?

The default message is a simple plain text message that reads “410 – gone”. This
is because many people want to minimize the bandwidth that is used by error responses.

If you want to customize the message, just place a template file with the name `
410.php` in your theme folder, and the plugin will automatically use that instead.
Take a look at your themes’ `404.php` file to see how the template needs to be structured.

### 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
 * Cache Enabler
 * WP Rocket

We 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.

### How do you handle trailing slashes?

The “Add URL” and the “Upload” functions consider the exact URL `/page-to-be-deleted/`
to be different from `/page-to-be-deleted`

Specify the exact URL that your site uses (with or without the trailing slash). 
If you want both URLs (with and without the / at the end) to return 410 gone status
code, you can use regex like this `page-to-be-deleted/?` or add both URLs as simple
strings.

## Reviews

![](https://secure.gravatar.com/avatar/7b3e13f96cab0976fbb7d3fac570a1361a0a5d68659b775d61a52737cc7a831e?
s=60&d=retro&r=g)

### 󠀁[Works, well- but here is how to import .csv](https://wordpress.org/support/topic/works-well-but-here-is-how-to-import-csv/)󠁿

 [bjburn](https://profiles.wordpress.org/bjburn/) July 25, 2025

The plugin does what you expect from it. But the .csv import does not work that 
well.You need a workaround, where you save your URLs as plain text (e.g. with the
MacOs Text Edit Program), then you can upload the URLs and it works.

![](https://secure.gravatar.com/avatar/2e5d72f2e81d14cec5c042e2ba94682a442e7a923486f2d8f376bd805afc123c?
s=60&d=retro&r=g)

### 󠀁[Perfect plugin to do the job 💯 Best Support](https://wordpress.org/support/topic/perfect-plugin-to-do-the-job-%f0%9f%92%af-best-support/)󠁿

 [a11c](https://profiles.wordpress.org/a11c/) May 21, 2024 1 reply

👍👍 Plugin works without issue. I have it set up to automatically add deleted user-
generated content URLs to the 410 list to minimize crawlers attempting to repeatedly
recrawl a page that no longer exists and will never come back. Plugin support have
been top-tier. Prompt replies to an inquiry and updates to resolve compatibility.

![](https://secure.gravatar.com/avatar/e18997244236512a6a0c31baec738e2b3b119b4b38eb8c192f5f0668b742f900?
s=60&d=retro&r=g)

### 󠀁[Simple and Useful](https://wordpress.org/support/topic/simple-and-useful-391/)󠁿

 [yesorcayes](https://profiles.wordpress.org/yesorcayes/) January 15, 2024

Thanks. Simple and useful. One suggestion: What about auto 404 to 410 redirect? 
It will be super helpful!

![](https://secure.gravatar.com/avatar/4a3e0fb0014cd03d43ebdd924c7da5d295638bccc9d106e15676b4a4125ee69b?
s=60&d=retro&r=g)

### 󠀁[That´s what was needed!](https://wordpress.org/support/topic/thats-what-was-needed/)󠁿

 [sourcemyselfout](https://profiles.wordpress.org/sourcemyselfout/) December 11,
2022

Hey there, thanks for the great plugin. This is making the (seo) world better! Does
exactly what it´s meant to do and should be standard in every wordpress site. More
like that! Felix

![](https://secure.gravatar.com/avatar/87d5cc7372aab1b62a72652acca63d4605f192803d564819fd93c79d8670900b?
s=60&d=retro&r=g)

### 󠀁[There is no automatic option](https://wordpress.org/support/topic/there-is-no-automatic-option/)󠁿

 [dieppon](https://profiles.wordpress.org/dieppon/) October 27, 2022 2 replies

does not have the option to add url automatically when deleting content

![](https://secure.gravatar.com/avatar/0c54240fc5ef6c4d4d7dd5e61eccf26a899a3d3ecc1e94d52f5ffcb64d341315?
s=60&d=retro&r=g)

### 󠀁[A+](https://wordpress.org/support/topic/a-135/)󠁿

 [mattarios2](https://profiles.wordpress.org/mattarios2/) September 1, 2022

Excellent plugin, works perfectly right out of the box. When you delete a post, 
product, category, page, etc. the plugin prompts you with a message and a button
labelled “Click here” to add the URLs that have been deleted to the 410 plugin, 
wonderful. Easy 5 star rating. Keep up the great work!

 [ Read all 8 reviews ](https://wordpress.org/support/plugin/ultimate-410/reviews/)

## Contributors & Developers

“Ultimate 410 Gone Status Code” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ tiny web ](https://profiles.wordpress.org/tinyweb/)
 *   [ Hans Jung ](https://profiles.wordpress.org/7iebenschlaefer/)
 *   [ alpipego ](https://profiles.wordpress.org/alpipego/)

[Translate “Ultimate 410 Gone Status Code” into your language.](https://translate.wordpress.org/projects/wp-plugins/ultimate-410)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/ultimate-410/), check
out the [SVN repository](https://plugins.svn.wordpress.org/ultimate-410/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/ultimate-410/) by
[RSS](https://plugins.trac.wordpress.org/log/ultimate-410/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.8

    - Remove deprecated ini_set() calls with `auto_detect_line_endings`.

#### 1.1.7

 * Prevent handling an empty request (e.g. the root or only query parameters on 
   the root)
 * Revert a change from 1.1.5 that prevented WP Bakery from correctly rendering 
   contents on the 410 page.

#### 1.1.5

 * URL sanitization in PHP scripts has been enhanced to mitigate potential security
   risks associated with authenticated stored Cross-site Scripting (XSS).

#### 1.1.4

 * exit after custom 410-template got included

#### 1.1.3

 * fix issue with adding URLs after post got deleted

#### 1.1.2

 * fix version quirks

#### 1.1.1

 * remove undefined variable

#### 1.1.0

 * add bulk delete options
 * account for ASCII characters in URLs
 * fix PHP notices for passing variables by reference needlessly

#### 1.0.5

 * fix pagination issue affecting other WP_List_Tables
 * fix issue with deletion of regex that included backslashes

#### 1.0.4

 * fix WordPress database error: [Specified key was too long; max key length is 
   767 bytes]

## Meta

 *  Version **1.1.7**
 *  Last updated **2 years ago**
 *  Active installations **7,000+**
 *  WordPress version ** 5.1 or higher **
 *  Tested up to **6.6.5**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/ultimate-410/)
 * Tags
 * [410](https://test.wordpress.org/plugins/tags/410/)[http-status](https://test.wordpress.org/plugins/tags/http-status/)
 *  [Advanced View](https://test.wordpress.org/plugins/ultimate-410/advanced/)

## Ratings

 4.4 out of 5 stars.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/ultimate-410/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/ultimate-410/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/ultimate-410/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/ultimate-410/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/ultimate-410/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/ultimate-410/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ultimate-410/reviews/)

## Contributors

 *   [ tiny web ](https://profiles.wordpress.org/tinyweb/)
 *   [ Hans Jung ](https://profiles.wordpress.org/7iebenschlaefer/)
 *   [ alpipego ](https://profiles.wordpress.org/alpipego/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/ultimate-410/)