Visitor IP Banning

Visitor IP Banning

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

order allow,deny
deny from 61.11.74.206 //(it’s our IP address)
allow from all

Leave a Reply


All material @ copyrighted by chrisranjana.com. If you want to link to this article you are welcome to do so. Unauthorized publication is strictly prohibited. This developer tutorial website contains articles by Php programmers , Software developers, Mysql programmers and asp c# programmers. This website also contains ajax tutorials and advanced mysql sql stored procedures and functions tutorials and sample codes.