In this tutorial I’m going to learn how to block any IP Address using .htaccess file so follow this tutorial we ‘have demonstrated in very easy way.
Example 1: Block One IP Address:
simply create .htaccess file in your root directory and add following code on it.
order deny,allow deny from all allow from 22.214.171.124
Next open below IP address in browser
Now IP address is block thanks for reading this 👍