Robots.txt Tips For Dealing With Bots

Written By
Web Webster
Web Webster
Jan 15, 2010

[ Thanks to Andrew
Weber
for this link. ]

“The robots.txt is used to provide crawling
instructions to web robots using the Robots Exclusion Protocol.
When a web robots visits your site it will check this file,
robots.txt, to discover any directories or pages you want to
exclude from the web robot listing on the search engine. This is an
important file which determines SEO for search engines and can help
rankings.

“User-agent: *
Disallow: /administrator
Disallow: /media
Disallow: /topsecret

“The text above tells the robot not to visit the /administrator
directory, the /media directory or the /topsecret directory. The
robots do not have to follow your suggestions, they can ignore your
“disallows”. It is important to understand that you
really do not control the robots, you only are making suggestions.
So, do not count on keeping that /topsecret directory secret. This
is especially true of malware robots who are really looking for
stuff like the /topsecret directory.”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.