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

TOOLS YOU CAN USE

advertisement

I, Robots.txt - A Few Pointers


(Page 2 of 5 )

In order to stop web spiders and web robots (as opposed to the real world kind, of which there is no stopping) from accessing and indexing every inch of your website, you use a file known as robot.txt. As the filename suggests, robot.txt is a text file. It contains data that tells a robot whether or not it can access certain areas of your site. Whether or not it abides by your wishes is another matter, but, as you will see in a bit, most of the big search engines presently do.

You store the file in the top-level directory of your site. If you have sub-domains, then each one will require its own robots.txt file. If you exclude it, then the rules will apply for yoursite(dot)com but not for, say, sample(dot)yoursite(dot)com.

Some examples of top-level directories are:

  •   www(dot)sample(dot)com/robots.txt
  •   www(dot)devshed(dot)com/robots.txt
  •   www(dot)nerditup(dot)com/robots.txt

Examples of sub-domain directories where you would store the robots.txt

  • www(dot)your(dot)sample(dot)com/robots.txt
  • www(dot)some(dot)sample(dot)com/robots.txt
  • www(dot)bad(dot)sample(dot)net/robots.txt

Your First Steps

Your first step is to create a new text file. I use Notepad, but Word and OpenOffice work just as well, so long as you save the file as a .txt. The robots.txt file uses two basic lines, the User-Agent and the Disallow. User-Agent lists the spider or bot that you either wish to grant access to or deny access to. Disallow lists the directory or filename you wish for the bot/spider to crawl or not crawl.

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