我什么时候应该使用 rel=noreferrer? [英] When should I use rel=noreferrer?

查看:24
本文介绍了我什么时候应该使用 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:

  • 评论或论坛中的链接 - 任何包含用户生成内容的内容都可能成为垃圾邮件的来源.即使你小心地缓和,事情也会溜走.
  • 广告&赞助商链接 - 任何旨在作为广告或作为赞助商安排一部分的链接都必须不被关注.
  • 付费链接 - 如果您以任何方式对链接收费(目录提交、质量评估、评论等),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屋!

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