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.
deny from all
allow from 126.96.36.199
Next open below IP address in browser
Now IP address is block thanks for reading this 👍