Knowledge Base
Blocking users with specific IP addresses from accessing your site using the .htaccess editor
Block users from specific IP addresses or a range of IP addresses from accessing your site
- Log into the .htaccess Editor, and then click Block IP Addresses.
- Select the directory from which you want to block access. The current settings for the selected directory display in the Current Settings section.
- To add a new IP address or range, enter it in the designated field.
- Click Save to save your settings. Optionally, click Reset to clear the field.
- To delete an IP entry, click the delete icon in the Blocked IP Addresses/Ranges table.
Be careful of performing range blocks because you may end up blocking people who are not the problem.
Important: All subdirectories of the selected directory will inherit the settings for the directory unless you apply different settings to specific subdirectories.
Did you find this article helpful?