The Blog

Use Cloud Flare to protect your website from unwanted traffic using .htaccess Posted on

This rule below will only allow for traffic from US and Mexico.

RewriteCond %{HTTP:CF-IPCountry} !^(US|MX)$
RewriteRule ^ - [F,L]
This entry was posted in Uncategorized. Bookmark the permalink.

Please Post Your Comments & Reviews

Your email address will not be published. Required fields are marked *



CAPTCHA
Change the CAPTCHA codeSpeak the CAPTCHA code