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

TOOLS YOU CAN USE

advertisement

I, Robots.txt - Commenting and Loosely Supported Extensions


(Page 5 of 5 )

There are several directives you can use that may or may not be supported by the different search engines. They are listed below:

Crawl-delay

If you want to set the number of seconds between recurrent requests to the same server, you can do so by using Crawl-delay. Here it is in action:


User-agent: *

Crawl-delay: 60

Or


User-agent: FatBot

Crawl-delay: 120

The first example makes all bots wait 60 seconds. The second one makes FatBot wait two minutes before doing a recurrent request.

Using Sitemaps Auto-Discovery

This handy dandy little guy allows you to tell the bot where your list of URLs are. You can add it anywhere in your file, like so:

Sitemap: http://www(dot)sample(dot)com/sitemap(dot).xml

Allow

Allow is a nifty directive that works by letting you specify that a bot can look at certain files within a disallowed directory. Let's say that you have disallowed an image directory, but there is a file in that directory you decide later on that you would like to have indexed. Instead of having to block every other file in the directory, you can simply do this:


User-agent: *

Disallow: /images/

Allow: /images/mefeedingorphans.jpg

Now all agents will be able to enter your /images/ directory, but they will only look at the file(s) you tell them to.

Commenting

You can leave comments in your robots.txt files by preceding them with a pound(#) symbol, like so:


# Here is a comment

User-agent: * # all bots should follow the disallow

Disallow: /images/ # no bot should access the images directory

Conclusion

Well, that's it for this article. There are still more features of robots.txt to discuss, like the Robots Meta Data Tag, and more issues to speak of, like NoFollow and ACAP, all of which we will cover in a future article.

Till then...

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