Hotlink Protection prevents your images from being used by other sites, which can reduce the bandwidth consumed by your origin server.
When Cloudflare receives an image request for your site, we check to ensure the request did not originate from visitors on another site. Visitors to your domain will still be able to download and view images.
Technically, this means that Hotlink Protection denies access to requests when the HTTP referer does not include your website domain name (and is not blank).
Hotlink protection has no impact on crawling, but it will prevent the images from being displayed on sites such as Google images, Pinterest, and Facebook.
Enable Hotlink Protection
To enable Hotlink Protection in the dashboard:
Allow hotlinking to specific images
You may want certain images to be hotlinked to, whether by external websites (like Google) or certain situations like when using an RSS feed.
You can allow certain images to be hotlinked by placing them in a directory named
hotlink-ok directory can be placed anywhere on your website.
To allow another website to use
logo.png in a new folder called
Some examples of URLs that will not be checked for hotlinking: