![]() |
|
#1
|
||||
|
||||
User-agent field in robots.txtI have read and re-read the robots.txt exclusion protocol here: http://www.robotstxt.org/wc/norobots.html
This bit in the page is confusing to me... Quote:
Am I correct in assuming the following example is valid? Code:
In other words, the first three bots should NOT be fetching any pages off the /ads/ folder? __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#2
|
||||
|
||||
|
Quote:
Doesn't this contradict the first rule? |
|
#3
|
||||
|
||||
|
Should it? From what I understand, every other bot has access to ALL the pages / folders off the site. The three mentioned above that 'rule', may not access anything on /ads/.
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#4
|
||||
|
||||
|
So it is understood, you don't have to put it in right?
|
|
#5
|
||||
|
||||
|
Very TRUE!
Just so that we can move forward with this issue; let's say the example robots.txt is like this instead: Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#6
|
||||
|
||||
|
I have looked through a bunch of examples and tutorials. I believe that if you have multiple user agents being disallowed access to a portion of the site, you have to have individual entries for each user agent.
For, eg. Code:
But, if you have multiple directories being disallowed, you can put them together for a single user-agent. So, Code:
|
|
#7
|
||||
|
||||
|
An update (for anyone else researching the same thing), here's a quote off the email I received from Mr. Martijn Koster:
Quote:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#8
|
|||
|
|||
|
Can you just have
User-agent: googlebot Disallow: /ads/ without having to wory about User-agent: * Disallow: ? |
Recent GIDBlog
Toyota - 2008 July Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| c++/cgi program can't open file in user dir | mikenowo | Apache Web Server Forum | 2 | 04-Mar-2004 19:33 |
| Need Help on checking user input | hihellochao | C Programming Language | 5 | 27-Feb-2004 13:30 |
| Grouping data from MySQL with PHP - Newbie question. | giobbi | MySQL / PHP Forum | 12 | 27-Feb-2004 00:34 |
| text field problm | zuzupus | Web Design Forum | 3 | 04-Sep-2003 05:18 |
| wannabrowswer - http user agent spoofing | jrobbio | Web Design Forum | 2 | 22-Mar-2003 07:11 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The