İçeriğe git
  • madde
    19
  • yorum
    8
  • görünüm
    393

About /robots.txt

belgeport

54 kez okundu

About /robots.txt

In a nutshell

Web site owners use the /robots.txt file to give instructions about their site to web robots; this is called The 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.

See also:

0 Yorum


Önerilen Yorumlar

Görüntülenecek yorum yok.

Bir hesap oluşturun veya yorum yapmak için oturum açın

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Giriş yap

Zaten bir hesabınız var mı? Buradan giriş yapın.

Şimdi Oturum Aç
×
×
  • Yeni Oluştur...