You are Unregistered, please register to gain Full access.    

Go Back   Webmaster Forums & SEO Internet Marketing Resources > Search Engine Optimization > Robots.txt


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-28-2008, 01:50 PM
Junior Member
Points: 120, Level: 2 Points: 120, Level: 2 Points: 120, Level: 2
Level up: 40% Level up: 40% Level up: 40%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2008
Posts: 6
iTrader: (0)
Friends: (0)
MustafaKemal is on a distinguished road
Default How do I create a robots.txt file?

How do I create a robots.txt file?



You can create this file in any text editor. It should be an ASCII-encoded text file, not an HTML file. The filename should be lowercase.

Syntax
The simplest robots.txt file uses two rules:

User-Agent: the robot the following rule applies to
Disallow: the pages you want to block
These two lines are considered a single entry in the file. You can include as many entries as you want. You can include multiple Disallow lines and multiple User-Agents in one entry.

What should be listed on the User-Agent line?
A user-agent is a specific search engine robot. The Web Robots Database lists many common bots. You can set an entry to apply to a specific bot (by listing the name) or you can set it to apply to all bots (by listing an asterisk). An entry that applies to all bots looks like this:

User-Agent: *
Google uses several different bots (user agents). The bot we use for our web search is Googlebot. Our other bots like Googlebot-Mobile and Googlebot-Image follow rules you set up for Googlebot, but you can set up additional rules for these specific bots as well.

What should be listed on the Disallow line?
The Disallow line lists the pages you want to block. You can list a specific URL or a pattern. The entry should begin with a forward slash (/).

To block the entire site, use a forward slash.

Disallow: /
To block a directory and everything in it, follow the directory name with a forward slash.

Disallow: /private_directory/
To block a page, list the page.

Disallow: /private_file.html
URLs are case-sensitive. For instance, Disallow: /private_file.html would block http://www.example.com/private_file.html, but would allow http://www.example.com/Private_File.html.
Reply With Quote

  #2 (permalink)  
Old 02-02-2008, 04:29 PM
Junior Member
Points: 22, Level: 1 Points: 22, Level: 1 Points: 22, Level: 1
Level up: 43% Level up: 43% Level up: 43%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2008
Posts: 6
My Mood:
iTrader: (0)
Friends: (0)
RNHalawi is on a distinguished road
Default

thanks for this.. =)
Reply With Quote
  #3 (permalink)  
Old 02-10-2008, 01:10 PM
CloudStrife's Avatar
Senior Member
 
Join Date: Feb 2008
Posts: 120
My Mood:
iTrader: (0)
Friends: (0)
CloudStrife is on a distinguished road
Default

Thanks for the guide.
Reply With Quote
  #4 (permalink)  
Old 02-11-2008, 04:13 AM
Junior Member
Points: 28, Level: 1 Points: 28, Level: 1 Points: 28, Level: 1
Level up: 56% Level up: 56% Level up: 56%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2008
Posts: 6
iTrader: (0)
Friends: (0)
jonslilbro is on a distinguished road
Default

Awesome tip. I already knew how, but good explanation of it.
Reply With Quote
  #5 (permalink)  
Old 07-13-2008, 06:22 AM
Junior Member
Points: 58, Level: 1 Points: 58, Level: 1 Points: 58, Level: 1
Level up: 16% Level up: 16% Level up: 16%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2008
Posts: 22
iTrader: (0)
Friends: (0)
tack is on a distinguished road
Default

Thanks for your guide.
Reply With Quote
  #6 (permalink)  
Old 11-02-2008, 05:16 AM
Member
Points: 425, Level: 8 Points: 425, Level: 8 Points: 425, Level: 8
Level up: 50% Level up: 50% Level up: 50%
Activity: 31% Activity: 31% Activity: 31%
 
Join Date: Feb 2008
Location: www.princreaseservice.blogspot.com
Posts: 86
My Mood:
iTrader: (0)
Friends: (1)
Chaitanyatvk is on a distinguished road
Send a message via Yahoo to Chaitanyatvk
Default

thank ou dude but iam unable to do that there is problem with my robot.txt
Reply With Quote
  #7 (permalink)  
Old 11-12-2008, 04:06 PM
Junior Member
Points: 40, Level: 1 Points: 40, Level: 1 Points: 40, Level: 1
Level up: 80% Level up: 80% Level up: 80%
Activity: 45% Activity: 45% Activity: 45%
 
Join Date: Nov 2008
Location: England, UK
Posts: 10
iTrader: (0)
Friends: (0)
ImprezaUK is on a distinguished road
Default

Really useful guide, used in our latest

~Regards
Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:22 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82