Script is indexing my custom 404 Not Found page
On web servers that allow custom "Not Found" error messages, the crawler is often unable to distinguish between a legitimate page and an expired, Not Found page.
According to the HTTP standard, a web server is supposed to return the status code "404 Not Found" when a page doesn't exist, and the server can then follow that with whatever HTML text is desired. However, many web servers will redirect the visitor to a separate document to handle Not Found errors. To accomplish that, the web server returns a "302 Redirect" header, followed by a "200 Okay" header on the final document. At the HTTP level - where the crawler operates - this is indistinguishable from a legitimate redirect to a valid document. Microsoft IIS has this limitation with "URL"-type custom messages, but not with Text, Default, or File; Apache has this limitation when custom error messages are located on remote servers, but not for custom messages hosted on the same server.
One workaround is to add the Meta header:
<meta name="robots" content="noindex" />
"Script is indexing my custom 404 Not Found page" https://www.xav.com/scripts/search/help/1030.html