Force all Traffic through Cloudflare
Spammers, bots, and hackers will attempt to gain access to your site by bypassing Cloudflare. Therefore, all traffic should be funneled through Cloudflare. If you encounter a problem, you can manage it with your Cloudflare firewall and their suite of tools, or troubleshoot with Cloudflare support.
This is a list of IPv4 and IPv6 addresses of Cloudflare. Copy these rules and paste them into the site's
.htaccess file at the top, then rebuild the site cache. Traffic that does not originate from any of these addresses will be rejected by the site.