Blog / Technical SEO /

The HTTP status codes every site owner should recognise

An uptime alert says “503”. An audit tool lists 214 “4xx errors”. Search Console mentions “server error (5xx)”. Developers shrug at these. Everyone else is left wondering whether it’s an emergency.

You don’t need all of them. There are dozens, and most never turn up on a normal website. About ten codes cover nearly everything you’ll see, and they fall into four families: 2xx means it worked, 3xx means it moved, 4xx means the request found nothing (or wasn’t allowed), and 5xx means the server failed.

Here’s what each common one means, and what it does to search.

How status codes work

Every time a browser or Googlebot asks for a page, the server answers with a three-digit code first. Visitors rarely see it. Search engines do, and it decides what they do next: index the page, follow a redirect, drop the URL, or come back later.

You can check any URL’s status code with your browser’s developer tools (Network tab), an online header checker, a crawler like Screaming Frog, or Search Console’s URL Inspection tool.

2xx: it worked

200 OK

The page exists and was served normally. This is what you want for every page you’d like indexed.

One trap: a page that says “Product not found” but returns 200. Google calls this a soft 404: the server says success, the content says nothing’s here. It wastes crawling and the page may show up in Search Console’s indexing report with that label. Missing pages should return a real 404 or 410.

3xx: it moved

301 Moved Permanently

The page has a new address for good. Google passes signals to the new URL and, over time, shows that one instead. Use 301s for changed slugs, merged posts, domain changes and HTTP to HTTPS.

302 Found (temporary) and 307

The page is somewhere else for now. Google keeps the original URL in mind, although a 302 left in place for a long time tends to be treated like a 301. Use it for genuinely temporary moves: a page under maintenance, a short-lived campaign.

308 Permanent Redirect

The permanent cousin of 307. Search engines treat it like a 301.

304 Not Modified

The page hasn’t changed since the last visit, so the browser or crawler can use its cached copy. Good for efficiency. Nothing to fix.

The mistakes I see most with redirects (chains, loops, 302s used for permanent moves) are in redirects on WordPress: 301, 302 and the mistakes I keep seeing.

4xx: nothing here, or not for you

404 Not Found

The page doesn’t exist. That’s normal. Every site has 404s, from deleted posts and mistyped links, and Google has said many times that 404s don’t hurt the rest of your site.

They matter when:

  • an important page returns 404 by accident
  • internal links point to it, so visitors hit dead ends
  • other sites link to it, and you’re losing that link’s value

In those cases, fix the link or redirect the URL to the closest relevant page. Otherwise, leave the 404 alone. The finding-and-fixing routine is in how to find and fix broken links on a WordPress site.

410 Gone

Like 404, but deliberate: “this was here, and it’s gone for good.” Google tends to drop a 410 URL a little faster. Useful when you remove a batch of thin pages on purpose.

403 Forbidden

The server refuses access. Fine for admin areas. A problem when a security plugin, firewall or Cloudflare rule blocks Googlebot or real visitors from public pages. If Search Console reports 403s on pages you want indexed, look at your security settings first.

401 Unauthorized

Login required. Normal for members’ areas and staging sites. Not for anything you want in search.

429 Too Many Requests

The server is rate-limiting. If it happens to Googlebot, Google slows its crawling. Occasional 429s are fine; constant ones mean your hosting or firewall is too strict, or the server is struggling.

5xx: the server failed

These are the ones to take seriously.

500 Internal Server Error

Something broke on the server: often a plugin conflict, a bad code change or a PHP error. The page is down for everyone.

502 Bad Gateway and 504 Gateway Timeout

A server in the middle (a proxy, CDN or load balancer) couldn’t get a good answer from the server behind it. Common on overloaded hosting, or when Cloudflare can’t reach your origin. When I see one on a client site, I check hosting and Cloudflare before I blame the theme.

503 Service Unavailable

The server is temporarily unable to respond. This is also the right code for planned maintenance: it tells search engines to come back later rather than drop the page. Most maintenance-mode plugins send it.

For search, short bursts of 5xx errors are survivable, because Google retries. Keep serving errors and it crawls less, and can eventually drop URLs. That’s why I set up uptime monitoring, and why I look at Search Console’s crawl stats after a bad week. My monitoring setup is in the uptime monitoring setup I use for client sites.

Where to see status codes for your site

  • Search Console → Pages: groups URLs that weren’t indexed by reason, including “Not found (404)”, “Server error (5xx)” and “Page with redirect”. I explained each one in the Search Console page indexing report explained.
  • Search Console → Settings → Crawl stats: shows the share of Googlebot’s requests by response code.
  • A crawler: lists every URL on your site with its code, so you can find internal links to 404s and redirect chains.
  • Uptime alerts: tell you about 5xx errors as they happen, rather than days later.

A quick triage

  1. 5xx on important pages: today.
  2. Important pages returning 404 or 403 by accident: today.
  3. Internal links to 404s and redirect chains: this week.
  4. Soft 404s: this month.
  5. Old 404s nobody links to: leave them.

Open Crawl stats in Search Console and look at “By response”. If more than a sliver of requests are 5xx, you’ve found this week’s job.