1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

robots.txt and images

Discussion in 'robots.txt' started by ademmeda, Sep 11, 2011.

  1. #1
    Hi,

    When I did a "site:mysite.com" check on Google today, I noticed that it also indexed the image directory (mysite.com/images/). I don't want Google or other crawlers index it like this that's why I put a robots.txt file such as the following:

    User-agent: *
    Disallow: /images/


    Will this prevent my images appearing on image search results (as single files)?
     
    ademmeda, Sep 11, 2011 IP
  2. ridem

    ridem Member

    Messages:
    38
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #2
    Yes, that should do it.

    However you should note that some webmaster are trying to do SEO for images as well :). It's just another source of SE traffic.
     
    ridem, Sep 11, 2011 IP
  3. ademmeda

    ademmeda Active Member

    Messages:
    354
    Likes Received:
    3
    Best Answers:
    3
    Trophy Points:
    70
    #3
    Well, I want my images appear on image search results but as you see on this search: http://www.google.com/search?q=site:configureweb.com, my image directory (www.configureweb.com/img/posts/) is also indexed and I don't want this. How can I prevent that?
     
    ademmeda, Sep 11, 2011 IP
  4. christopherscott

    christopherscott Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Put the meta robot on your pages other wise it will show in indexing.
     
    christopherscott, Sep 15, 2011 IP
  5. clara.adelin

    clara.adelin Member

    Messages:
    206
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #5
    if use wordpress, you can get plugin for it
     
    clara.adelin, Sep 16, 2011 IP
  6. jabz.biz

    jabz.biz Active Member

    Messages:
    384
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    70
    #6
    User-agent: *
    Disallow: /img/
    Disallow: /images/

    Will forbid all robots.txt obeying search engine crawlers from your images in /img/ and /images/.
     
    jabz.biz, Sep 26, 2011 IP
  7. amherstsowell

    amherstsowell Peon

    Messages:
    261
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    User-agent: *
    Disallow: /img/
    Disallow: /images/

    will good you can easily ristrict your image folder.
     
    amherstsowell, Sep 29, 2011 IP
  8. Sept20

    Sept20 Peon

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks for the tips mate..
     
    Sept20, Oct 5, 2011 IP
  9. seoguys04

    seoguys04 Greenhorn

    Messages:
    49
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #9
    In theory you can block a part or whole website by roots.txt. But as a matter of fact Robots file is just a set of directives for the robots not to index certain files, while it is to be remembered that robots may not follow your directive. If you do not wish your image folder to be crawled you can password protect it.
     
    seoguys04, Oct 7, 2011 IP
  10. WFgirls

    WFgirls Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    its simple :

    User-agent: *
    Disallow: /img/
    Disallow: /images/
     
    WFgirls, Jan 14, 2012 IP