Also called: Response code, Server response code
Every request gets one. 200 means OK. 301 and 302 mean the page moved permanently or temporarily (redirects). 404 and 410 mean not found or gone. The 500 range means the server failed, and 503 means it's temporarily unavailable.
Crawlers act on the code, not on what the page says. Google removes indexed pages that start returning a 4xx code. Server errors and 429 (“too many requests”, the one 4xx exception) make its crawlers slow down instead, and pages that keep failing are eventually dropped. Even a 200 doesn't guarantee indexing. AI crawlers receive the same codes, so a page that errors for them can't be read or quoted.
Check that real pages return 200, removed pages return 404 or 410, and moved pages use a 301. A “not found” message served with a 200 code is a soft 404: Search Console flags it, and Google says such pages keep being crawled and waste crawl budget.
Sources
- How HTTP status codes affect Google's crawlers(opens in a new tab) · Google for Developers
- Crawl budget management(opens in a new tab) · Google for Developers