headerを送信するだけでは404 not foundのページにならなかったのですが
どうしたらいいでしょう?
<?php
header("HTTP/1.0 404 Not Found");
header("Status: 404 Not Found");