Home arrow Search Optimization arrow Page 4 - I, Robots.txt
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement

I, Robots.txt - Limiting Bots


(Page 4 of 5 )

So far we have focused primarily on how to limit files. Now we will work with limiting specific bots from accessing our files.

If we want to tell one specific bot to stay out of all of our directories, we input the following code into our robots.txt file:


User-agent: Google-Bot

Disallow: /

Now Google should stay away from all of our directories.

We can also tell a specific bot to ignore one or more directories or files, like so:


User-agent: NerdBot

Disallow: /images/

Disallow: /secrets/globaldomination.html

And finally, if we want to specify that several bots are not allowed to access a directory or file, we can do so in this manner:


User-agent: NerdBot

Disallow: /images/

Disallow: /secrets/globaldomination.html


 

User-agent: FatBot

Disallow: /images/

Disallow: /secrets/globaldomination.html

Disallow: /tmp/


 

User-agent: HedonismBot

Disallow: /images/

Disallow: /secrets/globaldomination.html


 

User-agent: Bender

Disallow: /images/

Disallow: /secrets/globaldomination.html

Disallow: /cgi-bin/

Whenever you add a bot, you must include a space between your line, which tells the interpreter that this is a new record.

More Search Optimization Articles
More By Jamesp

blog comments powered by Disqus

SEARCH OPTIMIZATION ARTICLES

- Scientific Results Of 23 Million Visits: Cre...
- Feed Your Blog`s Readers Well
- Laying Out An SEO and Traffic Generation Str...
- Educational Viral Content
- Viral Content Ideas that Appeal to Emotions
- Tapping Popularity for Your Site`s Content
- Mobile SEO Not So Different After All
- List-Worthy Approaches to Viral Content for ...
- Creating Different Types of Viral Content
- How User Generated Content Helps SEO
- Cyber Monday May Break Records
- Should You Move Your Site to HTML5?
- Schema.org and Microdata Markups for SEO
- Search Optimization and 404 Errors
- How to Compute Your Website`s Value
 
SEO Chat Forums  
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Contact Us 
Site Map 
Request Media Kit
Write For Us Get Paid 
SEO Weekly Newsletter
 
SEO Tools
Adsense Calculator
AdSense Preview
Advanced Meta-Tags
Alexa Rank Tool
Check Server Headers
Class C Checker
Code to Text Ratio
CPM Calculator
Domain Age Check
Domain Typos
Future PageRank
Google Dance
Google Keywords
Google Search
Google Suggest
Google vs Yahoo
Indexed Pages
Keyword Cloud
Keyword Density
Keyword Difficulty
Keyword Optimizer
Keyword Position
Keyword Typos
Link Popularity
Link Price Calculator
Meta Analyzer
Meta Tag Generator
Multiple Link Popularity
Page Comparison
Page Size
PageRank Lookup
PageRank Search
Robots.txt Generator
ROI Calculator 
S.E. Comparison 
S.E. Keyword Position 
Site Link Analyzer 
Spider Simulator 
URL Redirect Check 
URL Rewriting 
Privacy Policy 
Support 


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 9 - Follow our Sitemap
Popular SEO Chat Topics
All Tutorials & Tools