Server Bad status codes

Understanding HTTP Status Codes – A Key to Mastering Technical SEO

Imagine if websites could talk and tell you if they’re feeling good or having a bad day. Well, HTTP status codes are kind of like that! They’re like secret messages that websites use to tell search engines (like Google) and us how they’re doing. Let’s find out why these codes are important for anyone who wants to make their website awesome.

HTTP status codes are standardized responses that a web server sends to indicate the status of a requested resource, such as a web page or an API endpoint. These codes are part of the HTTP (Hypertext Transfer Protocol), which is the foundation of data communication for the World Wide Web.

Indexing and Crawling

Search engines are like explorers. They use these codes to figure out which web pages they should look at and remember (we call this ‘indexing’). A ‘200 OK’ code is like a green light, saying “everything’s good here!” But a ‘404 Not Found’ is like a stop sign, telling the explorer there’s nothing to see.

If a website keeps saying “Oops, something’s wrong” with lots of 4XX and 5XX errors, it’s like having a store with broken doors and windows. Search engines and visitors might think it’s not a great place to visit, which isn’t good for the website’s popularity.

2XX – Success

These status codes indicate that the request was successfully received, understood, and accepted.
The most common code in this category is 200 OK, which means that the request was successful and the server is sending the requested data.

3XX – Redirection

These codes indicate that further action needs to be taken by the user agent (such as a web browser) to fulfill the request.
A common example is 301 Moved Permanently, which is used when a resource has been permanently moved to a new URL. The new URL is provided in the response.

4XX – Client Error

These codes signify an error that the client (the user’s browser or device) has made, which prevents the server from processing the request.
The most familiar code here is 404 Not Found, indicating that the server can’t find the requested resource. This often happens when a user tries to access a webpage that doesn’t exist on the server.

5XX – Server Error

These codes indicate that the server failed to fulfill a valid request.
A common example is 500 Internal Server Error, which is a generic error message given when an unexpected condition was encountered by the server, and no more specific message is suitable.
Understanding these codes is essential for web development and troubleshooting, as they provide quick insights into what is happening when a web request doesn’t result in the expected outcome.

100Continue
101Switching protocols
102Processing
103Early Hints
200Success
201Created
202Accepted
203Non-Authoritative Information
204No Content
205Reset Content
206Partial Content
207Multi-Status
208Already Reported
226IM Used
300Multiple Choices
301Moved Permanently
302Found (Previously “Moved Temporarily”)
303See Other
304Not Modified
305Use Proxy
306Switch Proxy
307Temporary Redirect
308Permanent Redirect
400Bad Request
401Unauthorized
402Payment Required
403Forbidden
404Not Found
405Method Not Allowed
406Not Acceptable
407Proxy Authentication Required
408Request Timeout
409Conflict
410Not Available
411Length Required
412Precondition Failed
413Payload Too Large
414URI Too Long
415Unsupported Media Type
416Range Not Satisfiable
417Expectation Failed
418I’m a Teapot 🫖
421Misdirected Request
422Un processable Entity
423Locked
424Failed Dependency
425Too Early
426Upgrade Required
428Precondition Required
429Too Many Requests
431Request Header Fields Too Large
451Unavailable For Legal Reasons
500Internal Server Error
501Not Implemented
502Bad Gateway
503Service Unavailable
504Gateway Timeout
505HTTP Version Not Supported
506Variant Also Negotiates
507Insufficient Storage
508Loop Detected
510Not Extended
511Network Authentication Required
523Origin Is Unreachable

Knowing about HTTP status codes is like having a superpower for your website. It helps you keep the website healthy, friendly, and liked by search engines. So, if you want your website to be the cool kid on the internet block, start learning about these secret codes!

Similar Posts