Community Discussion

What Is The Robots.txt File?

# SEO
April 2, 2014
spyindiadanish Author Level 1

Write the reason you're deleting this FAQ

What Is The Robots.txt File?
7

Comments 7

April 3, 2014
stayonline
Web site owners use the /robots.txt file to give instructions about their site to web robots; this is calledThe Robots Exclusion Protocol.

It works likes this: a robot wants to vists a Web site URL, say http://www.example.com/welcome.html. Before it does so, it firsts checks for http://www.example.com/robots.txt, and finds:

User-agent: *
Disallow: /

The "User-agent: *" means this section applies to all robots. The "Disallow: /" tells the robot that it should not visit any pages on the site.

There are two important considerations when using /robots.txt:

  • robots can ignore your /robots.txt. Especially malware robots that scan the web for security vulnerabilities, and email address harvesters used by spammers will pay no attention.
  • the /robots.txt file is a publicly available file. Anyone can see what sections of your server you don't want robots to use.

So don't try to use /robots.txt to hide information.

Enter a reason for deleting this comment

April 4, 2014
July 23, 2014
jaysh4922
Robot.txt is an on-page SEO technique and it is basically used to allow for the web robots also known as the web wanderers, crawlers or spiders. It is a program that traverses the website automatically and this helps the popular search engine like Google to index the website and its content.

Enter a reason for deleting this comment

November 6, 2015
johnniewalk
Robot .txt file is a option where we can use in webmaster tool if you want to index or not to index a particular image you can use robot .txt file

Enter a reason for deleting this comment

josephinek1
Robot.txt:

It is an HTML tag placed on the source of a web page which redirects search engine spiders which files to crawl on or not.

Enter a reason for deleting this comment

patco444
It's a file that can tell which inner pages of your website to be indexed by Google & other SE's What Is The Robots.txt File?

Enter a reason for deleting this comment

Please login or sign up to leave a commentJoin