4

私はウェブサイト www.example.com と相対的なモバイル バージョンを m.example.com に持っていて、現在は AMP バージョンを amp.example.com に持っています。

www.example.com から、モバイル デバイス用に m.example.it にリダイレクトし、AMP ページに使用します。

<link rel="amphtml" …

m.example.com からは、デスクトップ バージョンへの正規タグしかありません。

amp.example.com から、デスクトップ バージョンへの正規タグしかありません。

大丈夫です?m.example.com からも AMP バージョンをリンクする必要がありますか?

3 週間後、Google Search Console が AMP ページを検出し、AMP ページは Google キャッシュにありますが、AMP ページが検索結果に表示されず (私は Google ニュースにいます)、トラフィックをカウントしません。

すべてが正しく構成されていると思いますか?

4

2 に答える 2

2

実際には「非 AMP ページ」とは書かれていません、「AMP ページに関する情報を非 AMP ページに追加し、その逆も同様です」

さらに、John Mueller がここでもう少し説明しました: https://productforums.google.com/forum/#!topic/webmasters/fFQJC2m0OHs

https://www.example.com/desktop/page.html (this is the desktop version of the page) has:
<link rel="alternate" media="only screen and (max-width: 640px)"  href="https://m.example.com/mobile/page.html">
<link rel="amphtml" href="https://a.example.com/amp/page.html">
<link rel="canonical" href="https://www.example.com/desktop/page.html">

https://m.example.com/mobile/page.html (this is the smartphone version of the page) has:
<link rel="canonical" href="https://www.example.com/desktop/page.html">

https://a.example.com/amp/page.html (this is the AMP version of the page) has:
<link rel="canonical" href="https://www.example.com/desktop/page.html">
于 2017-07-19T06:22:44.847 に答える
1

モバイル ページとデスクトップ ページの両方で必要<link rel="amphtml" href="#amp page url#">になります(「非 AMP ページでは、ページの AMP バージョンを参照してください」-ソース)。

AMPとは関係ありませんが、必要なデスクトップ ページからGoogle の個別のモバイル コンテンツを適切にインデックス化するために必要です。そのため、コンテンツのモバイル バージョンとデスクトップ バージョンの間<link rel="alternate" href="m.example.com/mobile-version/">に双方向がありrel="canonical"ます。rel="alternate"

また、HTTP ヘッダーを提供する必要がありVary: User-Agentます (ただし、これが原因で CDN に問題が発生するという報告があり、該当する場合は調査する必要があります)。

于 2016-03-07T09:10:47.680 に答える