Forum Moderators: goodroi
As far as I know, the presence of robots.txt neither helps nor hinders with the search engines. You might want to add a minimal robots.txt to prevent lots of 404 return codes in your server logs.
The file below is minimal. Line 1 means that all robots are welcome. Line 2 means that no files or directories are excluded from indexing. These are spider defaults, so the file is functionally equivalent to having no robots.txt file.
User-agent: *
Disallow:
The official robots.txt spec at [robotstxt.org...] states that, "The presence of an empty "/robots.txt" file has no explicit associated semantics, it will be treated as if it was not present, i.e. all robots will consider themselves welcome.", but I've never tried that approach.
Also, (I don't know if this happens for sure, but...) if I was a malicious robot I'd have a look at the robots.txt file, see what's in the Disallow: entry and then go off and have a look! It draws the robots attention to what you don't want attention to be drawn to! So don't try to hide private/secret content using a robots.txt file.