nofollow is an html tag. This tag is used to tell search engines not to follow links on this web page, or not to follow this specific link. The functions of the nofollow tag: 1. Reduce the weight of this link; 2. Give weight to the homepage of the website.
I remember when I first met the nofollow tag, I saw an article on a blog about how to block spam comments. Now I found that Baidu has joined it. Nofollow tag, today I will study the nofollow tag again. I will talk about the nofollow tag in several aspects below.
1. What is the nofollow tag?
First understand what the nofollow tag is. Nofollow is the attribute value of an html tag. The meaning of this tag tells search engines not to track it. links on this page, or do not follow this specific link. This sentence is quoted from the definition on Baidu Encyclopedia. In layman's terms, it tells the search engine not to follow the links on this web page. Therefore, when the search engine sees that this tag is suitable, it may reduce or completely cancel the link, and at the same time, it will not Weights.
2. The role of the nofollow tag
Now that we understand what the nofollow tag is, we must understand the role of nofollow?
The nofollow tag has two functions:
(1) Do not vote for the link and reduce the weight of this link
(2) Make some content with nofollow added do not participate in the website ranking, so as to give weight to the homepage of the website.
3. How to use the nofollow tag
The usage method is as follows: There are 2 ways to use the nofollow tag:
(1) Web-level nofollow
Description: This code tells the search engine not to follow the entire page, and the code is placed between the codes .
(2) Connection-level nofollow
这里是锚文本
Description: Add rel="nofollow" to the hyperlink to tell the search engine not to follow the entire link.
rel=“nofollow” is generally used in links that have nothing to do with the website.
The above is the detailed content of What is nofollow. For more information, please follow other related articles on the PHP Chinese website!