How to block specific URL for some countries


My wordpress website is receiving a lot of attacks and we want anyone in any country can visit it, But also we want to block specific URL for some countries.

I have solved how to block my entire site for countries but not an specific URL

How did you do this? I’d recommend using Firewall Rules.

I have made a firewall rule which blocks all my website url’s to some countries, but I need to block a specific URL. That’s what I want to know

You can do the same type of firewall rule, but with one of the URI options farther down the list. Or combine with country name as well.

This topic was automatically closed after 26 days. New replies are no longer allowed.