Add No-Index to Images
When Google spiders reach to our site, google automatically index everything with our site images. If we want to make a non-indexable images, there is a simple code. We can make all our images non-indexable. We will add a code to our header.php. Also we can stop directory indexing with simple Robots.txt command.
And we begin…
No-Index for all images
<meta name="robots" content="noimageindex">
Add this code to header.php and Google don’t resume to index your images.
Also if you want to stop directory indexing. Open your robots.txt. This file located in your Root area;
Ex: We haveĀ images and siteimages folders. And we have a robots.txt like this.
User-agent: * Disallow:
We will change this to;
User-agent: * Disallow: /images/ Disallow: /siteimages/
Thats All! Have a nice day!
