HTTP error codes explained

There are multiple HTTP codes that you may come across. Below you can find a summary of the most popular HTTP error codes:

"200 OK" - You will not see this code when browsing a regular page. It means that the requested document has been processed and sent to you.

"301 Moved Permanently" - Often web designers create the so-called 301 redirects. This means that instead of the file you are browsing to, the server will point you to a different directory or a file set in the redirect rules.

"400 Bad Request" - The Web server considers the data stream sent by the client (your Web browser) 'malformed' i.e. it has not sent a complete HTTP request. In such cases the web server is unable to process the request. Almost always this error is caused by bad programming.

"401 Unauthorized" - You are most probably trying to access a password protected directory using wrong credentials. In such cases you should check whether you are using the correct login details.

"403 Forbidden" - This error message means that you are trying to open a folder or a file you do not have access to. If you are receiving this error message on your website, you should check the .htaccess files in your web hosting account for any restrictive rules.

"404 Not Found" - You are browsing to a non-existent page or a folder. In such cases you should check if the link you are trying to access is correct. In addition, if any SEF functionality on your pages is not working correctly, your application may forward you to the wrong URL.
  • 1 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

What to do if your website has been marked by Google as harmful

If you see the following warning when you visit your site:This site may harm your computer.this...

How to solve “Reported Attack Site!” ?

If you see this on your website, it means your website is already compromised and flagged by...

I’m getting a ‘MySQL server has gone away’ error in my application

There are two main reasons for this error message to show:1) The MySQL query you are trying to...

HTTP Error – Bad Gateway

This error indicates a server side problem. Please log in your Client Area and check if there are...

Site shows PHP warnings / errors

PHP warnings / errors show for various reasons. In case you get such PHP messages on your...