Home  >  Article  >  Web Front-end  >  What is the difference between external, nofollow, and external nofollow?

What is the difference between external, nofollow, and external nofollow?

伊谢尔伦
伊谢尔伦Original
2016-11-22 11:29:362541browse

Everyone should know the role of rel=’nofllow’. It tells the search engine not to count this link into weight. Therefore, in most cases, we can nofllow some links that do not want to transfer weight; for example, some non-site links do not want to transfer weight, but need to be added to the page, such as statistical code, registration number link, and user query. Links and more.

In addition to rel=’nofollow’, there are two link attribute forms, one is rel=’external’ and the other is rel=’external nofollow’. What do these two types mean? What's the difference?

rel=’external’

This attribute means to tell the search engine that this link is not a link to this site. In fact, it has the same effect as target=‘_blank’.

Why do you write it like this? Because some websites are famous for using strict DOCTYPE, if you see on the first line of the web page source code: In this case target="_blank" will be invalid, so the parameter rel='external' is used instead.

rel=' external nofollow'

In fact, we have already mentioned the meanings of the two attributes rel='nofollow' and rel='external'. This attribute is basically equivalent to combining the two attributes, which can be roughly interpreted as " This link is not a link to this site, do not crawl or transfer weight." Therefore, from the perspective of SEO, it is an absolutely isolated method, which can effectively reduce the loss of spider crawling.

 The use of external tags and target= The meaning of the "_blank" tag is the same, it means opening the URL in a new window, but in some cases, the effect of target="_blank" is invalid, so sometimes you can use target="external" instead, and in SEO optimization The number of target="_blank" will affect the bounce rate of the website!
Therefore, for rel="external nofollow" and rel="nofollow", the effect of using these two codes is basically the same, but the former is worse than the latter To be more standardized, the translated meaning of the two is: rel="external nofollow" = do not crawl external links, rel="nofollow" = do not crawl.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn