Block single-image URL?

Just because I am becoming a grumpy old man, I'm wondering if I can block a single image URL on a website that I would otherwise like to remain functional? In other words, can I have everything except that one image load?

Thanks.

The short answer is probably no. Pi-hole just blocks at the domain level. It's basically a domain name filter, blocking the name resolution to an IP address for the domains it's configured to suppress. Everything hosted from a blocked domain would be unable to be served. If the image to be blocked is served from a different or very specific domain, you might be in luck but all content from that domain would also be blocked.

1 Like

Thanks. It’s as i feared.

Pi-hole doesn't block URL. It blocks only domains.

You can block the entire domain serving the image, but I don't think this is what you want.

1 Like

Cool. Thanks.

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