简体   繁体   English

AMP 页面。 链接到网站其他页面的最佳实践

[英]AMP Page. Best Practice to link to another pages of the site

In my site have AMP version of all pages.在我的网站中,所有页面都有 AMP 版本。

When in an AMP Page there are links (href) to another pages of the site ( like related articles ).当在 AMP 页面中时,有指向该站点其他页面(如相关文章)的链接 (href)。 Those links must point to the AMP version or to the regular version?这些链接必须指向 AMP 版本还是普通版本?

On the Internet I found many AMP implementations that link AMP pages with non-AMP version despite AMP versios exists but I don't figure out why.在互联网上,我发现许多 AMP 实现将 AMP 页面与非 AMP 版本链接起来,尽管存在AMP 版本但我不知道为什么。

I think that if a mobile user visit an AMP page then in that page the links to related pages of the site must point to the amp version too, for improve UX but I don't sure about what is te best practice to follow.我认为,如果移动用户访问 AMP 页面,那么在该页面中,指向该网站相关页面的链接也必须指向 amp 版本,以改进 UX,但我不确定要遵循的最佳实践是什么。

Thanks in advance.提前致谢。

Note: this question is not about local amp site vs amp CDN but it's about linking pages inside the local site.注意:这个问题不是关于本地 amp 站点与 amp CDN,而是关于链接本地站点内的页面。 Please read it carefully and sorry if my english is not good enough.请仔细阅读,如果我的英语不够好,请见谅。

I make all my AMP pages point to HTML versions of my site, mainly because I don't believe in pointing to non-canonical links.我让我所有的 AMP 页面都指向我网站的 HTML 版本,主要是因为我不相信指向非规范链接。

One of the main benefits of AMP is how Google caches everything, and of course you loose this if you point to an AMP page on your domain. AMP 的主要好处之一是 Google 如何缓存所有内容,当然,如果您指向域中的 AMP 页面,您就会失去这一点。

One thing to consider is how alike your AMP and HTML pages are, for me they are very similar ( html , amp ) so I don't think a user is going to mind.需要考虑的一件事是您的 AMP 和 HTML 页面有多相似,对我来说它们非常相似( htmlamp )所以我认为用户不会介意。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM