Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Keeping Googlebots Out of Images Folders

Googlebot not respecting my robots.txt file

         

hermosa

1:50 pm on Jun 10, 2006 (gmt 0)

10+ Year Member



I have tried everything to stop Googlebots from indexing my image folders. How do I do it? Will that mean that the images won't show up in the caches of my HTML files?

Thanks.

forumposters

1:46 am on Jun 14, 2006 (gmt 0)



I've not heard of Google not listening to your robots.txt commands. Perhaps try the nofollow attribute wherever you link to these folders.

g1smd

1:51 am on Jun 14, 2006 (gmt 0)

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



This should be all you need:

User-agent: *
Disallow: /images/

Remember to have a blank line before the next User-agent declaration if there is more than one in the file.

hermosa

2:48 am on Jun 14, 2006 (gmt 0)

10+ Year Member



Thanks.

Now will that mean the images won't show up in the caches of the HTML files (which is not what I want) or just that the images won't show up separately.

g1smd

10:06 am on Jun 14, 2006 (gmt 0)

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



For normal Google search, the images shown in the Google cache are actually pulled live from your server by the browser.

See the cache of any of your pages, and note the <base href="http://www.yourdomain.com/yourpage.html"> tag that Google inserts in their preamble if the base tag is missing from your page itself.