How to block Images using robots

Discussion in 'Search Engine Optimization' started by Prasseo, Jan 7, 2013.

  1. #1
    Hi,
    How to block images using robot.txt in SERP results....
     
    Prasseo, Jan 7, 2013 IP
  2. BaiduBE

    BaiduBE Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could make sure that all of your images are in 1 specific folder, for example yoursite.com/images/.
    Then add the following to your robots.txt file:

    User-agent: *
    Disallow: /images/
     
    BaiduBE, Jan 7, 2013 IP
  3. atanu_das1985

    atanu_das1985 Member

    Messages:
    97
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    40
    #3

    I think the following code will work for you

    User-agent: *
    Disallow: /images/

    User-agent: Googlebot-Image
    Disallow: /

     
    atanu_das1985, Jan 7, 2013 IP
  4. santosh.vouch45

    santosh.vouch45 Greenhorn

    Messages:
    124
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    user-agent: *
    disallow: /images/
     
    santosh.vouch45, Jan 7, 2013 IP
  5. rakesh.swaransoft

    rakesh.swaransoft Greenhorn

    Messages:
    119
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    18
    #5
    Go your Robots.txt file and block robots to index your image folder by

    User-agent: *
    Disallow: /images/

     
    rakesh.swaransoft, Jan 7, 2013 IP
  6. dataguru

    dataguru Active Member

    Messages:
    196
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #6
    For Google Crawlers or Spiders where all the images you want to block in one folder i.e., images

    User-agent: *
    Disallow: /images/
     
    dataguru, Jan 7, 2013 IP
  7. Prasseo

    Prasseo Well-Known Member

    Messages:
    883
    Likes Received:
    7
    Best Answers:
    2
    Trophy Points:
    138
    #7
    Hi,
    Thanks for your kind replies....
     
    Prasseo, Jan 8, 2013 IP
  8. andersonsjohn

    andersonsjohn Banned

    Messages:
    653
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #8
    The alt text is on the current html page being crawled. The image is in a folder where the robot must not go, so that image will not appear in the image index.

    The page text content contains the alt text - so it going to be part of whatever is indexed.


    The title on an image or link does not get indexed.
     
    andersonsjohn, Jan 8, 2013 IP