
Most Of The Common Users Or Visitors Use Different Available Search Engines To Search Out The Piece Of Information They Required. But How This Information Is Provided By Search Engines? Where From They Have Collected These Information? Basically Most Of These Search Engines Maintain Their Own Database Of Information. These Database Includes The Sites Available In The Webworld Which Ultimately Maintain The Detail Web Pages Information For Each Available Sites. Basically Search Engine Do Some Background Work By Using Robots To Collect Information And Maintain The Database. They Make Catalog Of Gathered Information And Then Present It Publicly Or At-times For Private Use.In This Article We Will Discuss About Those Entities Which Loiter In The Global Internet Environment Or We Will About Web Crawlers Which Move Around In Netspace. We Will Learn What It's All About And What Purpose They Serve ?Pros And Cons Of Using These Entities.How We Can Keep Our Pages Away From Crawlers ?Differences Between The Common Crawlers And Robots.In The Following Portion We Will Divide The Whole Research Work Under The Following Two Sections :I.Search Engine Spider : Robots.txt.II.Search Engine Robots : Meta-tags Explained.I. Search Engine Spider : Robots.txtWhat Is Robots.txt File ?A Web Robot Is A Program Or Search Engine Software That Visits Sites Regularly And Automatically And Crawl Through The Web's Hypertext Structure By Fetching A Document, And Recursively Retrieving All The Documents Which Are Referenced. Sometimes Site Owners Do Not Want All Their Site Pages To Be Crawled By The Web Robots. For This Reason They Can Exclude Few Of Their Pages Being Crawled By The Robots By Using Some Standard Agents. So Most Of The Robots Abide By The 'Robots Exclusion Standard', A Set Of Constraints To Restricts Robots Behavior. 'Robot Exclusion Standard' Is A Protocol Used By The Site Administrator To Control The Movement Of The Robots. When Search Engine Robots Come To A Site It Will Search For A File Named Robots.txt In The Root Domain Of The Site (http:www.anydomain.comrobots.txt). This Is A Plain Text File Which Implements 'Robots Exclusion Protocols' By Allowing Or Disallowing Specific Files Within The Directories Of Files. Site Administrator Can Disallow Access To Cgi, Temporary Or Private Directories By Specifying Robot User Agent Names.The Format Of The Robot.txt File Is Very Simple. It Consists Of Two Field : User-agent And One Or More Disallow Field.What Is User-agent ?This Is The Technical Name For An Programming Concepts In The World Wide Networking Environment And Used To Mention The Specific Search Engine Robot Within The Robots.txt File. For Example :User-agent: GooglebotWe Can Also Use The Wildcard Character "" To Specify All Robots :User-agent: Means All The Robots Are Allowed To Come To Visit.What Is Disallow ? In The Robot.txt File Second Field Is Known As The Disallow: These Lines Guide The Robots, To Which File Should Be Crawled Or Which Should Not Be. For Example To Prevent Downloading Email.htm The Syntax Will Be:Disallow: Email.htmPrevent Crawling Through Directories The Syntax Will Be:Disallow: Cgi-binWhite Space And Comments :Using At The Beginning Of Any Line In The Robots.txt File Will Be Considered As Comments Only And Using At The Beginning Of The Robots.txt Like The Following Example Entail Us Which Url To Be Crawled. Robots.txt For Www.anydomain.comEntry Details For Robots.txt :1)User-agent: Disallow:The Asterisk () In The User-agent Field Is Denoting "all Robots" Are Invited. As Nothing Is Disallowed So All Robots Are Free To Crawl Through.2)User-agent: Disallow: Cgi-binDisallow: TempDisallow: PrivateAll Robots Are Allowed To Crawl Through The All Files Except The Cgi-bin, Temp And Private File.3)User-agent: DangerbotDisallow: Dangerbot Is Not Allowed To Crawl Through Any Of The Directories. "" Stands For All Directories.4)User-agent: Dangerbot Disallow: User-agent: Disallow: TempThe Blank Line Indicates Starting Of New User-agent Records. Except Dangerbot All The Other Bots Are Allowed To Crawl Through All The Directories Except "temp" Directories.5)User-agent: DangerbotDisallow: Linkslisting.htmlUser-agent: Disallow: Email.htmlDangerbot Is Not Allowed For The Listing Page Of Links Directory Otherwise All The Robots Are Allowed For All Directories Except Downloading Email.html Page.6)User-agent: AbcbotDisallow: .gif To Remove All Files From A Specific File Type (e.g. .gif ) We Will Use The Above Robots.txt Entry.7)User-agent: AbcbotDisallow: ?To Restrict Web Crawler From Crawling Dynamic Pages We Will Use The Above Robots.txt Entry.Note : Disallow Field May Contain "" To Follow Any Series Of Characters And May End With "" To Indicate The End Of The Name.Eg : Within The Image Files To Exclude All Gif Files But Allowing Others From Google CrawlingUser-agent: Googlebot-ImageDisallow: .gifDisadvantages Of Robots.txt : Problem With Disallow Field:Disallow: Css Cgi-bin ImagesDifferent Spider Will Read The Above Field In Different Way. Some Will Ignore The Spaces And Will Read Csscgi-binimages And May Only Consider Either Images Or Css Ignoring The Others.The Correct Syntax Should Be :Disallow: CssDisallow: Cgi-binDisallow: ImagesAll Files Listing:Specifying Each And Every File Name Within A Directory Is Most Commonly Used MistakeDisallow: Abcdef.htmlDisallow: Abghij.htmlDisallow: Abklmn.htmlDisallow: Opqrst.htmlDisallow: Opuvwx.htmlAbove Portion Can Be Written As:Disallow: AbDisallow: OpA Trailing Slash Means A Lot That Is A Directory Is Offlimits.Capitalization:USER-AGENT: REDBOTDISALLOW:Though Fields Are Not Case Sensitive But The Datas Like Directories, Filenames Are Case Sensitive.Conflicting Syntax:User-agent: Disallow: User-agent: RedbotDisallow:What Will Happen ? Redbot Is Allowed To Crawl Everything But Will This Permission Override The Disallow Field Or Disallow Will Override The Allow Permission. II. Search Engine Robots: Meta-tag Explained: What Is Robot Meta Tag ?Besides Robots.txt Search Engine Is Also Having Another Tools To Crawl Through Web Pages. This Is The META Tag Which Tells Web Spider To Index A Page And Follow Links On It, Which May Be More Helpful In Some Cases, As It Can Be Used On Page-by-page Basis. It Is Also Helpful Incase You Don't Have The Requisite Permission To Access The Servers Root Directory To Control Robots.txt File. We Used To Place This Tag Within The Header Portion Of Html. Format Of The Robots Meta Tag :In The HTML Document It Is Placed In The HEAD Section.html HeadMETA NAME"robots" CONTENT"index,follow"META NAME"description" CONTENT"Welcome To......."title...............titleheadbodyRobots Meta Tag Options :There Are Four Options That Can Be Used In The CONTENT Portion Of The Meta Robots. These Are Index, Noindex, Follow, Nofollow.This Tag Allowing Search Engine Robots To Index A Specific Page And Can Follow All The Link Residing On It. If Site Admin Doesn't Want Any Pages To Be Indexed Or Any Link To Be Followed Then They Can Replace " Index,follow" With " Noindex,nofollow". According To The Requirements, Site Admin Can Use The Robots In The Following Different Options :META NAME"robots" CONTENT"index,follow" Index This Page, Follow Links From This Page.META NAME"robots" CONTENT "noindex,follow" Don't Index This Page But Follow Link From This Page.META NAME"robots" CONTENT "index,nofollow" Index This Page But Don't Follow Links From This PageMETA NAME"robots" CONTENT "noindex,nofollow" Don't Index This Page, Don't Follow Links From This Page.