I am sure most of the Website owners or Blog owners have faced this problem. Some visitor is nasty or jealous and wants to trouble by posting abusive comments or do harm to the website.
One of the solutions is to Block or Deny the access to your Blog or website.
Yes, you can block a Visitor of your website. Read on to know how to do that….
Block Visitor from Specific IP Address using .htaccess Hack
I am assuming that you know about .htaccess file. It resides in the root directory of your website. The root directory could be /www/, /httpdocs/ or /public_html/ directories. Any of them depends on the hosting service.
Make sure you backup .htaccess file before you making any changes.
If you want to block more visitors, just keep adding the ip addresses in .htaccess file .
In this way, you can also block the automated spammer.
If you know any other way, please share via comments. Hope you learned something from this post!
Technorati Tags: block visitor, .htaccess hack