When you access a web page, your computer and the web server communicate with each other to exchange the information you want. This communication takes place via Status codeswhich indicate whether a request was successful or whether problems occurred. In this article you will learn everything you need to know about Status codes need to know.
What are status codes?
Status codes are three-digit numbers returned in response to an HTTP request from the web server. Each status code has a specific meaning and indicates how successful the request was or if there were any problems. There are a total of five categories of Status codes:
Category | Meaning |
---|---|
1xx | Informational |
2xx | Success |
3xx | Redirection |
4xx | Client Error |
5xx | Server Error |
Within each category there are different Status codes with specific meanings. Let's now take a closer look at what the most common Status codes mean.
Frequent status codes
200 OK
The status code 200 stands for "OK" and means that the server request was successful. This means that the desired resources have been found and sent to the Browser of the user is returned. This is the expected status code when a web page loads successfully.
301 Moved Permanently
The status code 301 indicates that a web page has moved permanently to another location. The Browser of the user should automatically go to the new URL be redirected. This is important to ensure that users get to the right page and that search engines index the new address.
404 Not Found
The 404 status code means that the requested resource was not found. This may mean that the URL is wrong or the page has been deleted or moved. A 404 status code is nothing to worry about as long as it occurs only once in a while and does not affect the important pages.
Conclusion
Status codes are important information about how a website and the web server communicate with each other. They give you, as a website owner and user, clues about whether everything is working properly or if there are problems. By reading the different Status codes you can better understand what is happening on your website and take possible optimization measures.
« Back to Glossary Index