For any Cloudinary plan
Cloudinary supports adding a custom header of X-Robots-Tag that you can add to all your uploads:
headers=>"X-Robots-Tag: noindex"
For more information on how to upload assets via API, please refer to the Upload API reference.
To add this header to already uploaded assets, please use the Upload API Explicit method.
Alternatively, you can add `noindex` as a `meta` tag of your page. For more information on this, please refer to the Google Search documentation.
For our Advanced Plan and above
This header can be added globally on our side. If you are interested in this feature, please reach out to support@cloudinary.com or via our help center.
Comments
9 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.
Is there no way to add this header in the cloudinary admin console? Do I have to re-upload the image through an api?
Hi Pete,
You can add the header as part of an upload preset and use this preset for your uploads.
For already existing assets, you can use the Upload API explicit method to pass this header so no need to reupload it.
Please let me know if there's anything else I can help you with.
Please sign in to leave a comment.