|The robots.txt file is placed in your www or public_html directory.
So the correct location where to put this file is in www.yourdomainname.com/robots.txt. This file indicates how "deep" the spiders can crawl into your website.
It's possible to keep a spider out of a directory that's called "customers" or a directory like "images". Obviously it's a request, not a guarantee. And if you don't want the file /secret1960 to be found by anyone, maybe it's better not to put it on the internet anyway, and especially not in your robots.txt file. If you want to protect your information you use a password security like .htaccess or a login-script.
This robot.txt file could look like this :
Sometimes spiders ask you to add the following line:
Download our example txt file and add it in the root of your website. In the root we mean the www file or also called the http_docs or public_html. It's important that the file is in the correct location and that is :
Click on the file with the right mouse button to download the example text file. (select save or save as). Edit the file and add it to your own website.
|© 2015 - Part of the The MetaTags Company BV - Last update: 26-05-2015|