Home >Web Front-end >Front-end Q&A >What is the difference between external, nofollow, and external nofollow?
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.