Blog

Handling 404s for Removed Listings

Why do removed listings return 404

When a listing is removed from the API and deleted from WordPress, any previously indexed URLs for that listing will return a 404 (Not Found). This is the correct behaviour. The resource no longer exists. The question is how to handle it gracefully.

Should you redirect to the homepage or another listing?

No, you should not. Redirecting a genuinely gone resource to an unrelated page (like your homepage) using a 301 or 302 is considered a “soft 404” by Google and is actively penalized in search rankings. Google’s own guidance is clear on this:

What about 410 Gone?

A 410 response is semantically more accurate than a 404 for a listing that has been intentionally and permanently removed. It tells search engines: “this was here, it’s gone, stop crawling it.” Google will deindex a 410 faster than a 404. However, from a practical SEO standpoint, Google treats 404 and 410 nearly identically over time, so this is a minor optimization.

The right approach: a custom 404 page

The real solution is a well-designed 404 page that:

  1. Returns a proper 404 HTTP status code (not a redirect)
  2. Tells the visitor clearly that the listing is no longer available
  3. Offers helpful next steps – a search form, link to active listings, or a contact form

This is the recommended approach by Google → 404 guidance: “Make sure your 404 pages are informative and useful for your visitors, and serve a 404 HTTP status code.”

Additional References