Blocking a specific IP address in Drupal 7
You may find it necessary to block a specific IP address from accessing your Drupal 7 website. Perhaps they are a spammer or have been attempting to break into the site to vandalize it. This can be done very quickly through your Drupal 7 admin dashboard.
- Log into your Drupal 7 Dashboard
- Go to Configuration
- Click IP address blocking, located under the People category.
- Type in the IP address to block and click Add.
- Now, when a visitor with that IP address visits your website, they will see the message “Sorry, 184.108.40.206 has been banned.”
If you need to at a later time, you can also unblock IP addresses.
If you need further assistance please feel free to ask a question on our support center.
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!
Blocking IP Addresses in Drupal 7
|1.||Blocking a specific IP address in Drupal 7|
|2.||How to unblock an IP in Drupal 7|