404标头响应,但页面显示正常吗? [英] 404 Header Response, but page displays ok?

查看:119
本文介绍了404标头响应,但页面显示正常吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不是有问题的PHP网站的开发人员(而且我根本就没有PHP!),但我被要求调查此问题.

I am not the developer for the PHP site in question (and I don't PHP at all!) but I was asked to investigate this issue.

基本上,在使用Live HTTP标头(Firefox Addon)和某些报告工具之类的网站时,我们其中一个网站上的大量页面似乎返回404标头响应,但是,当您将网址粘贴到浏览器中时,页面呈现良好.

Basically, a large number of pages on one of our websites appears to return a 404 header response when using something like Live HTTP Headers (Firefox Addon) and some of our reporting tools, however, when you paste the url into the browser, the page renders fine.

我想知道什么因素会导致这种行为?

I was wondering what things might cause this behaviour?

这是一个示例URL,它返回404标头响应,但显示正常:

Here is an example URL which returns a 404 header response, yet renders ok:

http://www.fancyapint.com/pubs/pub14​​61.php

有什么想法吗?

  • 更新:感谢您的反馈!听起来好像本网站的开发人员错误地在该页面上放置/留下了404状态代码.我将通过您提供的信息.再次感谢.

推荐答案

问题已缩小为Word-Press更新! 只要将wp-blog-header.php包含文件从页面中排除,我们就会收到OK响应.

The problem has been narrowed down to a Word-Press update! As soon as the wp-blog-header.php include file is excluded from the page, we get an OK response.

感谢您的帮助.

这篇关于404标头响应,但页面显示正常吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆