I have BPS pro and I would like to whitelist Cloudflare IP address range by adding it to the htaccess file. To do this, I would need to go to the htaccess File Editor in the BPS plugin and edit that file?
Would I add the IP range like this?
#(IPv4)
#Allow from 173.245.48.0/20
#Allow from 103.21.244.0/22
#(IPv6)
#Allow from 2400:cb00::/32
#Allow from 2405:8100::/32
Or should it be without the "#" like this?
#(IPv4)
Allow from 173.245.48.0/20
Allow from 103.21.244.0/22
#(IPv6)
Allow from 2400:cb00::/32
Allow from 2405:8100::/32
Do I need to add "order deny,allow" before the IP address list like so?
order deny,allow
#(IPv4)
#Allow from 173.245.48.0/20
#Allow from 103.21.244.0/22
#(IPv6)
#Allow from 2400:cb00::/32
#Allow from 2405:8100::/32
Thank you