I have to set strict urls to no, because I am using a dynamic segment_1 with category_urls. So I have to use the default 404 error template. The 404 errors work but the pages return a 503 header and not a 404 header.
I tried inlcuding a custom 404.php instead of the
$this->log_item("404 Page Returned");
$this->EE->output->set_status_header(404);
echo '<html><head><title>404 Page Not Found</title></head><body><h1>Status: 404 Page Not Found</h1></body></html>';
But it’s still a 503. Am I missing a setting? What can I do to make it actually 404? I am on EE 2.5.5
Thanks Philip
{redirect="404"}
in your main index template to display the custom 404 page when necessary? (even with strict URLs disabled)