|
jurgen -> RE: Is "robots" content="all" the best for me to use? (2/24/2007 20:49:17)
|
First, the robots.txt file should be in your root directory. It has nothing to do with you actual pages or html code. In your initial post you ask for the meta tag "robots". Yes you want your site spidered, but maybe some of the files you don't want to show up in the search engine. For an example something like Disallow: /style/
Disallow: /images/
This would be the directories you instruct the robots NOT to index. You also can asign certain file as well. With " User-Agent: * " you basically tell ALL spider to follow the rules of "disallow: whatever". You can disallow "user-agents" like googlebot, where this spider would not index your 'style' and 'image' directory. You will have some control of certain crawler to do certain things. But on the contrary, "bad" and "nasty" crawlers just don't give a dung and do whatever they have been programed for. For the most part it will do the job. If you put an empty "robots.txt" file in your root directory means you have noe restrictions to any robots, but at least you won't get the anouying "file not found" in your error log.... [8D]
|
|
|
|