Web

HTTP status code

An HTTP status code is the three-digit number a server sends with every page. It tells browsers and Google whether the page worked, moved, is missing or broke.

Also called status code, HTTP response code, server response code, 404 error, 500 error

SiiteWritten by SiiteUpdated September 30, 2026

An HTTP status code is the three-digit number a web server sends back with every page, image and file, before any of the content. It tells the browser, and every search engine crawler, whether the request worked, whether the page has moved, whether it does not exist or whether the server failed. Visitors rarely see it, but it decides what Google does with every address on your site.

In short

  • A three-digit reply sent with every request.
  • The first digit gives the family: success, moved, missing, broken.
  • Google reads it before it reads the page.
  • A wrong code can hide a page or keep a dead one alive.

The five families

The first digit says which kind of answer it is, and that is usually all you need to know.

  • 1xx, information. Interim messages between browser and server, which owners never need to think about.
  • 2xx, success. The page was found and sent. The normal answer is 200.
  • 3xx, redirection. The content is somewhere else, and the browser is sent on.
  • 4xx, client errors. Something is wrong with the request, most often an address that does not exist.
  • 5xx, server errors. The request was fine and the server failed to answer it.

A 4xx says the address is the problem. A 5xx says the website or its hosting is. Every file on a page gets its own code, so a page can return 200 while an image or a script on it returns 404.

The codes you will actually meet

A dozen or so codes cover almost everything a business website returns.

  • 200 OK. The page exists and was delivered.
  • 301 Moved Permanently. The page has a new address for good, which is the subject of 301 redirect.
  • 302 Found. A temporary move, used when the original address will come back.
  • 304 Not Modified. The browser already holds a current copy, part of how caching saves time.
  • 403 Forbidden. The server refuses the request, often because of permissions or a security rule.
  • 404 Not Found. Nothing lives at that address, covered under 404 page.
  • 410 Gone. The page was removed deliberately and is not coming back.
  • 429 Too Many Requests. The server is limiting how often it is asked.
  • 500 Internal Server Error. Something in the website’s code or setup failed.
  • 502 and 504. A server in the chain did not get a proper answer, or not in time.
  • 503 Service Unavailable. The site is down temporarily, for maintenance or overload.

What Google does with each

Search engines act on the code before they read a word of the page.

  • 200 means the page can be considered for the index.
  • 301 and 302 send the crawler on to the new address, and a permanent move eventually passes the old address’s standing along with it.
  • 404 and 410 tell Google the page is gone. It keeps checking for a while and then drops the address from the results.
  • 5xx and 429 tell Google the site is struggling. It slows down its crawling, and if the errors last, pages that were ranking can fall out of the results.

A short outage of an hour or so does little harm. Server errors that last for days, or that return every time Google visits a particular section, are the ones that cost rankings.

The rule behind all of it is that the code has to tell the truth. A missing product answered with a 200 and an empty page becomes a soft 404. A maintenance page answered with a 200 tells Google that the maintenance notice is now the content of the whole site.

Where things go wrong

The faults that cost small sites most are quiet ones.

  • Redirect chains. One redirect leading to another and then another after two or three redesigns, which slows visitors and wastes crawling.
  • Deleted pages with links pointing at them. Old addresses from adverts, posts and other sites now land on a 404 instead of the page that replaced them.
  • Security rules blocking crawlers. A firewall or plugin that answers Google with a 403 while visitors see the page normally.
  • Monitoring that only checks the homepage. The homepage can answer 200 while the checkout or the booking page returns 500 for hours.
  • Maintenance done wrong. A site switched to a holding page that returns 200, when a 503 would have told search engines to come back later.

Checking your own site

You do not need special software to see a status code.

  • In the browser. Open the developer tools, choose the network tab and reload the page. The status column shows the code for every file.
  • In Search Console. The page indexing report groups addresses by the problem Google met, and URL inspection shows what it received for one page. Google Search Console covers where to find both.
  • After any change. Check the main pages after a redesign, a platform move or a new security plugin, since that is when codes change without anybody noticing.

Most hosts also keep an error log listing which addresses returned a 5xx and when, which lets a developer find the cause without guessing.

Words you will hear

  • Status code. The three-digit number sent with every response.
  • Response header. The information a server sends before the content, where the code sits.
  • Redirect chain. Several redirects in a row before the final page.
  • Crawl error. A code that stopped a search engine reaching a page.
  • Retry-After. A header telling crawlers when to try again after a 503.
  • Server error. Any code in the 500 range.

Open the page indexing report in Search Console and read the reasons listed for pages that are not indexed. Each one is a status code, or the lack of the right one, telling you where to look first.

Questions we get

More about http status code

What is an HTTP status code?

A three-digit number a web server sends back with every request, before the page itself. It says whether the request worked, was redirected, failed because of the request, or failed because of the server.

What do the first digits mean?

Codes starting with 2 mean success, 3 means the page is elsewhere, 4 means a problem with the request such as a missing page, and 5 means the server itself failed. Codes starting with 1 are rare informational messages.

What is the difference between a 404 and a 500 error?

A 404 means the server worked but the page does not exist at that address. A 500 means the server tried and failed, so the fault is in the website or its hosting rather than in the address.

Do status codes affect SEO?

Yes. Google indexes pages that return 200, follows redirects, drops pages that keep returning 404 or 410, and slows its crawling when a site returns server errors. Errors that last for days can cost pages their place in the results.

Which code should a site return during maintenance?

A 503, which tells visitors and search engines the site is temporarily unavailable. Returning 200 with a maintenance message tells Google the maintenance page is the real content.

What does a 403 error mean?

Forbidden: the server understood the request and refuses to serve it. It usually points at file permissions, a security plugin or a firewall rule, and it is worth checking that it is not also blocking Google.

How do I check the status code of a page?

Open the browser's developer tools, choose the network tab and reload the page. The status column shows the code. Search Console's URL inspection and page indexing reports show what Google received.

Do it yourself

Guides on the same topic

Free step by step guides for owners doing the work themselves. No sign up and no email required.

Want this handled for you?

Let us take http status code off your desk.

The guides and these pages are yours to use for nothing. When you would rather have the work done properly than done by you, tell us what is already in place and we will put a proposal together.

or call +63 2 5323 8174