新闻画廊&规范标签 [英] News gallery & canonical tag
问题描述
我有一个关于全球体育产业的新闻网站。有新闻,并有一些新闻有画廊,如:
新闻网址:
example.com/news/tiger-woods-win-the-cup
图库网址:
$ b
example.com/news/tiger- woods-win-the-cup / 1
example.com/news/tiger-woods-win-the-cup/2
example.com/news/tiger-woods-win-the-cup/ 3
我应该添加 canonical
标记到图库HTML中,如下所示?
< link rel = canonical
href =http://www.example.com/news/tiger-woods-win-the-cup/>
注意:画廊页面除了相同的新闻标题外没有任何书面内容;这是所有的照片(1.jpg,2.jpg等)。
所有照片还包含在 / news / tiger-woods-win-the-cup
?
如果不是: 如果是: I have a news site about global sport industry. There are news, and some of the news have galleries, such as: News URL: Gallery URLs: Should I add Note: gallery pages have no written content except of the same news headline; it's all photographs (1.jpg, 2.jpg etc.). Are all photographs also included on If no: If yes: 这篇关于新闻画廊&规范标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
您不得使用规范
链接类型,因为你的新闻页面没有识别内容是重复的还是在上下文(引用)IRI内容的超集(这将是你的画廊页面)。
您可以使用规范
链接类型。example.com/news/tiger-woods-win-the-cup
example.com/news/tiger-woods-win-the-cup/1
example.com/news/tiger-woods-win-the-cup/2
example.com/news/tiger-woods-win-the-cup/3
canonical
tag into the gallery HTML as like below?<link rel="canonical"
href="http://www.example.com/news/tiger-woods-win-the-cup" />
/news/tiger-woods-win-the-cup
?
You must not use the canonical
link type, because you news page doesn’t "identify content that is either duplicative or a superset of the content at the context (referring) IRI" (which would be your gallery pages).
You may use the canonical
link type.