I have a question about custom 404 pages:
Lets say the user enters a non existing url, and the custom 404 page is made like this:
header("HTTP/1.0 404 Not Found"); header("Location: http://www.domain.com/custom404.php");
What does google do when reaching this code?
Does it create any duplicate content? since there is a url after the domain name??
Does it know not to index, or register any more when seeing the 404 header?
Hope some of you has the answer to this :-)
OR WHAT IS THE BEST WAY TO HANDLE 404 ERRORS WHEN IT COMES TO SEO???