Why the codes are grouped by hundreds
The first digit of a status code tells you its class before you even look up the specific number: 1xx is informational, 2xx is success, 3xx is redirection, 4xx is a client-side problem, and 5xx is a server-side problem. This lets software (and people) react sensibly to a code they have never seen before, just from its first digit.
Status codes shape how browsers and search engines behave
A 301 redirect passes most of a page's search ranking value to its new URL, while a 302 signals the move is temporary and ranking should stay put — a distinction that matters a great deal for site migrations. Caching behavior in browsers is similarly driven by which 2xx or 3xx code a server returns.
Frequently Asked Questions
What is the difference between 401 and 403?
401 Unauthorized generally means the server does not know who you are yet (you need to log in), while 403 Forbidden means it knows who you are and has decided you still are not allowed access.
Why do I sometimes see 502 or 503 on a site that is normally fine?
These usually indicate a temporary problem, such as a server restarting, being overloaded with traffic, or a backend service it depends on being unreachable, rather than a permanent issue with the site.
Is 404 always the right code for a missing page?
It is the standard choice, though some sites intentionally return a 410 Gone instead for pages that were deliberately and permanently removed, which can send a clearer signal to search engines than a generic 404.