How do i stop indexing blog images? Can i do it robots.txt?

Discussion in 'Google Sitemaps' started by TSG, May 23, 2012.

  1. #1
    Hi!
    I need to remove my blog images from Google search engine. And i need to prevent image indexing. So i need to know can i do it using robots.txt by adding this type of code?


    User-agent: Mediapartners-Google
    Disallow:

    User-agent: Googlebot-Image
    Disallow: /

    User-agent: *
    Disallow: /search
    Allow: /

    Sitemap: (my sitemap in here)



    Thanks!
     
    TSG, May 23, 2012 IP
  2. tonysafescaffolding

    tonysafescaffolding Peon

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yo TSG try this:

    User-agent: Googlebot
    Disallow: /*.gif$"
    Disallow: /*.jpg$"
    Disallow: /*.png$"


    If your some strange reason you have other image type just disallow that filetype as well
     
    tonysafescaffolding, May 29, 2012 IP