Home >Web Front-end >HTML Tutorial >The use and analysis of nofollow tags
nofollow is the HTML tag attribute of the link. Webmasters and SEO personnel can use this attribute to tell search engines not to follow the links on this page, or not to follow a specified link. These or this link are not owned by this website. recommended. Once a link uses nofollow, the weight will not be derived.
Controversy about nofollow
There was a time when Zac and Guoping had a dispute about nofollow, which was the end of nofollow. Will PR be wasted? According to the explanation of Google officials, suppose there are 10 links on a page.
Then the PR of the page will be divided into 10 parts and distributed to these links. If one of the links is nofollow, then the corresponding PR will not be exported. As for the PR that should be directed to this link, Don't know where he went. Because according to the explanation, the PR that should be allocated to nofollow links is not allocated to other links that are not nofollowed. The controversy arose because of different interpretations of the original article.
How Baidu supports nofollow
The above controversy is only for Google, and Baidu does not necessarily handle it according to Google's method. In July 2010, Baidu search engineer LEE responded in the "Baidu Webmaster Club" that Baidu supports nofollow, but did not explain how to support nofollow, and whether the weight that should be allocated to nofollow links is also wasted like Google. If it is really a waste, then it is best not to use the links within the site. Why waste weight on the links within the site?
In the evening of October 26, 2012, "Baidu Webmaster Platform-High-end In the "SEO Club" salon, the author asked LEE face to face how Baidu supports nofollow. LEE means that the weight that should be assigned to nofollowed links will be assigned to other links that are not nofollowed. Therefore, using nofollow for in-site links may be a waste of PR on Google, but on Baidu, you can plan the flow of link weight within the site.
How to use nofollow
There are two ways to use nofollow. One is to add the nofollow attribute to the link:
a href=”URL” rel=”nofollow” Filling
a href=”URL” rel=”external nofollow” Filling
The first one is a general way of writing, which is intended to tell search engines not to follow this link; the second The second is a more professional way of writing, intended to tell search engines that this is an external link and should not be followed. Both of these writing methods are for specified links, which can avoid exporting weights to these links and direct the remaining weights to other links on the page. After adding nofollow to a link, when the search engine finds the link for the first time, it will still be put into the queue of URLs to be crawled, and it will also be crawled, but the search engine will record the attribute description of the current web page. The current page does not export weight to this link.
The other is that nofollow can also be used in meta tags:
Both of these writing methods tell all search engines not to follow the links on this web page. And don’t transfer weight to the links on the page. However, the first one is valid for all search engines, and the second one is only valid for Baidu. You can also change it to the Spider name of another search engine. If the search engine supports this tag, it will have the same effect. If a page uses this tag, search engines will not discover and crawl the links on the page.
Use nofollow to optimize internal links
First of all, the links that can be used with nofollow are links to pages that do not compete for rankings, such as registration, login, complaint, report, etc. links. These links do not compete for rankings. They are just functional pages within the site. All links within the site can be nofollowed. As for the often mentioned "contact us", it depends on the situation. Some websites have brands and "*** contact information" also has high search volume. At this time, this page may have ranking value, so it is best not to use it. Links are nofollowed. There is only one export link to another page in another page. If it appears multiple times, you can start using the nofollow tag when it appears for the second time.
In addition to the above pages that do not compete for ranking, nofollow can also be used to control the direction of weight within the site for web pages that compete for ranking. When Tuniu.com's homepage uses nofollow for links within the site, the links enclosed by dotted lines are all nfollow links. Tuniu.com directs the weight of its homepage to pages that compete for rankings, such as tourist destinations and regional guides, and nofollows all links to tour group information. This may be because few people search for tour groups. Some friends may be wondering, since we don’t give weight to these contents, can’t we directly use the JS or framework calls introduced earlier? We can also reduce the size of the web page. It should be noted that Tuniu.com only does not give weight to these tour group information on its homepage. After using nofollow, Baidu can still discover and crawl the pages pointed to by such links. If the content is good, it will still be indexed.
Tuniu.com’s consideration should be to direct the weight of the homepage to important competitive ranking pages as much as possible, and not to give double the weight to tourist groups, but this information still needs to be included in Baidu, and these tourist group information can still be included Enriching the content of the homepage of the website is not like the noisy links around the article page, so I use nofollow directly on the link without using JS or framework calling methods. What needs to be reminded here is that even if the link uses nofollow, the search engine will crawl and include it. This tag only recommends that the current page of the search engine does not transfer weight to this link page. It does not prohibit the crawling and inclusion of the search engine. . At the same time, nofollow is just a "suggestion" in terms of weight. Search engines may not necessarily fully comply with the webmaster's settings. Instead, they have a relatively complete set of algorithms for judging whether various links are meaningful. Whether a specific link still has weight will be determined based on Calculate whether this link has recommendation significance. Search engines will refer to whether the link has nofollow, but they will not just refer to whether the link has the nofollow tag to determine whether the link will derive weight. Search engines will not completely hand over the authority of the link to the webmaster, otherwise there will be chaos.
Continue with the use of nofollow above. This can be done not only on the homepage of the website, but also on any page of the website. Nofollow can assist webmasters and SEO personnel to better guide the flow of weight within the site, so that webmasters and SEO personnel can better optimize the internal links of the website. structure. Many large websites now use nofollow. Off-site links exported from Baidu experience content pages, as well as links to other Baidu products in the top navigation of Baidu Knows, all use nofollow. Therefore, webmasters and SEOs should also pay attention to this label.
For more articles related to the use and analysis of nofollow tags, please pay attention to the PHP Chinese website!