While I was checking a clean-up on a finance news site I run, I found 624 published posts that were returning 410 Gone to Google and to anyone who opened them. They showed as published in WordPress and nothing I'd done had touched them. The cause was a list left behind by an earlier clean-up, sitting in a plugin I hadn't looked at.
How it showed up
I'd just removed a few thousand off-topic posts from the site, which I've written about in how I deleted 2,451 off-topic posts from a news site. Part of the checking afterwards was to request a sample of the posts I'd kept and confirm they still returned 200, and some of them came back 410.
My first thought was that my own work had caught them by mistake. It hadn't, because my clean-up wrote its rules to the site's redirect plugin, and that plugin had no rule for any of these addresses.
The site had a second plugin whose only job is to return 410 for a list of addresses, and its list held 6,099 entries from a clean-up done some time before. The newest content on that list was dated October 2024. A lot of the addresses on it belonged to posts that were published and live.
How big it was
I compared the old list against every published post on the site.
- 624 live, published posts were returning 410.
- 623 of them were posts my audit had marked as on-topic and worth keeping.
- 428 of them were from 2022, which was 71% of the 606 posts I was keeping from that year.
- 192 were from 2021, which was 47% of the 411 kept from that year.
- The last four were two from 2023, one from 2025 and one from 2026.
So, about 17% of the archive I'd decided to keep was invisible to Google, and had been for a long time, while every one of those posts looked healthy in the admin screen. Google's page on HTTP status codes is plain about what happens to a page in that state: “URLs that are already indexed and return a 4xx status code are removed from the index.”

Why nobody had noticed
There were three reasons, and I think they'd apply to most sites with a plugin like this.
- WordPress shows the post as published. The plugin answers the request before WordPress serves the post, so the admin screen has no idea.
- The redirect plugin shows no rule, which is where most people would look for a stray 410.
- The plugin matched the exact path. The same post returned 200 if you put any query string on the end of the address and 410 without one, so a check that added a cache-busting parameter passed every time.
The third one is the reason I now check the bare address. Adding a parameter to get past the cache is a habit, and on this site it was hiding the problem completely.
Restore them or delete them?
I had two options, which were to remove the old rules so the posts came back, or to delete the posts so that the 410 was true. I went with deleting them. As far as I could tell they'd been returning Gone since about 2022, so Google had dropped them long ago and they were already dead as far as search was concerned. All 623 went, along with 649 images, and I left the old list in place because it's now accurate.

I nearly got this wrong in a different way. The note I wrote for the job said “delete the ones that are 410 but live”, and when I read it back, it could mean delete the rules or delete the posts. Those are opposite actions and neither can be undone cleanly, so I stopped and wrote out which one I meant before anything ran.
The one from 2026 was outside the date range I'd set for the clean-up, so I left it alone, and it was still returning 410 when I checked on 4 September. When I checked again on 1 December, it redirected once to the same address without the trailing slash and loaded normally, so that one is no longer gone.
It wasn't the only kind
A week later, a full crawl of the same site turned up the same problem in another form. Four old redirect rules were sending live pages to dead ones, so a category page and a published post were each being 301 redirected to an address that returned 410. I deleted the four rules and both pages returned 200 again.
I also created a version of the trap myself. Seven draft posts had addresses that were returning 404, and I gave each of them a 410 rule so the crawl was clean. If any of those drafts is ever published, its rule has to be deleted first, or the live post will return Gone in exactly the way I'd just spent a week clearing up. I've written that down next to the rules.
What I got wrong
Once I knew about the old list, I blamed it for too much. One published post was still returning 410 after the clean-up, and I wrote it down as the old list overriding the site's redirects. When I traced it properly a day later, it was one of the four stale redirect rules sending the post to a dead address, and the list had nothing to do with it. Having found one cause, I'd stopped looking for a second.
What I'd do
In this order, because the first two steps tell you whether you have the problem at all, and they take minutes:
- List every plugin and server rule that can return a 410 or a redirect. There may be more than one, and the one you use every day may not be the one doing the damage.
- Request every published post at its bare address and record the status. No query string, and a normal browser user agent. Anything published that doesn't return 200 goes on a list.
- Group the list by year. Mine was concentrated in two years, which pointed straight at one old job.
- Decide between restoring and deleting, and write the decision as a full sentence. “Remove the rule so the post returns 200” or “delete the post so the 410 is true”.
- Fetch the target of every redirect as well. A live page redirected to a dead one is the same fault, and my first check didn't find it.
- Before publishing an old draft, search your rules for its address.
If you've had an old site cleaned up by someone else, I'd run step two this week. The technical SEO page has more on what Google does with each status code.
This post sits under technical SEO in the knowledge base, which is where I set out what Google says on it and what the published studies found. The rest of what happened on my own sites is on the blog.