How to blacklist the words from my site

Hello, I would like to blacklist some words from my site if they are used it shows “Access denied” Error 1020 and will block the request. How do I do this?

You’d need to write a worker or upgrade to a plan which supports Firewall Rules Body Inspection (Enterprise only today I believe).

Fields · Cloudflare Firewall Rules docs


I want to write a worker cause I can actually do that cause I only have a free plan