For SEO friends, what you need to know in the log is what the strange number "200" (the other number indicates the size of the crawled file) means.
Something like "200" is an HTTP status code.
The most common HTTP status codes in the SEO process are:
200 - The server successfully returned the web page
404 - The requested web page does not exist
503 - Server timeout
The list of other frequently encountered HTTP status codes is as follows:
HTTP status code Summary description
Success2×× Success Status code for request processed.
200 The server has successfully processed the request and served the requested web page.
204 The server successfully processed the request but did not return anything.
# 5 times.
301 The requested web page has been permanently moved to a new location. When URLs change, use the 301 code. Save the new URL in the search engine index.
302 The requested web page is temporarily moved to a new location. The original URL is saved in the search engine index.
304 used to tell the search engine bots if the webpage not been updated since the requester's last request, save bandwidth and overhead.
Client error 4×× indicates that the request may be in error, hindering server processing.
400 The server does not understand the syntax of the request.
403 The server refused the request.
404 The server cannot find the requested web page. This code is often returned for web pages that do not exist on the server.
410 The server returns this response after the requested resource is permanently deleted. This code is similar to the 404 (Not Found) code, but is sometimes used instead of the 404 code when the resource existed before and now does not. If the resource has been permanently deleted, 301 should be used to specify the resource's new location.
Server error 5×× means that an internal error occurred while the server was processing the request. These errors may be errors on the server itself rather than an error in the request.
500 The server encountered an error and was unable to complete the request.
503 The server is currently unavailable (due to overload or downtime for maintenance). Usually, this is a temporary state.
The above is the detailed content of What do the HTTP status codes in the logs mean?. For more information, please follow other related articles on the PHP Chinese website!