Nechtan Design
Client Login | Contact Us
P.O. Box 191
Sewickley, PA 15143
412.931.4663
Design Tips
Reference Sheet
Helpful URLs


stairs
Join our mailing list...

No bots please!

09/26/07

Permalink 05:30:12 am, by Angie Email , 221 words, 42027 views   English (US)
Categories: Security

No bots please!

There are two ways that you can tell a search engine not to crawl your site.

The first is a meta tag on your homepage.

The second is a robots.txt file.

The meta tag is simple. As you are writing your page just add the tag:

<meta name="robots” content="none">

This tells bots not to follow links or index your site.

In the content attribute you can use follow or nofollow and index or noindex. The follow or nofollow tells the bots what to do with the links. The index or noindex tells the bots if they should remember the page.

You should also utilize a robots.txt file. Not all bots will pay attention to the meta tag. Google, for instance, does not. This file needs to go in the root directory of your Web site. You should find it if you go to http://www.mysite.com/robots.txt or http://www.myprovider.com/~mysite/robots.txt.

The file can be created in any text editor and contain the lines:

User-Agent: *
Disallow: /

Make sure that the filename is all lowercase.

These two methods combined should keep all bots from crawling and indexing your site. Now, it will stay a little more private for those family pictures you don’t want the world to know about.

Angie

Trackback address for this post:

http://www.nechtan.org/b2/htsrv/trackback.php?tb_id=43

Comments, Trackbacks, Pingbacks:

No Comments/Trackbacks/Pingbacks for this post yet...

This post has 10164 feedbacks awaiting moderation...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

5:30 Design Tip

September 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Search

Categories

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 6

powered by b2evolution free blog software