Yes, it's possible. Use your 2nd variant. After some time, these restricted images will dissapear from image search, since Google will remove it from the index due to robots.txt restriction. Don't forget to add/test new robots.txt to your Google Webmaster Tools account.
Search results on google image search shows slider images [closed]
-
29-09-2022 - |
题
Is there any way to disallow slider images on google search results ? I heard that making robots.txt will fix this problem.
User-agent: Googlebot-Image
Disallow: /images/abc.jpg
: this is for a perticular image. and I want to disallow a whole image directory
User-agent: Googlebot-Image
Disallow: /images/
: is it possible to make something like this ? will it affect the existing search result ?
解决方案
不隶属于 StackOverflow