SEO

HTTP Status Codes Guide: Responses, Redirects, Errors and SEO

Understand important HTTP response codes, redirect choices, retry behavior, caching context, API implications and crawler signals for technical SEO.

By ToolMint Editorial Team

ToolMint's editorial team creates practical SEO, web, and technical guides for marketers, developers, and website owners.

9 min read Published Jul 06, 2026 Updated Jul 13, 2026

Quick answer

In brief

HTTP status codes are three-digit server responses that tell browsers, APIs and crawlers what happened to a request. Use 200 for successful indexable pages, 301 or 308 for permanent moves, 302 or 307 for temporary moves, 404 or 410 for missing content, and 503 with Retry-After for temporary maintenance.

Key facts

Best for
Choosing and auditing HTTP responses for pages, redirects, APIs and crawler access.
Main standard or format
HTTP response status codes defined by HTTP Semantics and related caching rules.
Supported inputs or outputs
2xx success, 3xx redirects, 4xx client errors and 5xx server errors.
Processing method
Inspect server responses, redirect chains, headers, page content and sitemap eligibility together.
Key limitation
A status code explains transport behavior; it cannot prove content quality or indexing eligibility by itself.
Related tool
HTTP Header Checker, Redirect Checker and Canonical URL Generator.
Last updated
Jul 13, 2026

Limitations

  • Search engines may treat some responses differently over time depending on crawl history, content, redirects and canonical signals.
  • Frameworks, CDNs and edge middleware can override origin responses, so production responses must be tested directly.
  • Application-level error messages inside a 200 page are not the same as HTTP-level status codes.
  • This guide explains common technical SEO behavior and does not replace reviewing your own server, CDN or API documentation.

HTTP Status Codes Guide: Responses, Redirects, Errors and SEO

HTTP status codes are standardized server responses that tell browsers, APIs and search crawlers what happened to a request. The code determines whether a page loaded, moved, failed, needs authentication, should be retried, or no longer exists. For SEO, status codes must match the actual page state.

This guide explains the codes that matter most for technical SEO, including success responses, permanent and temporary redirects, method-preserving redirects, soft 404s, retry behavior, caching context and how to test responses before they affect crawl or indexing signals.


Quick Answer

HTTP status codes are three-digit responses returned by a web server.

Examples include:

  • 200 — Page loaded successfully
  • 301 — Permanently moved
  • 302 — Temporarily moved
  • 404 — Page not found
  • 410 — Page permanently removed
  • 500 — Server error

Search engines use these responses to determine how they should crawl, index, refresh, redirect, retry, cache, or remove pages.


What Are HTTP Status Codes?

HTTP status codes are standardized responses that tell browsers and search engines what happened when a page was requested.

Every URL returns one.

For example:

Browser requests page
↓
Server processes request
↓
Server returns HTTP status code
↓
Browser or crawler reacts

If the page exists, the server may return 200 OK.

If the page has moved, the server may return 301 or 302.

If the page does not exist, the server may return 404.

If the server fails, it may return 500.

These responses guide both visitors and search engines.


Why HTTP Status Codes Matter for SEO

HTTP status codes are important because they directly affect crawlability and indexability.

Search engines use status codes to understand:

  • Whether a page exists
  • Whether a URL has moved
  • Whether a missing page should be removed
  • Whether a redirect is temporary or permanent
  • Whether the server is stable
  • Whether crawlers should retry later
  • Whether a page is eligible for indexing

Incorrect status codes can cause search engines to misunderstand your website.

For example, if a missing page returns 200 OK, Google may treat it as a soft 404. If a permanent move uses 302 instead of 301, search engines may not treat the destination as the long-term replacement.


HTTP Status Code Categories

HTTP responses are grouped into five categories.

Class Meaning Practical SEO or API use
1xx Informational Rare in SEO audits; used while a request is still being processed.
2xx Success Use for successful pages and API operations, including 200, 201, 204 and 206.
3xx Redirection Use to move users and crawlers to another URL, with permanence and method behavior chosen carefully.
4xx Client error Use when the request cannot be fulfilled because of the requested URL, permissions, size, timing or conflict.
5xx Server error Use when the server or upstream service cannot complete a valid request.

1xx — Informational

The request has been received and processing continues.

These are rarely important for standard SEO audits.


2xx — Success

The request worked correctly.

Common example:

  • 200 OK

This is the ideal response for important indexable pages.


3xx — Redirection

The requested URL has moved or requires another request.

Common examples:

  • 301 Moved Permanently
  • 302 Found
  • 307 Temporary Redirect
  • 308 Permanent Redirect

These responses are common during migrations, HTTPS setup, domain changes, and URL updates.


4xx — Client Errors

The requested page cannot be found or accessed.

Common examples:

  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found
  • 410 Gone

These responses require review because they can affect user experience and crawl efficiency.


5xx — Server Errors

The server failed to complete the request.

Common examples:

  • 500 Internal Server Error
  • 502 Bad Gateway
  • 503 Service Unavailable
  • 504 Gateway Timeout

Persistent server errors are serious because search engines may reduce crawling or delay indexing.


Most Important HTTP Status Codes for SEO

200 OK

Meaning:

The page exists and loaded successfully.

SEO impact:

  • Ideal for important content pages
  • Allows crawling
  • Allows indexing if no other directives block it
  • Should be used for live, valuable pages

Example:

https://example.com/page
Status: 200 OK

Important pages should return 200 OK.

201 Created

Meaning:

The request succeeded and created a new resource.

API impact:

  • Common after form submissions, content creation or account actions
  • Usually paired with a Location header in API designs
  • Not a normal response for a public content page

204 No Content

Meaning:

The request succeeded, but there is no response body.

API impact:

  • Useful for successful delete, save or preference update actions
  • Not useful for indexable HTML pages because there is no content to crawl

206 Partial Content

Meaning:

The server returned only part of a resource.

Practical impact:

  • Common for media ranges, downloads and resumable requests
  • Usually not part of normal page indexing decisions

301 Moved Permanently

Meaning:

The page has permanently moved to a new URL.

SEO impact:

  • Best for permanent URL changes
  • Helps consolidate ranking signals
  • Useful for website migrations
  • Useful for HTTP to HTTPS redirects
  • Useful for old URLs that have new replacements

Example:

https://example.com/old-page
↓ 301
https://example.com/new-page

Use 301 when the old URL should no longer be used.


302 Found

Meaning:

The page has moved temporarily.

SEO impact:

  • Best for temporary moves
  • Useful for short-term campaigns
  • Useful for testing
  • Not ideal for permanent migrations

Example:

https://example.com/page
↓ 302
https://example.com/temporary-page

Do not use 302 for permanent URL changes.

For migration, campaign and testing examples, see the guide to choosing the correct redirect.

303 See Other

Meaning:

The server tells the client to retrieve another URL with a GET request.

Practical impact:

  • Useful after form submissions where the result page should be fetched separately
  • Different from 307 and 308 because it intentionally changes the follow-up method to GET

307 Temporary Redirect

Meaning:

A temporary redirect that preserves the request method.

SEO impact:

  • Similar temporary intent to 302
  • More specific behavior for modern HTTP methods
  • Common in some frameworks and server setups

Use it only when the move is temporary.


308 Permanent Redirect

Meaning:

A permanent redirect that preserves the request method.

SEO impact:

  • Similar permanent intent to 301
  • Common in some modern server configurations
  • Suitable for permanent moves when method preservation matters

For most SEO use cases, 301 and 308 both indicate permanence.


404 Not Found

Meaning:

The requested URL does not exist.

SEO impact:

  • Normal for deleted or invalid pages
  • Should not be used for important live pages
  • Large numbers of unnecessary 404s can waste crawl resources
  • Broken internal links to 404 pages should be fixed

A 404 is not automatically bad. It is a normal response when a page truly does not exist.

400 Bad Request

Meaning:

The server cannot process the request because the request is malformed.

API impact:

  • Common for invalid parameters, invalid JSON or malformed requests
  • Should not be used as a generic replacement for missing pages

401 Unauthorized

Meaning:

Authentication is required or failed.

Practical impact:

  • Appropriate for protected resources that need login credentials
  • Public pages meant for search should not unexpectedly return 401

405 Method Not Allowed

Meaning:

The URL exists, but the request method is not allowed.

API impact:

  • Useful when a route supports GET but not POST, or the reverse
  • Should usually include an Allow header listing supported methods

408 Request Timeout

Meaning:

The server timed out waiting for the request.

Practical impact:

  • Often points to network or client timing problems
  • Persistent timeouts on important URLs should be investigated

409 Conflict

Meaning:

The request conflicts with the current state of the resource.

API impact:

  • Common for version conflicts, duplicate records or concurrent edits
  • Usually an application/API concern rather than a normal SEO response

413 Content Too Large

Meaning:

The request body is larger than the server is willing to process.

Practical impact:

  • Common for uploads or large API requests
  • Public HTML pages should not normally return this response

429 Too Many Requests

Meaning:

The client sent too many requests in a given period.

Practical impact:

  • Common with rate limits and bot protection
  • A Retry-After header can communicate when a client should try again

410 Gone

Meaning:

The page has been intentionally and permanently removed.

SEO impact:

  • Useful when content has been permanently deleted
  • Can help search engines understand removal intent
  • Often used when there is no relevant replacement page

Use 410 when a page is gone and should not return.


403 Forbidden

Meaning:

The server understood the request but refuses access.

SEO impact:

  • Can block crawlers from accessing important content
  • Should be reviewed if important pages return 403
  • Common for protected admin areas or restricted content

A 403 is fine for private areas, but not for pages you want indexed.


500 Internal Server Error

Meaning:

The server encountered an unexpected problem.

SEO impact:

  • Serious technical SEO issue
  • Prevents users and crawlers from accessing the page
  • Persistent errors can reduce crawling and visibility
  • Should be fixed quickly

Important pages should not return 500 errors.


503 Service Unavailable

Meaning:

The server is temporarily unavailable.

SEO impact:

  • Appropriate for short maintenance windows
  • Tells crawlers to come back later
  • Should not persist for long periods

Use 503 for temporary downtime rather than serving broken pages with 200 OK.

502 Bad Gateway

Meaning:

A gateway or proxy received an invalid response from an upstream server.

Practical impact:

  • Common with CDN, reverse proxy or upstream application problems
  • Persistent 502 responses can prevent crawling and should be fixed quickly

504 Gateway Timeout

Meaning:

A gateway or proxy did not receive a timely upstream response.

Practical impact:

  • Often indicates slow backend services or overloaded infrastructure
  • Important pages should not regularly return 504

Redirect Method Preservation

Redirect permanence and request-method behavior are different decisions.

Code Move type Method behavior Typical use
301 Permanent Some clients may change non-GET requests to GET Permanent URL migrations and canonicalization
302 Temporary Some clients may change non-GET requests to GET Short-term campaigns, tests or temporary routing
303 Temporary result Follow-up request should use GET Post-submit confirmation or separate result pages
307 Temporary Preserves the original method and body Temporary redirects for APIs or non-GET requests
308 Permanent Preserves the original method and body Permanent redirects where method preservation matters

For normal web pages, 301 and 302 are common. For APIs, forms and non-GET requests, 307 and 308 can be safer because they preserve the original method.

Retry and Caching Signals

Status codes work with headers. A 503 Service Unavailable or 429 Too Many Requests response can include Retry-After to tell clients when to try again. Caching headers can also affect how long browsers, CDNs or intermediaries reuse a response.

When auditing a URL, do not check the status code alone. Use ToolMint's HTTP Header Checker to inspect response headers, and use the Redirect Checker to verify redirect chains, loops and final destinations.


HTTP Status Codes and Indexing

Status codes can affect whether a page remains in the search index.

General rules:

Status Code Typical Indexing Impact
200 Page can be indexed
301 Destination may replace old URL
302 Original URL may remain preferred
404 URL may be removed over time
410 URL may be removed more clearly
500 Crawling/indexing may be delayed
503 Temporary issue; crawler may retry

Status codes should match the true state of the page.


Common SEO Mistakes with HTTP Status Codes

Common mistakes include:

  • Returning 200 OK for missing pages
  • Using 302 instead of 301 for permanent redirects
  • Creating long redirect chains
  • Creating redirect loops
  • Leaving important pages as 404
  • Redirecting all deleted pages to the homepage
  • Returning 500 errors for important URLs
  • Using 403 on pages that should be public
  • Forgetting to update internal links after redirects
  • Including redirected or 404 URLs in XML sitemaps

These issues can affect both crawl efficiency and user experience.


Soft 404 Errors

A soft 404 occurs when a page looks missing but returns 200 OK.

Example:

Page content: "Sorry, page not found."
HTTP response: 200 OK

Search engines expect missing pages to return:

404 Not Found

or:

410 Gone

Soft 404s confuse search engines because the server says the page exists, but the content says it does not.

Fix soft 404s by returning the correct status code or creating a useful page with real content.


Redirect Chains

A redirect chain happens when a URL redirects through multiple steps.

Bad:

Page A
↓ 301
Page B
↓ 301
Page C

Better:

Page A
↓ 301
Page C

Redirect chains slow down users and waste crawl resources.

Use ToolMint's Redirect Checker to identify and shorten chains.


Redirect Loops

A redirect loop happens when redirects point back to each other.

Example:

Page A
↓ 301
Page B
↓ 301
Page A

This prevents the page from loading.

Redirect loops should be fixed immediately.


How to Fix Common Status Code Issues

Important page returns 404

If the page should exist, restore it.

If the page moved, redirect it to the most relevant replacement.


Missing page returns 200

Return a proper 404 or 410.

Do not serve a "not found" message with a 200 response.


Permanent move uses 302

Change the redirect to 301 or 308 if the move is permanent.


Redirect chain exists

Update the first URL to point directly to the final destination.


Server returns 500

Check hosting, application logs, server configuration, plugins, deployment issues, or backend errors.

Fix this urgently for important pages.


Sitemap includes bad URLs

Remove URLs that return:

  • 3xx redirects
  • 4xx errors
  • 5xx errors
  • noindex responses
  • non-canonical versions

Your XML sitemap should contain clean, indexable 200 URLs.


Status Code Best Practices

Use these best practices:

  • Important live pages should return 200 OK.
  • Permanent moves should use 301 or 308.
  • Temporary moves should use 302 or 307.
  • Deleted pages should return 404 or 410.
  • Server errors should be fixed quickly.
  • Redirect chains should be shortened.
  • Redirect loops should be removed.
  • XML sitemaps should list only clean 200 URLs.
  • Internal links should point to final destination URLs.
  • Maintenance pages should use 503 when appropriate.

How ToolMint Helps

ToolMint provides free tools to inspect and fix status code problems.

HTTP Header Checker

Use it to check the exact status code returned by any URL.

It helps identify:

  • 200 responses
  • 3xx redirects
  • 4xx errors
  • 5xx errors
  • Server response headers
  • Security headers

Redirect Checker

Use it to trace redirect paths and identify:

  • Redirect chains
  • Redirect loops
  • Final destination URLs
  • Temporary vs permanent redirects

Meta Tags Analyzer

Use it to confirm that important indexable pages return a valid response and have healthy metadata.

Together, these tools help you diagnose status code problems quickly.


HTTP Status Code Checklist

Before finishing an SEO audit, check:

  • Important pages return 200 OK.
  • Deleted pages return 404 or 410.
  • Permanent redirects use 301 or 308.
  • Temporary redirects use 302 or 307.
  • No redirect loops exist.
  • Redirect chains are minimized.
  • XML sitemap URLs return 200 OK.
  • Internal links do not point to redirected URLs.
  • Important pages do not return 403 or 500.
  • Maintenance pages use 503 when appropriate.

Frequently asked questions

Is 404 bad for SEO?

Not always. A few 404 pages are normal. Problems arise when important pages unexpectedly return 404 or when many internal links point to missing pages.

Should I use 301 or 302?

Use 301 for permanent changes and 302 only for temporary redirects.

What is a soft 404?

A soft 404 is a page that appears missing but incorrectly returns 200 OK instead of 404 or 410.

Does a 500 error affect rankings?

Persistent server errors can prevent crawling and reduce search visibility, especially if they affect important pages.

Should deleted pages redirect to the homepage?

Usually no. Deleted pages should redirect only when there is a relevant replacement. Otherwise, a proper 404 or 410 may be more appropriate.

What status code should a live page return?

A normal live page should return 200 OK.

How do I check a page's HTTP status code?

Use ToolMint's HTTP Header Checker to inspect the response code and headers for any URL.

Use these ToolMint tools to diagnose HTTP status code issues:

  • HTTP Header Checker
  • Redirect Checker
  • Meta Tags Analyzer
  • XML Sitemap Generator
  • Robots.txt Generator

Final Thoughts

HTTP status codes are one of the most important technical signals a website sends to search engines.

Using the correct response codes helps crawlers understand which pages should be indexed, which URLs have moved, which content has been removed, and when the server is temporarily unavailable.

Regularly auditing your site's responses with ToolMint's HTTP Header Checker and Redirect Checker helps prevent crawl issues, improve technical SEO, and maintain a healthier website.

Sources

Enjoyed this guide? Share it.

Related tools

Browse all →

Related guides