Did you get an error on your website? Don't panic! Learn more about HTTP status codes and find solutions to the most common errors.
Who has never seen a 404 error page, the most famous HTTP status code? Codes of this type inform not only that something went wrong, but why the error occurred and who might be responsible.
But not every HTTP status code represents an error or problem. Some are just informational messages exchanged between the server and the browser, indicating that a request was completed or that the page changed address, for example.
I wrote this post – which is very basic, almost philippines number dataset technical – to talk a little about each of these messages, presenting solutions to the main problems.
Let's go?!
illustration of a person with doubt looking at the computer screen; in front the text HTTP Status Codes
Index
What are HTTP statuses?
List of HTTP codes, errors and statuses
1xx – Informative response
2xx – Successful response
3xx – Redirection
4xx – Client errors
5xx – Server errors
How to resolve common 4xx errors?
Error 403 – Forbidden
Error 404 – Page Not Found
Error 410 – Lost
How to troubleshoot common 5xx errors?
Error 500 – Internal Server Error
Error 502 – Bad Gateway and Error 504 – Gateway Timeout
Error 503 – Service Unavailable
How do I know if my website has HTTP errors?
Revision
Receive posts in your email
What are HTTP statuses?
As I mentioned above, the response codes in HTTP ( HyperText Transfer Protocol ) are part of the communication between the server and the browser.
To explain it in basic terms, when you open your browser window and access a website, your browser will attempt to connect to that website's server so that it can display the content for you.
HTTP statuses come into play precisely during this connection attempt. They are responses to the browser's request, and can inform you, for example, that the page you want to access does not exist (404) or that everything went well and the page can be displayed (200).
The first digit of the HTTP status code indicates the error class that the response is categorized into.
Keep in mind!
Did you know that choosing the wrong hosting can reduce your Google score, cause slowness and even leave your website vulnerable to hacks and viruses?
Click here and find out more !
The codes starting with 1, 2 and 3 do not appear to the user when they access the website. In other words, when accessing a website, you will not see the status message 200 when everything goes well.
On the other hand, HTTP statuses starting with 4 and 5, which represent errors, appear on the page.
Do you want to know these messages?
List of HTTP codes, errors and statuses
I made a selection with (almost) all the HTTP status messages here.
Yes, almost all of them. After all, some codes are still experimental, or specific to a certain system, or even a joke .
However, if you want more details, check out this link . It's a very complete site with all the information about HTTP status.
But if you want a summary, you're on the right page!
1xx – Informative response
1xx statuses are merely informational messages.
They do not appear in the browser, that is: they only serve for communication between server and client.
100 – Continue: This is a provisional response indicating that the browser can continue with the request.
101 – Switching Protocol: the message indicates that the server received the client's request to change the protocol.
102 – Processing: means that the server received the request and is processing it.
2xx – Successful response
2xx codes indicate that the action requested by the browser was received, understood, accepted, and processed.
They are also codes that only serve for communication between the server and the browser.
200 – OK: means that the request was successful.
201 – Created: The browser request was completed and a new resource was created.
202 – Accepted: means that the request has been accepted for processing.
203 – Non-authoritative Information: This code indicates that the request was processed, but the information apparently came from another source.
204 – No Content: although the request has been processed, there is nothing to respond to the client.
205 – Reset Content: indicates that the server completed the request, but the user agent needs to reset the view of the document that made the request.
206 – Partial Content: means that the server is delivering only part of the requested resource according to a Range header sent by the client.
207 – Multi-Status: says that multiple status codes may be appropriate for the request.
HTTP Status Codes: Error Meanings and Solutions
-
- Posts: 726
- Joined: Mon Dec 02, 2024 9:25 am