【发布时间】:2012-06-19 17:08:07
【问题描述】:
如何返回 HTTP 标头 404 Not found 并仍然显示静态 html 页面?
我有
ErrorDocument 404 mysite.com/searchmysite/index.html
在 .htaccess 中。
但显然这对 seo 不利。
类似的未回答问题: Can I change the page's HTML status code on the client side? 和 404 header - HTTP 1.0 or 1.1?
【问题讨论】:
-
你提到的两个问题在我看来都得到了很好的回答......
标签: .htaccess error-handling seo http-headers http-status-code-404