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?

\[Imgur\]([https://imgur.com/xUEOG3E](https://imgur.com/xUEOG3E))

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 whatismyip.com 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

NameCheap

website link: namecheap.pxf.io/Alaaeldin.medium

Hostinger

website link: https://hostinger.sjv.io/Jr95Qr

InMotion hosting

website link: partners.inmotionhosting.com/XxJ0Jg

Hubspot

website link: hubspot.sjv.io/DV2O35

Leave a Comment

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