On the benefits of Robots.txt documents to the website

Source: Internet
Author: User
Tags root directory

As a website optimization officer, We are very aware of the importance of Robots.txt files on our site, Robots.txt file is just a plain text file, it is like a site map, to the search engine to identify the road, when spiders search a site, it first crawl to check the root directory of the site exists Robots.txt files, if there is, Search engines will follow the contents of the file to determine the scope of access, if the file does not exist, then the search engine will follow the link to crawl. So the programmer should be aware of the benefits of this file when setting up the Robots.txt file for our website?

  First, the Robots.txt file greatly saves the server broadband

We all know that search engines like email retrievers and image strippers consume a lot of broadband and don't have much meaning to the site, And through the Robots.txt can stop unnecessary crawling work, if your site is a picture station, not set up a good Robots.txt file, you will waste a lot of server broadband.

 Second, to facilitate the search engine to climb up work

If your site is rich in content, a lot of pages, Set Robots.txt file is more important, such as you have a website, the entire station has more than 50 g, open the page may be slower, if not configured to Robots.txt file, spider crawling work will be very laborious, and if too many spiders crawl, and will affect the normal access to your site.

 Third, robots.txt file can stop search engine index page

You can through the RobotS.txt file on your website on the Non-public page to stop spider crawling, if your Web site background program, management program is very important do not want to let others see, Then you can set it up by Robots.txt, in fact, for some Web sites that generate temporary pages in the run, the search engine will even index those temporary files if there are no Robots.txt files configured.

Iv. the importance of robots.txt to site map links

If we put our site Map link in the robots.txt file, then we do not have to every search engine webmaster tools or similar webmaster part to submit their sitemap file, the major search engines have released a new way of supporting the site map, is in the robots.txt file directly including Si Links to Temap files. Currently, the search engine companies that support it are Google, Yahoo, and Chinese search engine companies, apparently not in this circle.

The advantage of this is that we can not go every day to the major search engines to submit their sitemap file, can reduce our workload, why not?

Reprint Time Note: This article source Xuzhou recruitment.



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.