Forum Moderators: phranque
So, for a "404 - Not Found" error message, my server con redirect the browser to example.com/404.html
However, if I do a server header check for this 404.html document which I have created, it gives me a "HTTP/1.1 302 Found" status, which is clearly wrong.
I have tried to rectify this, by adding the following code to the first lines of the document ..
<?php
header("HTTP/1.0 404 Not Found");
?>
Any ideas? Thanks.