Hide website - block all bots

You can manage it using a Cloudflare Firewall Rules, to allow requests from only your wanted IP address to pass throught and block the requests from each other.

Anyone trying to access your site would get an error “1020 Access Denied”, more information about it can be found on the below article:

https://support.cloudflare.com/hc/en-us/articles/360029779472-Troubleshooting-Cloudflare-1XXX-errors#error1020

You would need to create a rule and add it to your Firewall rules for your domain, which should look like:

(ip.src ne 1.2.3.4) where 1.2.3.4 is your IP address.

Moreover, there is a way to lock your zone here (requires a Paid Plan):

https://support.cloudflare.com/hc/en-us/articles/115001595131-Understanding-Cloudflare-Zone-Lockdown

1 Like