相关疑难解决方法(0)

PHP标头404无法正常工作

为什么这不起作用,因为未加载预设的404页面:

header("HTTP/1.0 404 Not Found");
exit;
Run Code Online (Sandbox Code Playgroud)

.htaccessErrorDocument 404 /404.html指令集.

谢谢.

php .htaccess http-status-code-404

5
推荐指数
2
解决办法
1万
查看次数

标签 统计

.htaccess ×1

http-status-code-404 ×1

php ×1