Skip to content
ENID
HTTP & Security

HTTP Status Codes Explained: 200, 301, 404, 500 and More

What the most common HTTP status codes mean, which ones matter for SEO, and how to tell a client problem from a server problem.

Published 3 min read

How status codes are grouped

Every HTTP response starts with a three-digit status code. The first digit tells you the class.

ClassMeaning
1xxInformational. Rarely visible in normal browsing.
2xxSuccess. The request worked.
3xxRedirection. The client must look elsewhere.
4xxClient error. The request has a problem.
5xxServer error. The server failed to handle a valid request.

2xx: success

  • 200 OK: the normal answer for a page that loaded.
  • 201 Created: a new resource was created, common in APIs.
  • 204 No Content: success with nothing to return.

3xx: redirects

  • 301 Moved Permanently and 308 Permanent Redirect: the address has changed for good. Search engines transfer the old address to the new one. 308 keeps the HTTP method; 301 may turn POST into GET.
  • 302 Found, 307 Temporary Redirect: a temporary move. Search engines keep the original address.
  • 303 See Other: go and fetch a different resource with GET, often after a form submission.
  • 304 Not Modified: your cached copy is still valid. It is a saving, not an error.

4xx: client errors

  • 400 Bad Request: the server could not understand the request.
  • 401 Unauthorized: authentication is missing or wrong. Despite the name, it is about who you are.
  • 403 Forbidden: the server understood but refuses. Logging in will not help if you lack permission. It is also a common answer to blocked bots.
  • 404 Not Found: nothing exists at this address.
  • 410 Gone: the page existed and was removed on purpose. Search engines drop it faster than a 404.
  • 429 Too Many Requests: you were rate limited. Wait and retry.

5xx: server errors

  • 500 Internal Server Error: a generic failure, usually an application error. Check the server log.
  • 502 Bad Gateway: a proxy or gateway got an invalid answer from the server behind it.
  • 503 Service Unavailable: overloaded or in maintenance. A Retry-After header can say when to return.
  • 504 Gateway Timeout: the server behind the proxy took too long.

What matters for SEO

Important pages should return 200. Moved pages should use a single 301 or 308 to the final address. Removed pages should return 404 or 410, not 200 with an “empty” message (a soft 404). Temporary 503 responses during maintenance tell search engines to come back later instead of dropping your pages.

How to check a status code

Paste the URL in the HTTP Status & Redirect Checker to see the final code and every hop on the way. From a terminal, curl -I https://example.com/ prints the headers. For redirects, see what a redirect chain is.

FAQ

What is the difference between 401 and 403?

401 means “I do not know who you are”, so authenticate. 403 means “I know who you are, and the answer is no”.

Is a 404 bad for SEO?

Not by itself. Pages that no longer exist should return 404 or 410. Fix 404s only for URLs that still matter or have a replacement.

Why does my site show 200 for pages that do not exist?

That is a soft 404. Configure the server or application to return a real 404 status.

Related guides

Enter to open, Esc to close

Scroll to Top