Step 6 of 8 | Menu

Step 6 Ban the Spammer’s IP Address

1 min read

Block spammers that you have already identified from further spamming you by blocking their IP addresses.
For example, you want to block the IP address 224.39.163.56. Simply add the lines of code to your root.htaccess
# block ip order allow,deny deny from 224.39.163.56 allow from all You can also block IP addresses simultaneously. For example, you want to block 3 IP addresses (192.168.33.201, 224.39.163.56 and 111.16.7.92) Simply add the lines of code to your root.htaccess # block ip order allow,deny deny from 192.168.33.201 deny from 224.39.163.56 deny from 111.16.7.92 allow from all

0 comments

Log in or Sign up to comment