Lu: The role and use of robots.txt and nofollow

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Now more and more SEO optimization friends pay attention to site optimization, station optimization in the robots and Nofollow is also an indispensable details of the operation of the method, many webmaster has been used on the site of the robots and Nofollow properties, we all know like the general site above contact us, About us this is not the need for weight, then we should use robots or nofollow attributes? What do these two attributes mean? Today, Wuhan SEO to discuss with you together:

Let's take a look at the noun explanations for these two attributes:

Robots are Web sites and search engine spiders between a protocol, is the search engine to visit the site to see the first file. When a search spider accesses a site, it first checks to see if there is a robots.txt in the root directory of the site, and if so, the search robot will determine the scope of the visit according to the contents of the file; This is the same as our real-life display card, which clearly tells what is accessible and which is forbidden. With this, spiders visit our site when they can do it!

Nofollow is telling the search engine "do not track links on this page" or "do not track this particular link." The meaning of this label is to tell the search engine this link is not edited by the author's own, so this link is not a vote of confidence, even if the link exists, but also can not get the weight of the allocation, use this attribute can effectively eliminate the production of garbage spam.

We already know the role of these two properties, so how do we take advantage of these two attributes? First or look at the specific use of robots, when our pages appear dead links, or that our site content do not want to be crawled by search engines, or duplicate pages, etc., This time the robots can play his advantage, directly to the content of the screen, do not let search engine spiders crawl. The role of this robots I have written in the front, we can see, there are problems, we can communicate together.

Nofollow can be used to the site is not to do ranking page, for example, the general site is the existence of contact us, the company profile, we all know that the general placement of these categories of places weights are good, but even if you put the company profile and contact us to do the first, is also ineffective, that is, there is no user search for such words, We should use the Nofollow property so that these pages do not get the weight, and these weights are left to the required pages. This allows the focus of the page to get a higher weight, that is, we use this nofollow tag is for those who do not need to optimize the page to get weight. You can refer to these two types of nofollow:

1<metaname= "Robots" content= "nofollow"/>
Write "nofollow" on a meta tag on a Web page to tell the search engine not to crawl all the external links on the page.
  
2<arel= "Externalnofollow" href= "url" ><span> content </span></a>

Place "nofollow" in a hyperlink and tell the search engine not to crawl a particular link.

The most common thing we have now is to add a "rel=" nofollow directly to a tag, which means that the link is not weighted.

Now a lot of seoer put this function to the link, that is, you can see this attribute, but in fact, can not get the weight of each other to us, but now the tool is still very powerful, basic can be checked out, So advise those who are still in such a way to cheat to get the friendship link is not lasting, as a standing as a person, in this detail do not good, you are difficult to succeed.

For these two attributes, I'm going to share it here today, some time ago I was not very clear about the function of these two properties, almost into a misunderstanding, so we do optimization, do not too tangled use of these two properties in the end which is good, the best is to use the two fused, specific problems specific analysis, I hope you can do the details of this operation.

Article author: Lu Guo Crawford if need to reprint please keep the link address http://www.iata.net.cn/964.html like to share!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.