什么时候应该使用rel = noreferrer? [英] When should I use rel=noreferrer?
问题描述
我必须链接其他一些外部站点.
I have to link some other external sites.
我知道什么时候使用nofollow
.但是我不清楚何时应该使用rel=noreferrer
.
I know when to use nofollow
. But I am not clear when I should use rel=noreferrer
.
推荐答案
简而言之, noreferrer
链接类型在单击链接时会隐藏引荐来源信息.链接类型为noreferrer
的链接看起来像这样:
In short, the noreferrer
link type hides referrer information when the link is clicked. A link with the noreferrer
link type looks something like this:
<a href="http://www.example.com" rel="noreferrer">Click here for more info</a>
如果有人通过使用此链接类型的链接到达您的网站,则您的分析将不会显示谁引用了该链接.相反,它会错误地在您的获取渠道报告中显示为直接流量.
If someone arrives at your site from a link that uses this link type, your analytics won't show who refered that link. Instead, it will mistakenly show as direct traffic in your acquisition channels report.
如果您拥有不信任的其他人站点的外部链接,并且想要隐藏引荐来源信息,则可以将两者结合并使用
<a href="http://example.com/sample_page/" rel="noreferrer nofollow">Other Domain Link</a>
我建议您将nofollow
链接用于以下内容:
I advise you to use nofollow
links for the following content:
- 评论中或论坛上的链接-任何包含用户生成内容的内容都可能是垃圾邮件的来源.即使您小心翼翼,事情也会悄悄溜走.
- 广告与amp;赞助商链接-必须取消所有旨在成为广告或属于赞助安排的链接.
- 付费链接-如果您以任何方式对链接收费(目录提交,质量评估,评论等),则
nofollow
出站链接
- Links in comments or on forums - Anything that has user-generated content is likely to be a source of spam. Even if you carefully moderate, things will slip through.
- Advertisements & sponsored links - Any links that are meant to be advertisements or are part of a sponsorship arrangement must be nofollowed.
- Paid links - If you charge in any way for a link (directory submission, quality assessment, reviews, etc.),
nofollow
the outbound links
这篇关于什么时候应该使用rel = noreferrer?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!