![how to block IP address not view my website WordPress plugin](https://powerhoster.com/wp-content/uploads/2020/05/BlockIPaddress.png)
The best way is to use All in One WP Security and Firewall.
- Install and activate the plugin from your admin panel.
- Navigate to “WP Security > Blacklist Manager” section.
- Similar to cPanel, enter individual IP address or a range and block the access.
![All in One WP Security and Firewall to block IP address to View my Website](https://powerhoster.com/wp-content/uploads/2020/05/blockIPaddressWordPressPlugins.png)
In addition, you can also block user-agent and comment spammers with this plugin.