Customer Impact

SEO

HTTP Status Codes for SEO: 200, 301, 302, 404, 410 and 5xx

Copy for AI

An HTTP status code is the three-digit answer your server gives every request.

It says in an instant whether a page exists, has moved or is broken. Visitors never see it, but for search engines it’s the core language your site speaks.

The verdict: for HTTP status codes and SEO, three choices matter most: 301 versus 302, 404 versus 410, and keeping 5xx errors rare.

Get those right and good pages stay in the index. And link equity doesn’t leak away.

Below: the SEO signal each common status code sends, and when 410 makes sense instead of 404.

What is an HTTP status code?

It’s the first thing your server sends back on every request, before any content.

The five ranges

The first digit tells you the type of answer:

  • 2xx (success): the page was found and delivered.
  • 3xx (redirect): the page lives somewhere else, go there.
  • 4xx (client error): the page doesn’t exist or may not be viewed.
  • 5xx (server error): something went wrong on your side.

(The 1xx range exists too, but it’s informational and plays no role in SEO.)

Here’s the whole map in one picture:

HTTP STATUS CODES AND SEO What Google does with each code 200 OK Content goes on to indexing may be indexed, not guaranteed 301 / 308 Strong signal: the target is canonical Google shows the new URL 302 / 307 Weak signal: the move is temporary Google keeps showing the old URL 404 / 410 Treated the same: removed from the index crawling of that URL slows over time 5xx / 429 Crawling slows down for the whole site persistent errors drop out of the index Based on Google’s documentation on HTTP status codes, checked November 2026.

Why it matters for SEO

For SEO, this isn’t a technical detail.

Google’s own guide to HTTP status codes spells out how its crawlers treat each range. It uses these codes to decide which URLs it indexes, which it drops and how it passes link equity.

The risk: a wrong code on a sales page can make it invisible in search, while you notice nothing on screen.

That’s why status codes belong in every serious technical check. It’s one of the building blocks you’ll recognise from what is SEO.

Check them first.

200: all good

A 200 (OK) is the code you want for every page that has to make money.

It means the page exists, loads correctly and may be indexed. Google passes the content on to indexing, though it notes that indexing “isn’t guaranteed”.

If Googlebot requests your product page and gets a 200, the technical condition for ranking is met.

The soft 404 trap

The pitfall lies in pages that look like an error but still return a 200.

For example, a page that says “this page no longer exists”, or an empty category page, served with a 200. That’s a soft 404.

Google gets the signal that a valid page is there, while there’s nothing of substance. The result: wasted crawl budget and an index full of empty pages.

Search Console reports these as soft 404 errors. Our guide to fixing a soft 404 walks through the causes.

Rule of thumb: a real page returns a 200.

A disappeared page returns a real 404 or 410.

301 and 302: the difference that counts

The 3xx range handles redirects. This is where you make the most SEO gains, or do the most damage.

Two codes do most of the work.

301: moved permanently

A 301 tells Google the page has moved for good.

Google uses it as a strong signal that the target should be canonical. It shows the new URL in search results, so the signals from the old URL consolidate on the new one.

Use it after a website migration, for a new URL structure or when you merge two pages.

For example, /services/seo-audit/ merged into /services/seo/ gets a 301.

302: moved temporarily

A 302 says the move is a passing thing. Such as a seasonal page or a short A/B test.

Google treats it as only a weak signal. It keeps showing the source URL in search results and doesn’t use the redirect to make the target canonical.

307 and 308

Two newer codes behave the same way for Google:

  • 308 is the permanent twin of 301: a strong signal.
  • 307 is the temporary twin of 302: a weak signal.

The classic mistake

Using a 302 where a 301 belongs.

Move a page permanently but set a 302, and your old URL keeps showing in the results. The new one struggles to become the canonical version.

Ask one question: will the old URL ever come back? If not, it’s a 301.

Watch out for redirect chains

If URL A points to B and B to C, you get a chain.

It’s slow. It also wastes crawl budget. Google says its crawlers follow up to 10 redirect hops by default, but every hop is a delay you don’t need.

How to track chains down and flatten them is covered in fixing redirect chains. Planning many redirects at once? Use a 301 redirect plan.

404 and 410: when do you choose which?

Use 410 for a page you’ve removed for good, and 404 when you’re not sure.

This is where many people get stuck. Both codes say “this page isn’t here”, but the message differs.

What each code says

  • 404 (Not Found): the page wasn’t found. That can be temporary (a typo, a page coming back) or permanent.
  • 410 (Gone): the page was deliberately and permanently removed. That’s the more explicit message.

MDN’s definition of 410 puts it plainly: if you don’t know whether the condition is temporary or permanent, use a 404.

What Google does with both

For Google, the difference is small.

Its documentation states that all 4xx errors except 429 are treated the same. Indexed URLs that return a 4xx are removed from the index, whether it’s a 404 or a 410. Google also gradually crawls those URLs less often.

The practical rule

Use 410 when you delete a page for good and there’s no logical replacement.

Its main value is that it documents your intent for other crawlers and your own team. Think of:

  • an expired campaign page
  • a product you’ll never carry again
  • thin content you’re cleaning up

Expect the page to return, or not sure? Then a 404 is the safer choice.

Redirect before you delete

An important nuance: if the disappeared page has links or traffic, a 404 or 410 is rarely the best move.

A 301 to the most relevant existing page preserves that value. You only delete when there’s really no worthy alternative.

Whether a URL truly vanishes from search is something you check via indexing your website and the Search Console indexing report.

Watch out: a 404 report full of old URLs isn’t a problem in itself.

Check whether any of them still get links or traffic. Those deserve a 301.

5xx: the server that stumbles

A 5xx code means something went wrong on your side.

The best known are 500 (internal server error) and 503 (service temporarily unavailable). Google treats 502 the same way.

Why 5xx is the most dangerous range

These codes hit pages that normally rank perfectly well.

When Googlebot runs into 5xx (or 429) errors, it temporarily slows down the crawl to spare your server. URLs that keep returning a server error are removed from the index.

Once your server returns 200s again, Google gradually raises the crawl rate.

Where to watch it

Search Console’s Crawl Stats report shows the health of your host:

Google Search Console Crawl Stats report for customerimpact.be with 13.8K total crawl requests, 163 ms average response time and both hosts marked No problems Crawl Stats in our own Search Console for customerimpact.be, October 2026: 13.8K crawl requests, 163 ms average response time, no host problems.

“No problems” next to each host is what you want to see. A server error spike shows up there first.

Our guide to Crawl Stats in Search Console explains every chart in that report.

Maintenance versus structural errors

An incidental 503 during maintenance is no disaster. Even less so if you send a header that says “come back later”.

Structural 5xx errors are a disaster.

They point to an unstable site. Fix them first.

Which status code should you use when?

Pick the code that matches what really happened to the page.

SituationCodeWhat Google does
Page is live and complete200Passes it on to indexing
Page moved for good301 (or 308)Shows the new URL, consolidates signals
Page moved for a while302 (or 307)Keeps showing the old URL
Page removed, may return404Removes it from the index
Page removed for good, no replacement410Removes it from the index
Server down for maintenance503Slows crawling, retries later

Rule of thumb: if a removed page had links or traffic, a 301 beats both 404 and 410.

Are status codes a goal in themselves?

No: status codes are a means, not an end.

You can chase a perfectly clean status code report forever. That’s not what it’s about.

A handful of 404s on pages nobody visits isn’t worth losing sleep over. A wrong 302 on your most important service page is.

Our rule of thumb: we steer on customers and revenue, not on a dashboard full of green ticks.

Part of a broader audit

At Customer Impact, checking status codes is part of a broader technical website audit.

There, SEO is the acquisition layer of one growth engine: optimised for pipeline. It’s built so you not only rank in Google but also get cited by AI search engines like ChatGPT and Perplexity.

Want an experienced SEO specialist to review your site for wrong codes and leaking link equity?

We’re happy to help.

Have your status codes checked

Wrong HTTP status codes are insidious: you notice nothing until a page quietly slips out of the index.

We track them down and set the right 301s. We choose deliberately between 404 and 410 and point the freed-up value at the pages that bring you customers.

No vanity numbers, just technical work that delivers results.

Contact us

Free website scan

Enter your website and get an automatic scan within minutes, with concrete technical and SEO improvements. No sales pitch.

Where should we send your report?

We only use your details for your scan. No spam, unsubscribe anytime.