What is HTTP status codes?
HTTP status codes are three-digit numbers a server sends to say whether a request worked, such as 200, 301, 404 or 500.
The first digit gives the family: 2xx success, 3xx redirect, 4xx the request was wrong, 5xx the server failed. A 404 means not found, a 301 is a permanent redirect and a 503 means the service is unavailable.
For SEO, use 301 for moved pages and make sure deleted pages return 404 or 410.