You can return to this page if you wish to unblock these IP addresses.
Posted: Wed Jan 22, 2025 10:22 am
Blocking an IP address with cPanelThis method will completely block an IP address from accessing your website. You should use this method if you want to protect your WordPress website from hacking attempts and DDoS attacks.
First, you need to log into the cPanel dashboard of your hosting account. Now scroll down to the Security section and click on the “IP Blocker” icon.
The cPanel IP Blocker Tool
This will take you to the IP Blocker tool.
Here you can add the IP addresses you want to block. You can list of singapore cell phone number add a single IP address or a range of IP addresses and then click the Add button.
Blocking IP addresses in cPanel
If IP address blocking doesn’t work – automate it!
Blocking an IP address works if you just want to block some simple hacking attempts, specific users, or users from specific regions or countries.
However, many hacking attempts and attacks occur through a multitude of random IP addresses from all over the world. It is impossible for you to keep up with all these random IP addresses.
In this case, you need a Web Application Firewall (WAF) like Sucuri or Cloudflare . These website security services protect your website from such attacks using a website application firewall.
Basically, all of your website's traffic goes through their servers, where it's inspected for suspicious activity. Suspicious IP addresses are automatically blocked from reaching your site at all. See how Sucuri helped us block 450,000 WordPress attacks in 3 months .
We hope this article helped you learn how to easily block IP addresses in WordPress. You may also be interested in our ultimate WordPress security guide for beginners or our expert pick of the best WordPress firewall plugins .
First, you need to log into the cPanel dashboard of your hosting account. Now scroll down to the Security section and click on the “IP Blocker” icon.
The cPanel IP Blocker Tool
This will take you to the IP Blocker tool.
Here you can add the IP addresses you want to block. You can list of singapore cell phone number add a single IP address or a range of IP addresses and then click the Add button.
Blocking IP addresses in cPanel
If IP address blocking doesn’t work – automate it!
Blocking an IP address works if you just want to block some simple hacking attempts, specific users, or users from specific regions or countries.
However, many hacking attempts and attacks occur through a multitude of random IP addresses from all over the world. It is impossible for you to keep up with all these random IP addresses.
In this case, you need a Web Application Firewall (WAF) like Sucuri or Cloudflare . These website security services protect your website from such attacks using a website application firewall.
Basically, all of your website's traffic goes through their servers, where it's inspected for suspicious activity. Suspicious IP addresses are automatically blocked from reaching your site at all. See how Sucuri helped us block 450,000 WordPress attacks in 3 months .
We hope this article helped you learn how to easily block IP addresses in WordPress. You may also be interested in our ultimate WordPress security guide for beginners or our expert pick of the best WordPress firewall plugins .