-1

なぜ 404 になったのか理解できません: それもエラーPowered by AMP ⚡ HTML – Version 1456440290687です。

<!doctype html>
<html amp lang="en">
  <head>
    <meta charset="utf-8">
    <title>Hello, AMPs</title>
    <link rel="canonical" href="http://www.mmdroid.biz/myjobs/index.html" />
    <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
    <script type="application/ld+json">
      {
        "@context": "http://schema.org",
        "@type": "NewsArticle",
        "headline": "Open-source framework for publishing content",
        "datePublished": "2015-10-07T12:02:41Z",
        "image": [
          "imgs/logo.jpg"
        ]
      }
    </script>
    <style amp-custom>
      /* any custom style goes here */
      body {
        background-color: white;
      }
      amp-img {
        background-color: gray;
        border: 1px solid black;
      }
    </style>
    <script async src="https://cdn.ampproject.org/v0.js"></script>

上記は私のコーディングの一部です。ここに画像の説明を入力

4

1 に答える 1

1

AMP キャッシュには、有効な AMP ページのみが含まれます。多くのオンライン スタイルが原因でページが有効な AMP ではないため、キャッシュにないため、キャッシュ経由でアクセスしようとすると 404 が返されます。開発モードで実行するためにコンソールを開いて以下のサイトにアクセスし、修正が必要なエラーを表示します。

訪問: http://www.mmdroid.biz/myjobs/index.html#development=1

また、有効な NewsArticle 構造化日付 (画像を含む) も必要です。

https://developers.google.com/structured-data/testing-tool/?url=http%3A%2F%2Fwww.mmdroid.biz%2Fmyjobs%2Findex.html

于 2016-02-27T08:36:10.227 に答える