Can any one tell me that. How to restrict particular Images in a site.

Discussion in 'Google' started by ashwaria, May 25, 2010.

  1. #1
    Can any one tell me that. How to restrict particular Images in a site.I mean If I don't want that google crawl these images what I have to do.

    I have an Idea of Robots.txt file.
     
    ashwaria, May 25, 2010 IP
  2. bermuda

    bermuda Peon

    Messages:
    868
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes the Robots file would do the job nicely, first put all your images inside a folder and then add this to your Robots.txt file:
    User-agent: *
    Disallow: /images/
     
    bermuda, May 26, 2010 IP
  3. JHybrid

    JHybrid Peon

    Messages:
    416
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Great tip!
     
    JHybrid, May 26, 2010 IP
  4. ashwaria

    ashwaria Guest

    Messages:
    119
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Can you just tell me . If my 2 or 3 images are present in root(not in folder).What I need to do for this.

    Is there any other way of restricting this.
     
    ashwaria, May 27, 2010 IP
  5. webcosmo

    webcosmo Notable Member

    Messages:
    5,840
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #5
    you do it same way, just specify the files.
    User-agent: *
    Disallow: /images/Myimage1.gif
    Disallow: /images/Myimage2.gif
    Disallow: /images/Myimage3.gif
     
    webcosmo, May 27, 2010 IP
  6. anna8881

    anna8881 Active Member

    Messages:
    315
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    70
    #6
    yes great tip
     
    anna8881, May 27, 2010 IP
  7. rafderamas

    rafderamas Active Member

    Messages:
    288
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #7
    Thanks for sharing this. I am not a fan of robots.txt actually.
     
    rafderamas, May 27, 2010 IP
  8. Sxperm

    Sxperm Notable Member

    Messages:
    4,386
    Likes Received:
    142
    Best Answers:
    0
    Trophy Points:
    225
  9. ashwaria

    ashwaria Guest

    Messages:
    119
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    If the Images is no more present in folder in that case.
     
    ashwaria, May 31, 2010 IP
  10. bruce_robart

    bruce_robart Member

    Messages:
    547
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #10
    then it will show broken image...
     
    bruce_robart, May 31, 2010 IP
  11. ashwaria

    ashwaria Guest

    Messages:
    119
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Ok thank a lot for your reply
     
    ashwaria, Jul 28, 2010 IP