Home | Site Map | Submit Article
.
Article Search
 
Article Categories

Advice

Auto Motive

Business

Communications

Computers & Internet

Dating

Education

Employment

Entertainment

Environment

Family

Fashion

Finance

Food & Drink

Gardening

Health

Hobbies

Home Business

Home Improvement

Humor

Kids & Teen

Legal

Marketing

Music

Online Business

Parenting

Pets

Product Reviews

Real Estate

Recreation & Sports

Self Improvement

Site Promotion

Technology

Travel & Leisure

Web Development

Women

World Affairs

Writing

 
   
   The proper way to use the robot.txt file


24 Feb 2008 12:33:29
| Jimmy Whisenhunt


When optimizing your web site most webmasters don’t consider using the robot.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 robot.txt file

User-agent: *
Disallow:

The above would let all spiders index all content.

Here another

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 Author :

Jimmy Whisenhunt is the webmaster at VIP Enterprises


Home >> Web Development

More Related Articles in " Web Development "
>>
Do not business cards [ Author : Florie Lyn Masarate ]
>>
Wireless Interconnected Smoke Alarms: Fire Protection for your home [ Author : Tuesday Knight ]
>>
Creating Your First Web Site, Part 2 [ Author : Lisa Maliga ]
>>
Make Your Website Stand Out With an Icon Design [ Author : Thomson Chemmanoor ]
>>
Building the Website of Your Dreams Not Your NightMares [ Author : Judi Singleton ]
>>
Building a Profitable Web Site through Outsourcing [ Author : Riya Estrada ]
>>
Are you scaring visitors away from your site instead of [ Author : Akanksha Sinha ]
>>
Website Hosting Tips - Ten Factors To Consider When Choosing A Website Host [ Author : Simon Akers ]
>>
Regarding the AdSense Updates... [ Author : Daniel Robson ]
>>
Why Stock Photography is a Great Resource for Web Business [ Author : Kelly Paal ]
 

 
© Copyright 2005-2007 Free Articles by articleburn.com All rights reserved
eXTReMe Tracker