我的 Wordpress 3.4.1 博客中出现奇怪的“找不到网页”错误。我已经禁用了所有可能成为问题的插件。此错误仅在 Explorer 和 Opera 中发生,但在 Firefox、Chrome 和 Safari 中运行良好。这仅发生在事件管理器插件下的两个部分中,但我什至禁用了该部分,但仅在一个内容发布中发生。另一个奇怪的项目是这个盒子随机显示在每个显示中,所以它不是固定的。在我失去所有头发之前,任何人都可以帮助我或指出正确的方向吗?我不确定是否允许我在 stackoverflow.com 上发布问题链接
借助 Internet Explorer 中的调试栏,我设法找到了一些生成的代码:
<html><head>
<link rel="stylesheet" type="text/css" href="ErrorPageTemplate.css">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title>HTTP 400 Bad Request</title>
<script language="javascript" type="text/javascript" src="errorPageStrings.js">
</script>
<script language="javascript" type="text/javascript" src="httpErrorPagesScripts.js">
</script>
</head><body onload="javascript:initHomepage(); expandCollapse('infoBlockID', true); initGoBack(); initMoreInfo('infoBlockID');">
<table border="0" cellSpacing="0" cellPadding="0" width="730">
<!-- Error title -->
<tbody><tr>
<td id="infoIconAlign" vAlign="top" rowSpan="2" width="60" align="left">
<img id="infoIcon" alt="Info icon" src="info_48.png">
</td>
<td id="mainTitleAlign" vAlign="middle" width="*" align="left">
<h1 id="mainTitle">The webpage cannot be found</h1>
</td>
</tr>
<tr>
<!-- This row is for HTTP status code, as well as the divider-->
<td id="http400Align" class="errorCodeAndDivider" align="right"><id id="http400"> HTTP 400</id>
<div class="divider"></div>
</td>
</tr>
<!-- Error Body -->
<!-- What you can do -->
<tr>
<td>
</td>
<td id="likelyCausesAlign" vAlign="top" align="left">
<h3 id="likelyCauses">Most likely causes:</h3>
<ul>
<li id="causeErrorInAddress">There might be a typing error in the address.</li>
<li id="causeLinkOutOfDate">If you clicked on a link, it may be out of date.</li>
</ul>
</td>
</tr>
<tr>
<td>
</td>
<td id="whatToTryAlign" vAlign="top" align="left">
<h2 id="whatToTry">What you can try:</h2>
</td>
</tr>
<!-- retype address -->
<tr>
<td>
</td>
<td id="retypeAddressAlign" vAlign="middle" align="left">
<h4>
<table>
<tbody><tr>
<td vAlign="top">
<img class="actionIcon" border="0" alt="" src="bullet.png">
</td>
<td vAlign="top">
<id id="retypeAddress">Retype the address.</id>
</td>
<tr>
</tr></tbody></table>
</h4>
</td>
</tr>
<!-- back to previous page -->
<tr>
<td>
</td>
<td id="goBackAlign" vAlign="middle" align="left">
<h4>
<table>
<tbody><tr>
<td vAlign="top">
<img class="actionIcon" border="0" alt="" src="bullet.png">
</td>
<td vAlign="top">
<span id="goBackContainer"><a href="javascript:history.back();">Go back to the previous page.</a></span><noscript id="goBack">Go back to the previous page.</noscript>
</td>
</tr>
</tbody></table>
</h4>
</td>
</tr>
<!-- top level domain-->
<tr>
<td>
</td>
<td id="mainSiteAlign" vAlign="middle" align="left">
<h4>
<table>
<tbody><tr>
<td vAlign="top">
<img class="actionIcon" border="0" alt="" src="bullet.png">
</td>
<td vAlign="top">
<id id="mainSite1">Go to </id><span id="homepageContainer"><noscript id="mainSite2">the main site</noscript><a href=""></a></span><id id="mainSite3"> and look for the information you want.</id>
</td>
</tr>
</tbody></table>
</h4>
</td>
</tr>
<!-- InfoBlock -->
<tr>
<td id="infoBlockAlign" vAlign="top" align="right">
</td>
<td id="moreInfoAlign" vAlign="middle" align="left">
<h4>
<table>
<tbody><tr>
<td vAlign="top">
<a onclick="javascript:expandCollapse('infoBlockID', true); return false;" href="#"><img id="infoBlockIDImage" class="actionIcon" border="0" alt="More information" src="down.png"></a>
</td>
<td vAlign="top">
<span id="moreInfoContainer"><a href="javascript:expandCollapse('infoBlockID', true);">More information</a></span>
<noscript><ID id="moreInformation">More information</ID></noscript>
</td>
</tr>
</tbody></table>
</h4>
<div style="display: none;" id="infoBlockID" class="infoBlock">
<p id="errorExplanation">This error (HTTP 400 Bad Request) means that Internet Explorer was able to connect to the web server, but the webpage could not be found because of a problem with the address.</p>
<p id="moreInfoSeeHelp">For more information about HTTP errors, see Help.</p>
</div>
</td>
</tr>
</tbody></table>
我希望这有帮助。谢谢