When a server gets a request for a page, it shows an HTTP status code in return. The main HTTP status codes can be found below:
– 200: OK page found and accessible
– 301: page permanently redirected. This can be done with a PHP function or the file .htaccess.
– 302: page temporarily redirected. (You should avoid this type of redirection).
– 404: page not found.