Can the canonical tag be used on all pages?

a 夏天 提交于 2019-11-28 13:09:16

问题


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"/> 

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?

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


回答1:


RFC 6596: The Canonical Link Relation specifies:

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

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




回答2:


It seems to be an argument between Google and Bing. Google doesn't mind if you have the canonical tag pointing to itself. Bing does mind and you lose their trust for the use of canonical tags. Look at this article: http://www.northsideseo.com/google-vs-bing-canonical-tag/



来源:https://stackoverflow.com/questions/20340008/can-the-canonical-tag-be-used-on-all-pages

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!