Forum Moderators: goodroi

Message Too Old, No Replies

Removing specific file type

         

MisterT

5:01 pm on Sep 21, 2006 (gmt 0)

10+ Year Member



Google gives the below instructions for removing a specific file type. (.gif in this example)

User-agent: Googlebot
Disallow: /*.gif$

I'm guessing this would work with all engines? For example, to remove/prevent .gif files from all engines, I would use:

User-agent: *
Disallow: /*.gif$

Am I right?

goodroi

6:09 pm on Sep 21, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Using wildcards in the disallows was not part of the original 1994 robotx.txt protocol. Most robots will not handle these wildcards correctly. This is more of a special Google exception as opposed to an industry wide acceptance.

MisterT

6:47 pm on Sep 21, 2006 (gmt 0)

10+ Year Member



Ok, thanks for the info.

Would Google understand this particular wildcard?

goodroi

3:08 am on Sep 22, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Hi MisterT,

Google would understand this wildcard. It is better to use this type
User-agent: Googlebot
Disallow: /*.gif
to make sure googlebot sees it.

MisterT

8:55 am on Sep 22, 2006 (gmt 0)

10+ Year Member



isn't googlebot smart enough to understand the * wildcard?

i thought it was just other less sophisticated bots that might have trouble?

is there any harm in having both?

goodroi

2:41 pm on Sep 22, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



googlebot will understand the wildcard, my preference is to always make it as easy as possible for the bots, that is why i would add a specific googlebot section. just my personal preference.

MisterT

9:26 pm on Sep 23, 2006 (gmt 0)

10+ Year Member



any idea how long it might take googlebot to respond to something like this?

User-agent: Googlebot
Disallow: /*.gif

in this case, how long after the bot sees that for all .gif files to be removed from the google index? i'm sure this varies, but anyone have a specific experience? this is the first time i've tried doing this. thanks!

MisterT

11:40 pm on Sep 28, 2006 (gmt 0)

10+ Year Member



anyone know how long google takes to respond to this sort of thing?