For any plan, Cloudinary supports adding a custom header of X-Robots-Tag (https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag).
You can add headers=>"X-Robots-Tag: noindex"
to all of your uploads for this to be applied. See our Upload API docs for more information on this and please use our Explicit API for existing assets.
For our Advanced plan and above, we can add this setting globally. Please reach out to our support team for further details here.
In addition, you can add noimageindex
to your pages (https://support.google.com/webmasters/answer/79892?hl=en).
Comments
7 comments
Thanks Itay,
how can I add this header to all already uploaded files/images in a folder?
Hi Fabian, sorry for the very late reply. You can add the headers to already existing resources using the Explicit API -> 'headers' parameter.
For customers using their own domain to host images , If your images are already indexed, you can claim your domain on Google Webmaster Tools and remove them with that tool. Also, for Cloudinary Enterprise accounts, you can set your own custom robots.txt.
noindex header for Fetch method would be ideal and is in my bucket list :-)
Hi Brian - You could use a script to update your existing resources via the API Roee mentioned above, or use noimageindex on the HTML pages which include your images, that should provide the same effect.
Google skips the noimageindex parameter. Some of the images it has indexed despite having it on the web page. 😟
Hi Daniel, I'm sorry for the delayed response. Since this is a Google feature, if it's not working as expected, I recommend reaching out to Google support for further assistance.
Please let me know if there's anything else I can help you with.
Please sign in to leave a comment.