如何 link Google AMP 页面

How to link Google AMP pages

我想link从1个Google AMP页面到另一个Google AMP页面,以优化用户浏览体验的速度。

我已经阅读了这些文章:links to other AMP pages in an AMP article and https://www.ampproject.org/docs/fundamentals/spec and Link from AMP-Page to AMP-Page?。但是这些帖子只涵盖是否应该 link AMP 到 AMP,而我问的是如何 link。

在重写 link 之前,我应该 link 在 AMP 文档之间采取什么方式?像这样:

https://www.foo.com/amp_document.html

或者像这样:

https://foo-com.cdn.ampproject.org/c/s/foo.com/amp_document.html

我不确定 Google 是否会以不同于用户从 Google 的 SERP 访问 AMP 页面的方式来处理从另一个内部 AMP 页面访问的 AMP 页面。

您可以 link AMP 页面作为

https://www.foo.com/amp_document.html

类似

的网址
https://foo-com.cdn.ampproject.org/c/s/foo.com/amp_document.html

是在用户直接从搜索结果访问 link 时创建的。你不需要为此烦恼。