|
What are Robots.txt files? Through this tutorial we'll see what a robots.txt file is, how can you make one, what are it's uses and how you can use it on your website if you have one. Please follow this link if you would like to hire an internet consultant from WebBizIdeas.com. What are Robots.txt files ?Robots.txt file is a text file (yea, the ones on notepad) that resides on your server, and controls a whole lot of features on your website (whatever platform it is built on). It's a simple text file in which there are a few lines of text, but it's very powerful that it can even decide whether your website should be shown on Google or not, what part of your website should be shown to the search engines (like Google, Yahoo and MSN). What is a Robots.txt file technically?In order to understand what robots.txt files are, you have to first understand what a Robot (the web one) is. A robot - is technically a program from search engines like Google, Yahoo and MSN that are set out on the internet to do the job of finding out new websites, indexing them and gathering the right information about the website. They are sometime called "spiders", "crawlers" and even "bots". Image by Elliance Where do the Robots come from?Robots are commonly set out by search engines like Google, Yahoo, MSN, Altavista, Ask.com and others. Mainly, these are web servers of the search engines, that are on the constant look out of information on the internet. And they gather information (which ultimately goes to the search engines index) by visiting new websites, gathering up new information from them, following links and calculating and analyzing a whole lot of information from them. What do Robots do?Robots mainly performs four types of tasks.
Not all the search engine robots are the same, some advanced ones like that of Google are known to do more complex tasks like categorizing websites, analyzing their search engine metrics, popularity ratio etc, but generally all the robots perform the above tasks.
'The Life of a Google Robot' image by Google What does a Robots.txt file do?Robots.txt file gives commands to the visiting robots (on the website) to help them index and collect relevant information about the website. It's more like the helpdesk, which will give all information, guidance and help to the visitors at an event about how to reach the venue, important places, time schedule, map etc. The commands on the robots.txt file is completely configurable by the webmaster. Using the right commands, a webmaster can decide everything related to search engines like what search engines are allowed into the website, what is the information available to them, what are the documents that are not available for the search engines and even pass information like how often are pages added to the website and how often should the robots visit them.
Where to spot the Robots.txt file?The Robots.txt file is located at the root folder of your website. This is most often the _public-html or the http-docs folder. Root folder means the top most directory on the website that is accessible to the public. It is critical to place the Robots.txt file in the root folder. Placing it elsewhere will not make it functional.
Why is Robots.txt file and Robots important to a webmaster?Well, for a webmaster Robots.txt should be important because, it helps ensure better indexing of their websites, which means more information passed to search engines and thereby better search engine ranks for them. It is possible for the webmaster to decide how their websites should be crawled, indexed and ranked by the search engines by the use of well-written Robots.txt files. So, it gives them complete (well almost) control over how a search engine "sees" their websites, which is very crucial. How does a Robots.txt file look like?This is a screenshot of two Robots.txt files. One (Screenshot A) has a minimal command usage, while the second (Screenshot B) has a deeper and complex command usage.
(Screenshot B) If you like to see more Robots.txt files, just type in the domain name followed by the /robots.txt filename in the browser of any website you like, and if they are using a Robots.txt file, then it would show up.(Ex: www.google.com/robots.txt, www.yahoo.com/robots.txt) How and what can you control using Robots.txt?You can control how search engines "crawl" your website by using the right commands on Robots.txt. For learning more about commands, let's first take a look at what the general syntax's are. Robots.txt syntax and commands.
1. User-agent: This command on the Robots.txt file specifies the general specification for the search engine robot. How to set up a Robots.txt file?Setting up a Robots.txt file can be tricky if you don't know the basic commands, so make sure you have studied the basics well before proceeding to set up a Robots.txt file. User-agent: * (This means that all user agents are allowed to crawl your entire website.) Free Robots.txt file generatorsThere are quite a number of free online Robots.txt file generators. Here is a list of few. 1. Mcanerin This tool lets you select search engine robots selectively that you'd like to block and create a Robots.txt file which you just need to copy paste.
2. Global promoter Robots.txt generator - Excellent tool that helps you generate a Robots.txt file with the help of a wizard.
SummaryEssentially, Robots.txt is an excellent tool to control how search engines scan your website, and gather up information from them. The more complex and careful you plan your website design, the better your search engine positions would be. But many websites simply ignore this and leave everything to the search engines to decide. Is that a good thing to do? I'd say it all depends on how you want it, if you think "not showing" a folders content to Google will avoid un necessary information being passed to it, and you know exactly how you can accomplish it, then why not use the options?
|


