HTTP status codes
HTTP status codes are three-digit responses a server sends with every request, such as 200 (OK), 301 (moved permanently), 404 (not found) or 500 (server error).
Every time a browser or crawler requests a URL, the server answers with a status code. 2xx codes mean success, 3xx mean redirection, 4xx mean the request failed because of the client (like a missing page) and 5xx mean the server failed.
In more detail
For SEO, the important codes are 200 for live pages, 301 and 302 for redirects, 404 and 410 for removed pages, 429 for rate limiting and 5xx for server errors. Persistent 5xx errors make search engines slow their crawling and can drop pages from the index. A page that shows ‘not found’ but returns 200 is a soft 404, which confuses crawlers.
Why it matters
Correct status codes tell search engines exactly what is happening on your site. Errors in them are some of the most common and damaging technical issues.
A crawl shows 1,200 old blog URLs returning 500 errors after a CMS update. Fixing the server bug and redirecting outdated posts to their replacements stops the pages dropping out of Google.