新闻画廊&规范标签 [英] News gallery & canonical tag

查看:108
本文介绍了新闻画廊&规范标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于全球体育产业的新闻网站。有新闻,并有一些新闻有画廊,如:

新闻网址:

  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中,如下所示?

$ b

 < link rel = canonical
href =http://www.example.com/news/tiger-woods-win-the-cup/>

注意:画廊页面除了相同的新闻标题外没有任何书面内容;这是所有的照片(1.jpg,2.jpg等)。

解决方案

所有照片还包含在 / news / tiger-woods-win-the-cup



如果不是:

不得使用规范链接类型,因为你的新闻页面没有识别内容是重复的还是在上下文(引用)IRI内容的超集(这将是你的画廊页面)。

如果是:

您可以使用规范链接类型。


I have a news site about global sport industry. There are news, and some of the news have galleries, such as:

News URL:

example.com/news/tiger-woods-win-the-cup

Gallery URLs:

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

Should I add canonical tag into the gallery HTML as like below?

<link rel="canonical" 
href="http://www.example.com/news/tiger-woods-win-the-cup" />

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 /news/tiger-woods-win-the-cup?

If no:
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).

If yes:
You may use the canonical link type.

这篇关于新闻画廊&amp;规范标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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