As a website optimizer, We all know the importance of Robots.txt documents to our website, Robots.txt file is just a plain text file, it is like a site map, the search engine to identify the road, when the spider search for a site, it first crawl to check the root directory of the site exists Robots.txt file, if it exists, the search engine will follow the document Content to determine the scope of access, if the file does not exist, then the search engine will crawl along the link. So programmers should be aware of the benefits of this file when setting up Robots.txt files?
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 sitemap file links 。 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 NOTE: This article source Xuzhou recruitment.
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.