Forum Moderators: phranque
You'll need to make sure that the .htaccess file on your server contains this information.
ErrorDocument 404 /404.php
Then, create 404.php
<?php
header("HTTP/1.0 404 Not Found");
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Pragma: no-cache');
echo "Custom 404 Not Found";
?>
There are a couple of things to be aware of.
ssg