404 vs 410
A 404 and a 410 both tell a visitor the page is not there. The difference is intent. A 404 says the page could not be found without saying whether that is permanent; a 410 says the page was removed on purpose and is never coming back.
That distinction is small to a person and meaningful to a search engine, which uses it to decide how quickly to forget a URL.
At a glance
| Aspect | 404 | 410 |
|---|---|---|
| Meaning | Not Found | Gone |
| Is the absence permanent? | Unstated | Yes, deliberate and permanent |
| How fast search engines drop it | Slower; they may keep checking | Faster; treated as final |
| Best for | Missing or mistyped URLs of uncertain status | Pages you deliberately deleted for good |
| Risk if misused | Valuable pages 404ing by accident lose rankings | A page you 410 by mistake is harder to recover |
When to use a 404
A 404 is the right answer for a URL that was never valid, a mistyped address, or a page whose future you are not sure about. Search engines expect 404s and handle them without penalty.
Watch for valuable pages returning 404 by accident, since those lose their rankings and link value. And make the 404 page itself useful, with navigation and a search box so lost visitors can recover.
When to use a 410
Return a 410 when you have deliberately removed a page and have no intention of bringing it back, such as a discontinued product, an expired listing, or thin pages deleted during a cleanup.
The 410 signals that the removal is final, so search engines drop the URL from the index faster than they would a 404. Avoid 410 on anything you might restore.
Frequently asked questions
- Is 410 better than 404 for deleted pages?
- When the deletion is permanent and intentional, yes. A 410 tells search engines the page is gone for good, so they drop it from the index faster. A 404 is more appropriate when the page's status is uncertain.
- Do I have to use 410 for removed content?
- No. A 404 is perfectly acceptable for missing pages and search engines handle it fine. A 410 just speeds up de-indexing for content you know will never return.
- Should I redirect a deleted page instead?
- Only if there is a relevant replacement, in which case use a 301. Redirecting unrelated deleted pages to the homepage looks like a soft 404. With no good destination, a 404 or 410 is the honest answer.
Full reference
Related comparisons
See what your own site returns
Check the real status code of many URLs at once to confirm missing pages return 404 or 410 as intended.