Hi,
What is the proper way of listing multiple "User-agent: " in a robots.txt file?
a)
Code:
User-agent: *
Disallow: /
User-agent: Slurp, Googlebot
Disallow: /private
In robots.txt example a (above): Are all engines blocked from seeing everything; including Slurp, and Googlebot? Since the wildcase says every browser are disallowed from accessing anything than that includes Slurp, and Googlebot as well? And is it correct to list multiple crawlers with comma separation?
In robots.tzt example b (below): Are all engines blocked from seeing everything; including Slurp, and Googlebot? Since the user-agent (line separated) says Googlebot, and Slurp can access everything but /private, but then again the wildcard says all engines are blocked from seeing anything. And is it correct to list multiple crawlers with line separation?
b)
Code:
User-agent: Slurp
User-agent: Googlebot
Disallow: /private
User-agent: *
Disallow: /
Please advice.
__________________
I do not share ad revenue.
|