HTTP Status Code 404: What Is the 404 "Not Found" Error?

If you're trying to figure out what a certain status code means and how to fix it, you're in the right place. In this tutorial, we'll do an overview of HTTP status code 404.

Status Code 404: The “Not Found” Error

A 404 response means the server could not find the requested URL. If someone mistypes an address, a helpful error page can give them a way back to your site. The page should still send a 404 status.

How 404 errors affect SEO

Google can remove a missing URL from search. An ordinary 404 on that URL leaves rankings for your other pages unaffected. Start by checking whether the missing address was supposed to work. Google’s explanation of 404 errors

  • The page still belongs at that address. If your booking page accidentally returns 404 after a release, restore it and verify a 200 response. Check links that customers use to reach it.
  • The page moved and has a close replacement. If /classes/weekend/ moved to /courses/weekend/, set a 301 redirect to the new page and update the internal links.
  • The page is gone with no replacement. If you retired a one-time event and have no equivalent page, keep a 404 or 410. Remove the old URL from the sitemap and fix internal links that still send visitors to it.

Use the Network tab or a status checker to verify what the original URL returns. A page can show “not found” to visitors while returning 200 to crawlers. This is one way to get a soft 404. Check the response and the visible page together. Evidence on 404 errors and rankings

The HTTP Protocol

Let’s talk about how the HTTP protocol works.

At its very foundation, the Internet is made up of two core things: clients and servers.

Any time you click on your browser, you are accessing the Internet through a web client. It may be Chrome, Firefox, Safari or Internet Explorer.

When you visit a website, you are making a request to a web server.

Facebook.com, ClickMinded.com, MarthaStewart.com/1525880/marthas-chocolate-chip-cookies, all of these sites have their own home address. It’s called an IP address.

Your home address might be 123 Main Street, New York, NY 10001, and Facebook’s address happens to be 66.220.144.0.

Whenever you visit a page on the web, you are requesting a whole bunch of documents from that website’s server. Maybe those documents are HTML, CSS, images, a PDF—whatever it is, the basic relationship stays the same: you (the client), make a request, and the website (the server) responds to that request.

The language you are using to make these requests is called the HTTP protocol. These protocols are really just standards that everyone on the web has agreed to. Just like English, Spanish and Chinese are all languages that have an understood protocol, HTTP is just a bunch of standards and an understood protocol.

There are a number of different web protocols out there – and you might be familiar with some of them:

  • DNS – Domain Name System
  • FTP – File Transfer Protocol
  • HTTP – Hypertext Transfer Protocol
  • IRC – Internet Relay Chat Protocol
  • SMTP – Simple Mail Transfer Protocol
  • SSL – Secure Sockets Layer

HTTP Status Codes

Now that we understand what the HTTP protocol is, let’s talk about HTTP status codes. Status codes let us know whether the HTTP request was a success, a failure, or something in between.

Let’s take a look at the five core status codes:

  1. 1xx block: informational requests
  2. 2xx block: successful requests
  3. 3xx block: redirects
  4. 4xx block: client errors
  5. 5xx block: server errors

Some status codes are more common than others. For example, when you’re doing digital marketing, you’ll often come across status code 200, status code 301 and status code 404 - but you may never see status code 206 or 307.

Let’s briefly go over each status code block and what they mean.

1xx Status Codes

These are informational requests. The server hasn’t fully completed the request yet and it’s still processing the information. You will not see these codes often. They include:

  • 100 – Continue
  • 101 – Switching protocol
  • 103 – Checkpoints

2xx Status Codes

These are successful requests, which means everything is okay. They include:

  • 200 – OK (you will see this one the most)
  • 201 – Created
  • 202 – Accepted
  • 205 – Reset Content
  • 206 – Partial Content

3xx Status Codes

These are redirects. These are shown when you request an address, but you are sent somewhere else. These can be good or bad. They include:

  • 301 – Moved Permanently
  • 302 – Found
  • 304 – Not Modified
  • 305 – Use Proxy
  • 307 – Temporary Redirect

4xx Status Codes

These are client errors. That means something went wrong with the request (client/user) and not the response (website/server). They include:

  • 400 – Bad Request
  • 401 – Unauthorized
  • 403 – Forbidden
  • 404 – Not Found
  • 408 – Request Timeout
  • 410 – Gone
  • 429 – Too Many Requests

5xx Status Codes

These are server errors. That means something went wrong with the response (website/server) and not the request (client/user), which disables access to the requested page. They include:

  • 500 – Internal Server Error
  • 502 – Bad Gateway
  • 503 – Service Unavailable
  • 504 – Gateway Timeout

Use the HTTP status codes guide as the hub for the full cluster, or jump to a specific code: