If you have a need to block person or a bot on your website, there is an easy way to do this using htaccess.
1 2 3 4
order allow,deny deny from 22.214.171.124 deny from 126.96.36.199 allow from all
After deny from, you will add IP address that you want to block. You can add unlimited number of rows with IP addresses that you want to block.