How to Block IP Addresses in WordPress

Have your website been ever  hacked? or your website have spams or have you think about block specific a IP to not to access your website. So i create tutorial to show how to block IP Addresses

Blocking IP help uses don’t feel bother with spam and security reason.

First, we need to know and understand what’s IP Address

An Internet Protocol address (IP address) is a unique number assigned to all devices (e.g., a computer, tablet, or phone) when they connect to the internet.

There are two versions of Internet Protocol currently in use, IP Version 4 (IPv4) and IP Version 6 (IPv6), and they have two primary functions: identification and location addressing.

Each other device or computer in your home network has a IP unique

You can hide IP by use VPS service(Virtual private service) .

How you can find IP to block if they access your website. With wodpress, in comment of your dashboard will save information in every single comment. So you only login your website and find at comment of all customers.



If your website’s under DDOS,  the best solution is you need to check IP list in your sever. First, please login your cpanel account and access your dashboard


You can see files and icons as above image. When you click in “Raw Access Logs” icon, it brings the raw access log so that you can download.


With this tutorial, i will introduce a plugin can block IP you want. It’s fastest solution for busy user 🙂

It’s IP Ban plugin, it’s security plugin so it’s save


That’s all, hopefully this article helped you know how to Block IP Addresses WordPress Site. If you have any further questions for us, don’t hesitate to put it up in the comments. See you again in orther tutorials!

Leave a Reply

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