WordPress サイトで作業していますが、ヘッダーで奇妙なことが起こっています。
ヘッダーとコンテンツの上に次のいずれかが表示されます。
これは、ページが見つからない場合の GoDaddy メッセージです (そうですか?)。これはWordPressなので、そこにないか移動されたPHPインクルードだと思いました。これがその領域のソースコードです。それはテーブルです (繰り返しますが、動的に生成されていると仮定しています):
<table width="85%" border="1" bordercolor="#000000" cellspacing="0" cellpadding="3">
<tbody><tr>
<td bgcolor="#e5dccd">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td width="40%"><img src="http://images.godaddy.com/hosting/hdr_sorry_small.gif" border="1" bordercolor="#000000"></td>
<td align="CENTER"><h2 style="font-family: arial, sans-serif">Page Not Found</h2></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<p style="margin-left: 10px; margin-right: 10px; margin-top: 10px; margin-bottom: 10px; font-size: 10pt; font-family: arial, sans-serif">
The page you tried to access does not exist on this server. This page may not exist due to the following reasons:
</p><ol><li style="font-size: 10pt; font-family: arial, sans-serif"><strong>You arethe owner of this web site and you have not uploaded</strong> (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, <a href="http://ftphelp.secureserver.net/index.html">click here for FTP Upload Information</a>.
<p>
</p></li><li style="font-size: 10pt; font-family: arial, sans-serif"><strong>The URL that you have entered in your browser is incorrect.</strong> Please re-enter the URL and try again.<p>
</p></li><li style="font-size: 10pt; font-family: arial, sans-serif"><strong>The Link that you clicked on incorrectly points to this page.</strong> Please contact the owner of this web site to inform them of this situation.</li></ol>
</td>
</tr>
</tbody></table>
<div id="main">
少し面倒なのはわかっていますが、生成中のテーブルであることを示しているだけです。これを表示する理由は、WordPress テンプレートに含まれるコードが次のとおりであるためです。
<body <?php if(function_exists('body_class')) body_class(); ?>>
<div id="main">
body と div id="main" の間にコンテンツがないことがわかります。ただし、このテーブルはそこで生成されています。そのため、どのリンクが壊れているのか、この時点で修正が必要なものを追跡する方法がわかりません。どんな助けでも大歓迎です。ありがとう!