What is a soft 404?
A page that tells visitors nothing was found but returns status 200. Search engines flag these as errors because the status contradicts the content. Return a real 404 instead.
Nothing at this URL, or the server will not say whether there is. 404 belongs to the 4xx client error class and is defined in RFC 9110.
Loading the workbench.
Nothing at this URL, or the server will not say whether there is. The code is registered with IANA and defined in RFC 9110.
Client error: the request has a problem, so it cannot be fulfilled as sent. Every code from 400 to 499 shares that general meaning, so a client that does not recognise 404 must treat it like 400.
404 Not Found means the server has nothing at that URL, or will not admit that it does. Typical causes are typos, deleted pages, renamed routes, broken links from other sites, missing files after a deploy, and case-sensitive paths. Single-page applications often get 404s on refresh when the server is not configured to fall back to index.html. Search engines drop 404 URLs from their index over time, which is usually what you want for dead pages.
Check the exact URL, including case and trailing slash. If content moved, add a 301 or 308 from the old URL rather than leaving a 404. Serve a helpful error page that still returns status 404, not 200, to avoid soft 404s in search results. For content that is gone for good, 410 states that more strongly. A 404 is cacheable by default, so add Cache-Control if it may change soon.
HTTP/1.1 404 Not Found
Content-Type: text/html; charset=utf-8
Cache-Control: max-age=60404 is cacheable by default under RFC 9110: a browser or CDN may store it and reuse it even without explicit freshness headers, using a heuristic lifetime. Send Cache-Control to say exactly how long.
To inspect a real one without sending it anywhere:
curl -i.Browse every code on the HTTP status codes page.
Elsewhere in 2http: Header decoder, Cookie decoder, Cache-Control decoder, CORS checker, User-agent parser, and all eleven lanes on the 2http home page. Part of the 2suite.io privacy-first ecosystem.
A page that tells visitors nothing was found but returns status 200. Search engines flag these as errors because the status contradicts the content. Return a real 404 instead.
Both are fine. 410 signals the removal is intentional and permanent, and search engines may drop the URL slightly faster. 404 is the safer choice when unsure.
Yes. 404 is a client error response: the problem is in the request, so repeating it unchanged will usually fail again.
Yes. RFC 9110 lists 404 as heuristically cacheable, so caches may store it without explicit headers. Use Cache-Control to control how long.
You do not have to take our word that your headers stay here. Developer tools show every request a page makes, so you can watch this page work and confirm that nothing is sent. The check takes under a minute.
F12, or Cmd+Option+I on a Mac, and select the Network tab.Only two things can add a line to that log, and neither carries your headers. Submitting the feedback form sends the vote and comment you typed. Typing characters in a script the page has not displayed yet, such as Cyrillic or Greek, can make the browser fetch the matching font file, and that request names only the font.
2http never sends a request on your behalf: the request builder writes code for you to run, and the meta inspector reads source you paste instead of fetching a URL. The production site also sends a Content-Security-Policy header that tells your browser to refuse connections to anywhere except this site and the anonymous analytics endpoint.