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

Every time your browser requests a web page, the server answers with a three-digit number before sending any content. You rarely see it unless something goes wrong – "404 Not Found" or "500 Internal Server Error". For website owners, developers and SEOs, these numbers are a quick health check. Here are the HTTP status codes explained in plain English, with what each one means for visitors and search engines.

Screenshot of the HTTP Status Code Checker on Assen Tools
The HTTP Status Code Checker in use. Open the HTTP Status Code Checker – free, no sign-up.

The five families

The first digit tells you the category:

  • 1xx – Informational: the request was received and is continuing. Rarely seen.
  • 2xx – Success: everything worked.
  • 3xx – Redirection: the content is somewhere else.
  • 4xx – Client error: the request was wrong – for example, the page does not exist.
  • 5xx – Server error: the server failed to handle a valid request.

The success codes

  • 200 OK – the normal, healthy response. This is what every important page should return.
  • 201 Created – used by APIs when something new was created, such as an order.
  • 204 No Content – success, but there is nothing to send back.

Redirects

  • 301 Moved Permanently – the page has a new permanent address. Search engines transfer ranking signals to the new URL. Use it when you change a URL or move domains. Read what is a 301 redirect for details.
  • 302 Found – a temporary redirect. Search engines keep the original URL indexed.
  • 304 Not Modified – the browser's cached copy is still valid, so nothing needs downloading. Good for speed.
  • 307 and 308 – modern temporary and permanent redirects that keep the request method unchanged.

Avoid redirect chains (A → B → C). Each hop slows the page and wastes crawl budget.

Client errors (4xx)

  • 400 Bad Request – the request was malformed.
  • 401 Unauthorized – you need to log in.
  • 403 Forbidden – you are not allowed to access this, even if logged in. Often caused by file permissions or security rules.
  • 404 Not Found – the page does not exist. A few 404s are normal; lots of 404s on pages that used to exist mean you should add 301 redirects.
  • 410 Gone – the page was removed deliberately and will not return.
  • 429 Too Many Requests – rate limiting; the client is sending requests too fast.

Server errors (5xx)

  • 500 Internal Server Error – a generic crash, often a bug in code or a broken configuration. Check your server error logs.
  • 502 Bad Gateway – a proxy or CDN could not get a valid response from the server behind it.
  • 503 Service Unavailable – the server is overloaded or in maintenance. Short 503s are fine; long ones can hurt rankings.
  • 504 Gateway Timeout – the server took too long to respond.

Why status codes matter for SEO

  • Pages must return 200 to be indexed.
  • Moved pages should return a 301 to the new URL so you keep their rankings.
  • Persistent 5xx errors make search engines crawl less and can drop pages from results.
  • "Soft 404s" – error pages that wrongly return 200 – confuse search engines.

Google Search Console's Pages report lists URLs with errors; check it monthly.

Check any URL's response code

The free HTTP Status Code Checker shows the exact response code for any URL, follows every redirect in the chain and displays the response headers. Use it after moving pages, changing domains or setting up HTTPS.

Related tools:

Common status codes at a glance

Code Name What it means What to do
200 OK The page loaded normally. Nothing – this is what you want.
201 Created A form or API request created something new. Nothing.
204 No Content The request worked but there is nothing to show. Nothing.
301 Moved Permanently The page has a new permanent address. Update links to the new URL; keep the redirect.
302 Found A temporary redirect. Use 301 instead if the move is permanent.
304 Not Modified The browser’s saved copy is still current. Nothing – it speeds pages up.
307 Temporary Redirect Temporary redirect that keeps the request method. Nothing, if the move really is temporary.
308 Permanent Redirect Permanent redirect that keeps the request method. Treat like a 301.
400 Bad Request The request was malformed. Check the link or form data.
401 Unauthorized You need to log in. Sign in, or check the login details.
403 Forbidden The server refuses access. Check permissions, firewall and security rules.
404 Not Found No page at that address. Fix the link or add a 301 to the right page.
405 Method Not Allowed Wrong request type, such as GET instead of POST. A developer fix.
408 Request Timeout The server waited too long for the request. Try again; check the connection.
410 Gone The page was removed on purpose. Nothing, if it was meant to go.
429 Too Many Requests Rate limit reached. Slow down, or wait and retry.
500 Internal Server Error Something broke on the server. Check the server error log.
502 Bad Gateway A proxy or CDN got a bad answer from the server. Check the server is running.
503 Service Unavailable Server overloaded or in maintenance. Usually temporary; check hosting limits.
504 Gateway Timeout The server took too long to answer the proxy. Look for slow pages or scripts.

The 301 status code in detail

A 301 status code tells browsers and search engines that a page has moved for good. The server sends the code with a Location header giving the new address, and the browser loads it automatically. Search engines replace the old URL with the new one in their results and pass on its ranking signals.

To check a redirect is working, enter the old URL in the HTTP Status Code Checker. You should see one hop – 301 – ending at the new page with 200 OK. More than one hop is a redirect chain, which slows the page; point the first URL straight at the final one. For the difference between 301, 302, 307 and 308, and how to set them up, read what is a 301 redirect.

Frequently asked questions

Is a 4xx status code bad for SEO? A few 404s are normal. Pages that return 4xx are dropped from search results, so fix broken internal links and redirect removed pages that still get visits or links.

What does "status code was -1" mean? It usually means no HTTP response arrived at all – the connection failed, timed out or was blocked – so there was no real status code to report.

What is a non-200 status code? Any response other than 200 OK, such as a redirect (3xx), a client error (4xx) or a server error (5xx). Monitoring tools often alert on these.

Summary

With HTTP status codes explained, the pattern is simple: 2xx means success, 3xx means redirect, 4xx means the request or page is wrong, and 5xx means the server failed. Keep important pages at 200, use 301s for moved content and fix 5xx errors quickly. Check any page with the free HTTP Status Code Checker.

Jonathan Nwachukwu, founder of Assen Tools

Written by

Jonathan Nwachukwu · Founder & developer

Jonathan is a freelance web developer and web development teacher who builds Laravel, WordPress and WooCommerce sites for clients. He built AssenTools to put the everyday file, photo and calculation jobs he kept doing for clients and students into one free, private toolbox, and he maintains every tool and guide on the site.