For most of us, traffic is the driving force behind our blogs and motivation to blog. Therefore, it may seem silly to think that you would want to prevent a lot of potential traffic from Google’s image search.

However, some bloggers like to post personal pictures, or custom make their pictures and don’t want others to take them when possible. If you fit into this category, you can easily prevent Google from indexing your pictures by placing the following code into your blog’s header file above the < /head > tag:

<meta name="robots" content="noimageindex">

If your site has a problem with people taking your content (including the pictures), then there is a chance Google will still index them when they index that person’s website. Another route you can take is to place images into a folder then add a disallow to your Robots.txt file. For WordPress users, this is fairly easy as by default, we already have pictures in either our Images folder of our theme, or the uploads folder (unless you’ve assigned a custom path for your images). You can add something like the following to your Robots.txt file:

User-agent: *
Disallow: /images/


User-agent: *
Disallow: /uploads/

Kyle Eslick is WordPress enthusiast who took his passion for WordPress to the next level in 2007 by launching as a place to share hacks, tutorials, etc. Follow Kyle on Twitter @KyleEslick!

  1. Vijay says:

    Really useful tip

  2. FireEar says:

    I don’t see a lot of benefit in blocking Google from indexing your images. Most sites have some customization to their images even if its stock photos, they are at least scaled and cropped differently. You can gain a welcome amount of traffic from Google image search, so for most blogs that depending on CPM advertising you want that traffic.

    I see your concern about personal images, but wouldn’t that defeat the purpose of making a page public? You are making it public so everyone can see your photos and people will visit Google image search and find your thumbnails. If they are more interested and want to see a larger version of your photos they will click it and they will see what you intended for a casual visitor on a public page.

  3. Jelbee says:

    What is the use of not allowing google index the images. I think it is musch better if google index the images from search results.

  4. Mumbai says:

    The problem that I sometimes face is that Google gives a better ranking to post images rather the post.

    I would prefer that the post has a better ranking so that people read the post rather than just look at the image.

    Any advise on this problem?

    • Hillary Bost says:

      I could be wrong but, I think that it is easier to rank for the images because no as many people label and optimize their photo’s there for making it easier and with less people doing it, you don’t have as much competition.

Trackbacks/Pingbacks »

  1. Come evitare l’indicizzazione da parte di Google delle immagini contenute nel proprio blog Wordpress - Geekissimo says:
  2. Wordpress - Prevent Google From Indexing Your Images | Wordpress | .:Lir3nt's Hack:. | The Best of Web says:
  3. 100+ Killer Wordpress Resources | Steffan Antonas' Blog says: