可以在所有页面上使用规范标签吗? [英] Can the canonical tag be used on all pages?

查看:148
本文介绍了可以在所有页面上使用规范标签吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在由SEO专家审核过的网站上工作.他们告诉我,我们应该在每隔一页上应用canonical标记

Im working on a site that has had an SEO expert review it. They have advised me that we should apply canonical tags on every other page

<!-- http://www.example.com/detail/table&r=dining-room -->

<link rel="canonical" href="http://www.example.com/detail/table"/> 

是否真的要求canonical标签仅出现在每隔一页上,或者如果它出现在同一页面上会很好地播放?

is it really required that the canonical tag only appears on every other page, or will it play nicely if it appears on the same page?

我问这的原因是:链接是否还告诉Google它在正确的页面上是事实?

The reason I ask this is: isn't the link also telling Google that it is infact on the right page?

推荐答案

RFC 6596:规范链接关系 指定:

IRI目标(规范)可以:
o […]
o具有自我指称性(上下文IRI与目标IRI相同).

The target (canonical) IRI MAY:
o […]
o Be self-referential (context IRI identical to target IRI).

是的,即使在规范页面上,您也可以使用rel-canonical.

So, yes, you can use rel-canonical even on the canonical page.

这篇关于可以在所有页面上使用规范标签吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆