Protect wp-login and wp-admin, proper rule?

Hi, if my country is UK and I don’t want anyone else outside of UK to login to wp-login and wp-admin, is this the correct way to set up the firewall rule in cloudflare?


Another issue is my ISP is dynamic IP, which is why I cannot whitelist a single IP. When I start router it gives me new IP and I turn on my PC like 2-3 times a day so 2-3 new IPs.

So, after turning on PC, can I every time go to and get the ipv4 details, whitelist it in cloudflare and then access wp-login and wp-admin?

View Reddit by yoyobonoView Source

our recommended web hosting companies


website link:


website link:

InMotion hosting

website link:


website link:

Leave a Comment

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