404 Not Found: what it means and what to do

404 is the web's “no such page at this address.” The server is working fine — it simply has nothing at that URL. The link you followed is outdated, the address was typed with an error, or the page moved without a forwarding sign.

Finding what you actually wanted

  1. Check the address for typos — one wrong character is enough. Trailing additions from copied links (extra characters after the real address) are common.
  2. Walk up one level: delete the last segment of the address and load the parent page, then navigate down from there.
  3. Search the site — use its own search box, or a search engine with the site name plus the topic: site:example.com topic.
  4. Try the Wayback Machine (web.archive.org): paste the address and read an archived copy — the standard rescue for pages that have genuinely vanished.
  5. If the link came from someone, tell them. Broken links strand everyone after you too.

If it's your site

  1. Find who's linking to the dead URL — Search Console's coverage report and your server logs list requested-but-missing addresses and their referrers.
  2. Redirect, don't just recreate. A 301 redirect from the old address to the page's new home preserves visitors and search rankings alike.
  3. Make the 404 page useful: a search box, links to main sections, and a friendly tone turn a dead end into a detour. (And keep the HTTP status a real 404 — serving the homepage with a 200 for missing pages confuses search engines.)
A 404 is not an emergency and not a hack. It's the most normal error on the web — addresses rot as sites reorganise. It only signals a problem when pages that should exist start returning it (a bad deploy, a deleted folder) — then it's the canary, and the deploy history is the answer.

404 vs its neighbours

404 = not here (and maybe never was, at this address). 410 = deliberately removed forever. 403 = it exists but you're not allowed. 500 = it exists but the server broke producing it. The distinctions matter because each has a different fix — and a different owner.

Common questions

Why do sites show funny custom 404 pages? Because a helpful, on-brand dead end keeps visitors on the site. The joke is decoration; the search box and links are the functional part.

Does getting a 404 mean the whole website is down? No — the opposite. A 404 proves the server is up and answering; only that one address is empty.

Related errors

500 Internal Server Error · 502 Bad Gateway · Failed to push some refs (Git)