How many HTML error pages have you ever heard of? Do you know what happens in the background when the HTML pages appears on the screen?
The codes conveys vital information to the user. It be a great advantage to know them better. Using the codes properly reduces the bounce rate and improves the search engine ranking and also gives knowledge on the performance of the browser.
Comprehending Status Codes
Behind every error you see on your web browser there’s a HTTP code sent by the serve. The codes comes in a format of three digit numbers. The first digit represents the statues of the code. Codes starting with 1 have information purposes, those starting with 2 represents success and those starting with 3 indicates redirection.
None of those classes result into a HTML error page since the client can go through the task without hesitation. What we often see are the 4XX and 5XX kind
- 5XX shows problems on the server side
- 4XX indicates client side errors
The Errors are usually displayed in the cases where the client has no idea of how to move on.
Client Side Errors
1. 400 – Bad Request error page
When the client sends a request and the serve is unable to comprehend, the 400 error shows up. The error occurs when the information sent by the web browser does not respect the laws of the HTTP protocol, so the serve is absolutely clueless about how to process a request with a malformed syntax.
The 400 error also means that there is something not stable on the client side. Try opening the page in a different browser and clear the cache.
2. 404 – Not Found
This is one of the most popular code. The code is returned when the server does not find anything on the requested location.
There are 2 key scenarios which can result to the 404 code. Either when the permalink structure has been changed or when one mistypes the URL.
The most common solution of solving this error is by using 301 redirects for the permanently removed pages.
3. 403 – Forbidden
This error is encountered when the web server comprehends the client‘s request but refuses to fulfil it for some reasons refuses.
The server does not permit clients to browse a file director on their site. When you see this type of error, you cannot access folders on the site.