How to Block IP Address in WordPress Manually

May 10, 2024 / WordPress

Manually blocking IP addresses in WordPress helps prevent unwanted access and spam activity on your website.

Here is a brief overview of how to manually block an IP address in WordPress:

  1. Log in to your WordPress admin dashboard.
  2. Go to the “Settings” menu and select “Discussion.”
  3. Scroll down to the “Disallowed Comment Keys” section.
  4. Input the IP address you want to block into the text box. Make sure to save your changes.
    save changes
  5. WordPress will now block comments from the specified IP address.

Keep in mind; that while this method effectively blocks individual IP addresses, for broader IP blocking or improved security measures, you might want to explore using plugins or server-side configurations.

This way, you can block IP addresses in WordPress manually. Hope you understood everything well.

Spread the love