200 – OK
The HTTP status code 200 OK indicates that the server successfully received, understood, and accepted the request.
Commonly Seen: When a browser successfully retrieves a page or resource, confirming that the connection to the server and request processing were successful.
301 – Moved Permanently
The HTTP status code 301 Moved Permanently tells the browser that the requested resource has been moved to a new URL. This status is used in URL redirection, which helps to redirect visitors to the updated resource location.
Common Use: Preserving search engine rankings by informing search engines of the permanent relocation.
Note: When using temporary redirects, it is recommended to use a 302 status code instead.
302 – Found
The HTTP status code 302 Found indicates that the requested resource is temporarily available at a different URL. It informs the client to use this new URL for the current request but to continue using the original URL for future requests.
Common Use: Temporary redirections, such as during site maintenance or conditional redirects based on user location or device.
Note: For permanent redirects, use 301 instead.
400 – Bad Request
The HTTP status code 400 Bad Request indicates that the server cannot process the request due to an error in the request(client-side), often due to malformed syntax or invalid request parameters.
401 – Unauthorized
The HTTP status code 401 Unauthorized indicates that authentication is required but has failed or has not been provided. The requester must provide valid authentication credentials to access the resource.
Commonly seen: websites with login portals or protected resources where users need valid credentials to access content.
403 – Forbidden
The HTTP status code 403 Forbidden means that the server understands the request but refuses to authorise it. This usually occurs when the requester does not have the necessary permissions.
Commonly seen: Appears when users try to access restricted pages or files that are intentionally blocked.
404 – Not Found
The HTTP status code 404 Not Found indicates that the server cannot find the requested resource. This could mean the URL is incorrect or the resource has been removed.
Commonly seen: URL is mistyped or the page has been deleted.
500 – Internal Server Error
The HTTP status code 500 Internal Server Error indicates that an unexpected condition prevented the server from fulfilling the request.
Commonly seen: Appears when there’s a server misconfiguration, faulty script, or other internal error.
503 – Service Unavailable
The HTTP status code 503 Service Unavailable tells the requester that the server is temporarily unable to handle the request, often due to maintenance or overloading.
Commonly seen: When a site is under heavy load or is temporarily down for maintenance.