Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have a page with a main image on it that I want to be indexed. I also have a list of other images (thumbnails) on the same web page that should not be indexed or associated with the current page/main image because this is the same list of thumbnails for every page on the website.

How can I stop Google from indexing this content against the page? Can I use a Noindex, Nofollow?

share|improve this question
Are you making use of robots.txt files? –  Paul Aug 20 '13 at 22:22
@Paul do you mean Disallow: /thums/*.jpg ? –  igor Aug 20 '13 at 22:35
robots.txt can be used to block indexing of pretty much anything on a site. If that is the location of everything you want blocked, then that should work. –  Paul Aug 20 '13 at 23:08
@Paul thank you, I will try. I hope, Google will stop navigating via thumbs and will do this via sitemaps, will not it? –  igor Aug 20 '13 at 23:17
I believe you can also manage what Google indexes through their Webmasters Tools, though this will not affect other indexing services as robots.txt will. –  Paul Aug 20 '13 at 23:24

3 Answers 3

Yes, If you want to block certain images of the main webpage then you should use Noindex and Nofollow.

share|improve this answer

What I have found on wiki:

For Yandex:

<!--noindex-->Don't index this text.<!--/noindex-->

For Yahoo:

<div class="robots-nocontent">Don't index this text.</div>

For Google:

<!--googleoff: index--> Don't index this text.<!--googleon: index-->
share|improve this answer
googleoff only works for Google Search Appliance, which is an enterprise-level search platform. It doesn't apply to Google search engine. –  Brendon Aug 21 '13 at 14:03

Put all your thumbnails into a specific directory that is separated from your main images:

  • /image/main/
  • /images/thumb/

Then add a line to your robots.txt file:

Disallow: /images/thumb/
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.