How to Block an IP Address from your Website Wordpress
- George Apostolov
How to Block an IP Address from your Website Wordpress: step-by-step guide
Head over to your WordPress dashboard and navigate to the 'Settings' option.
Select 'Discussion'.
Scroll down and go to 'Disallowed comments'.
In the empty field, you can easily add the IP addresses, keywords, and usernames that you want to block.
Click on the 'Save' button to secure the changes to your website.
A notification pops up, once you have successfully updated your discussion settings.
Quick answer: To block an IP address in WordPress, navigate to Settings, select Discussion, and scroll down to Disallowed comments. Enter the IP addresses, keywords, and usernames you want to block into the empty field. Finally, click the Save button to secure the changes and wait for the success notification.
About this WordPress tutorial
Secure your WordPress site by blocking unwanted IP addresses, keywords, and usernames directly through your discussion settings. This guide shows how to block an IP Address from your Website Wordpress in 6 steps, starting with "Head over to your WordPress dashboard and navigate to the 'Settings' option" and finishing with "A notification pops up, once you have successfully updated your discussion settings". The interactive demo above is a click-through copy of the real WordPress interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to block an IP Address from your Website Wordpress?
6 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your WordPress data or settings. Once you know the flow, repeat it in your own workspace.
This tutorial is filed under WordPress. Related guides: How to Block Countries from your Website in Wordpress, How to Build a WordPress Website and How to Change Button Color in Wordpress. Last reviewed 05 Oct 2026.
Create your first interactive demo in minutes
No credit card required • Start building today





