Search Optimization
  Home arrow Search Optimization arrow Blocking Complicated URLs with Robots....
SEO Chat Forums  
Choosing Keywords  
Google Optimization  
Link Trading  
MSN Optimization  
Search Engine News  
Search Engine Spiders  
Search Optimization  
Web Directories  
Website Marketing  
Website Promotion  
Website Submission  
Yahoo Optimization  
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 
Mobile Linux 
APP Generation ROI 
IBM® developerWorks 
SEO Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
SEARCH OPTIMIZATION

Blocking Complicated URLs with Robots.txt
By: Codex-M
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 4
    2008-10-28

    Table of Contents:
  • Blocking Complicated URLs with Robots.txt
  • Benefits of Proper Robots.txt Usage
  • Google Webmaster tools Robots.txt Analysis Tool
  • More Rules
  • Folder Name

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Blocking Complicated URLs with Robots.txt


    (Page 1 of 5 )

    If you have a large web site, you might have some content that you do not want the search engines to index -- perhaps for duplicate content reasons or you simply don't want someone casually stumbling across it. You know you can use robots.txt, but what if you need to block thousands of pages or block only certain files within a folder? This article will explain some of the more advanced uses of robots.txt. You will even learn how to block dynamic pages!

    An Overview of the Robots.txt File

    Robots.txt is one of the most important files to place in a web server. Basically, below are the main uses of robots.txt file:

    1. It will tell the bots which URLs cannot be crawled.

    2. When the bots receive these restrictions, they will focus on crawling those parts of your web site which are not restricted.

    The main uses are very simple, but actually using robots.txt could be complex and making a mistake with it can banish your site in the search engine index. The objective of this article is to provide advanced techniques in robots.txt for blocking complicated URLs.

    To use a robots.txt file you need server access or FTP access. This tutorial assumes you satisfy the following requirements:

    1. You have a web site and you have full control of it with FTP access for the root directory.

    2. You have registered your web site with Google Webmaster tools.

    Any webmaster can control which parts of their website can be crawled; the problem is the syntax of the robots.txt file. It is sometimes difficult to create the robots.txt syntax correctly without proper training and tools. After you finish reading this tutorial, you should have full knowledge of how to handle robots.txt.

    The basic syntax of robots.txt is:


    User-agent: *

    Disallow: /file or folder to be blocked

    Allow: /file or folder to be allowed


    This file should be uploaded to the root directory of your website to properly function and avoid conflicts. The first line, User-agent: * , means that the syntax will be applied to all bots. To avoid serious problems, it is highly recommended that you use "*" in the user-agent as blocking several bots (instead of all of them at once) increases the risk of mistakes and makes the search engines doubtful of your site content.

    This discussion focuses more on using the robots.txt file for Google. Principles learned from this article can still be applied to other search engines, such as Yahoo; however the practical examples to be illustrated will be tested in Google.

    More Search Optimization Articles
    More By Codex-M


       · Like one excample:I have one website url...
     

    SEARCH OPTIMIZATION ARTICLES

    - More Blogging Tips: Cooking with Gas
    - Blogging Tips from Julie and Julia
    - SEO Essentials: the Proper Web Server and Pl...
    - Steps to Higher Rankings and Traffic
    - Building Linkable Pieces and Titles
    - Page Rank Sculpting
    - Page Rank Optimization
    - ClickTale Review
    - Final Issues: Moving Blogger to WordPress wi...
    - Avoid the Mistakes New SEOs Make
    - Move Your Blogger Blog to WordPress: Getting...
    - How to Move from Blogger to WordPress Using ...
    - Must Have WordPress SEO Plugins
    - Creating Search Engine Friendly URLs with PHP
    - Online Reputation Management with SEO





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    Stay green...Green IT