Thursday, 17 January 2019 .::. Your IP: 54.205.211.87 
Home Internet & Networking Block a visitor using .htaccess

Block a visitor using .htaccess


Howto block a visitor of your website using .htaccess.

First of all you will need to know the IP of the visitor you are going to block.
Once you have the IP you can create the following .htaccess file:

order allow,deny
deny from XXX.XXX.XXX.XXX
deny from XXX.XXX.XXX.XXX
allow from all

XXX.XXX.XXX.XXX: IP of a visitor who is going to be banned from your website.


Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Facebook! Slashdot! StumbleUpon! TwitThis Joomla Free PHP