Why does Google Image Search still display my images?
I am having trouble with a few image files that I would like to block for Google Image search. I am using Yoast SEO Plugin, which allows me to directly edit the robots.txt file.
A few people with portrait images on the site requested not to appear in image search, so we added entries like the following:
User-Agent: Googlebot-Image
Disallow: /wp-content/uploads/2019/03/domain.eu-adam.png
Disallow: /wp-content/uploads/2020/02/domain.eu-team-eve.jpg
Some time later, we noticed that this is not working anymore, as the images started to reappear on Images results. This may in part be caused by new photos being used with different filenames, but even after updating the file again, deleting the older image files, and giving the Google Indexer some time, Google displays the images. (latest robots.txt update was in May)
Opening domain.eu/robots.txt displays the latest version. Is there some kind of Google or WordPress magic that I am missing?
Topic plugin-wp-seo-yoast robots.txt google-search images Wordpress
Category Web