Help needed please

Hi,

I am having an issue with hotlink protection and was wondering if you could help me, please?

I would like to filter out hotlink protection for seosniffer.com and Facebook.com because when hotlink protection is on my featured images get broken on these sites when I share my url.

I went to PageRules but could not find a way to filter out these domains so they do not get hotlink protection.

Is there a way to bypass the hotlink per specific domain?

Thank you!

Greetings,

Thank you for asking.

If only you could somehow gather the IP or the AS number for seosniffer, you could block it.
For Facebook, hm … if you block it by the AS number, sharing URLs on Facebook/LinkedIn/Twitter might not work as expected for “image / link previews” :thinking:

In Cloudflare, I am not aware if this is yet possible to configure.

I wonder if you set Content Security Policy for your images … or rather to configure CORS (Access-Control-Allow-Origin) HTTP header for which origins you allow access to your images (resources), it might work. I would have to try out …

Hi,

You could also try the following:

I hope that helps.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.