Mobile app version of vmapp.org
Login or Join
Welton855

: How to exclude certain images on web page from spiders? 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

@Welton855

Posted in: #DuplicateContent #Indexing #Thumbnail

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?

10.04% popularity Vote Up Vote Down


Login to follow query

More posts by @Welton855

3 Comments

Sorted by latest first Latest Oldest Best

 

@Shakeerah822

User-agent: *
Disallow: /wp-content/uploads/*/


Something like this.

Use this code in robots.txt, adding this, you disallow to index the folder /wp-content/uploads/ to all crawlers.

You can found the robots.txt file in your public_html folder.

If this doesn't exist, create it :D

10% popularity Vote Up Vote Down


 

@Heady270

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/

10% popularity Vote Up Vote Down


 

@Gonzalez347

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-->

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme