The below .htaccess code to ban visitor(s) from your site based on their IP address.
Add the below code to your .htaccess file, and upload to root of the directory:
## USER IP BANNING
deny from 18.104.22.168 //(it’s our IP address)
allow from all