how to remove image index in google search?

Discussion in 'WordPress' started by em2, Nov 15, 2010.

  1. #1
    someone guide me please on how to remove image index from google search. i read a post that say i have to place the following robots.txt file in my server root:
    User-agent: Googlebot-Image
    Disallow: /

    What if i uploaded already a robots.txt file that contains a text like this:
    User-agent: *
    Disallow: /cgi-bin
    Disallow: /wp-admin
    Disallow: /wp-includes
    Disallow: /wp-content
    sitemap: http://mysite.com/sitemap.xml.gz

    what will i do?
     
    em2, Nov 15, 2010 IP
  2. imocoder

    imocoder Member

    Messages:
    45
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #2
    To remove all the images on your site from our index, place the following robots.txt file in your server root:

    User-agent: Googlebot-Image
    Disallow: /
    Code (markup):
     
    imocoder, Nov 16, 2010 IP
  3. imocoder

    imocoder Member

    Messages:
    45
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #3
    Sorry forgot to answer your question, robots.txt should be:
    
    User-agent: *
    Disallow: /cgi-bin
    Disallow: /wp-admin
    Disallow: /wp-includes
    Disallow: /wp-content
    sitemap: http://mysite.com/sitemap.xml.gz
    
    User-agent: Googlebot-Image
    Disallow: / 
    
    Code (markup):
     
    imocoder, Nov 16, 2010 IP
  4. em2

    em2 Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    ok thanks. i'll try this one. so the images that was indexed by google will be removed? how many days before it will be removed? or the robots.txt will take effect only on next images i'll post?
     
    em2, Nov 16, 2010 IP
  5. imocoder

    imocoder Member

    Messages:
    45
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #5
    Maybe google knows how many days will keep them.
    You can also try Google Webmaster Tools to remove URLs.
     
    imocoder, Nov 16, 2010 IP