There are numerous reasons as to why or when you should control the access of the web robots or web crawlers to your site. As much as you want Googlebot to come to you site, you don't want the spam bots to come and collect private information from your site. Not to mention that when a robot crawls your site it uses the website's bandwidth too! In this post I have explained how you can control the access of the web robots to your site through the usage of a simple 'robots.txt' file.
What are web robots or web spiders?
Web Robots (also known as bots, web spiders, web crawlers, Ants) are programs that traverses the World Wide Web in an automated manner. Search engines (like Google, Yahoo etc.) use web crawlers to index the web pages to provide up to date data.
Why use 'robots.txt' file?
Gooble bot may be crawling your site to provide better search results but at the same time other spam bots may be collecting personal information such as email addresses for spamming purpose. If you want to control the access of the web crawlers on your site, you can do so by using the "robots.txt" file.
How do I ...