Click Here To Learn More
Stormfront Productions | Professional Web Design
 Call Us Today At 1-800-794-2303 For Your Free Consultation 
Digital Buzz - New! | Press | Clients | Resources | Tools | Support | Affiliates 
HomeAbout UsPortfolioServicesContact Us

Print PackagesWebsite PackagesMultimedia Packages

The Proper Way To Use The robots.txt File Update

by Jimmy Whisenhunt

In my last article about the robots.txt file I had spelled it wrong. It should have been robots.txt instead of robot.txt. The article should read like this:

When optimizing your web site most webmasters don’t consider using the robots.txt file.This is a very important file for your site. It let the spiders and crawlers know what they can and can not index. This is helpful in keeping them out of folders that you do not want index like the admin or stats folder.

Here is a list of variables that you can include in a robot.txt file and there meaning:

1) User-agent: In this field you can specify a specific robot to describe access policy for or a “*” for all robots more explained in example.

2) Disallow: In the field you specify the files and folders not to include in the crawl.

3) The # is to represent comments

Here are some examples of a robots.txt file
User-agent: *
Disallow:

The above would let all spiders index all content.

Here another example
User-agent: *
Disallow: /cgi-bin/

The above would block all spiders from indexing the cgi-bin directory.

User-agent: googlebot
Disallow:

User-agent: *
Disallow: /admin.php
Disallow: /cgi-bin/
Disallow: /admin/
Disallow: /stats/

In the above example googlebot can index everything while all other spiders can not index admin.php, cgi-bin, admin, and stats directory. Notice that you can block single files like admin.php.

About The Author
Jimmy Whisenhunt is the webmaster at VIP Enterprises http://www.vipenterprises.org.
vipenter@vipenterprises.org


Return to the Resources Archive

Weather Current Conditions
Lafayette, IN (47901) 71°F Clear
Testimonials | Strategic Partners | Careers | Privacy | Contact Us
Professional Website Design Indianapolis Indiana
Copyright © 2002-2008, Stormfront Productions, Inc.


Pay your monthly invoice online

Stormfront Productions Is A Full-Service Company Which Provides: Custom Website Design & Development | Enterprise-Level Hosting
SEO / SEM & Internet Marketing Strategies | Flash & Multimedia Services | Print Marketing / Graphic Design & Identity Branding

Partners: Web Design Perth | Web Form Software | Webmaster Forum | Webmaster Tools