External links: when use rel=“external” or rel=“nofollow”?

萝らか妹 提交于 2020-01-20 17:08:10

问题


In most of my web site I have a lot of external links to my other sites and other external sites. I need to know when is better to use rel="nofollow" or rel="external" in a website?


回答1:


You may use external for every link to a different website, no matter if it’s yours or not, if it’s on the same host or not.

You may use nofollow for every link that you don’t endorse (for example: search engines shouldn’t assume that it’s a relevant link and should not give any ranking credit to this link).

You may use both values for the same link:

<a href="http://example.com/" rel="external nofollow">Foobar</a>

Note that external doesn’t convey that the link should be opened in a new window.

Note that search engine bots (that support nofollow) might still follow a nofollow link (it doesn’t forbid to follow it). FWIW, there is also the nofollow value for the meta-robots keyword (which may mean the same … or not, depending on which definition you follow).




回答2:


nofollow links attributes do not allow search engine bots to follow link. If you have rel="nofollow" then the juice stops.

rel="external" dosent act like nofollow. its DoFollow link.

For rel="external" it means the file is on a different site to the current one. rel="external" is the XHTML valid version that informs search engine spiders that the link is external. However, using this does not open the link in a new window. target="_blank" and target="_new" does this, but is not XHTML valid. I hope that helps.

I advise you to use Nofollow Links for the following content:

  • 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

**

If you have an external link to your own site then use

<a href="http://example.com/sample_page/" rel="external">Your Link</a>

If you have external link to someone else's site you don't trust then you can combine both and use

<a href="http://example.com/sample_page/" rel="external nofollow">Other Domain Link</a>

If you have an external link to someone else's site and you consider it's trustworthy then use

<a href="http://example.com/sample_page/" rel="external">External Useful Link</a>



回答3:


It depends what you mean by "better". Those are two comopletely different attribute. rel = nofollow tells the Search engine crawlers not to look at this link (probably you don't want this to happen for your other websites, but you will use it for other's web sites). Documentation: rel=nofollow - https://support.google.com/webmasters/answer/96569?hl=en

rel = external tells that the link is not part of the web site and open the link in a new window (it's not working for older IE). It is used as a valid XHTML attribute instead of target="_blank". Here you can learn how to use it: http://www.copterlabs.com/blog/easily-create-external-links-without-the-target-attribute/



来源:https://stackoverflow.com/questions/19481030/external-links-when-use-rel-external-or-rel-nofollow

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