Forum Moderators: goodroi

Message Too Old, No Replies

Disallow a single image?

Is it possible to block the search engines from indexing a single image?

         

PrattTA1

2:55 pm on Jun 26, 2007 (gmt 0)

10+ Year Member



Is it possible to tell the search engines not to index a single image, but allow them to index the rest of them?

In other words, we only have one image on our site we don't want the search engines to index - is there something we can put in our robots file?

Marshall

3:03 pm on Jun 26, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



User-agent: *
Disallow: /images/image_name.gif

Should do the trick. Just make it the appropriate file path.

Marshall

PS - You can also stick it in your _private folder. I didn't think ofo an already disallowed folder. Sorry.

[edited by: Marshall at 3:29 pm (utc) on June 26, 2007]

Staffa

3:17 pm on Jun 26, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Or you can put your image in an already disallowed directory and make it easy on the SEs not to have to sift through your other images for just one.

PrattTA1

4:59 pm on Jun 26, 2007 (gmt 0)

10+ Year Member



Great! Thanks everyone!