How to block an IP address?

Tshepo

Member
Joined
May 18, 2013
Messages
132
Points
18
My website is being spammed by a IP adress, how can I block it?

Please share me any simple ways? Thanks
 

SenseiSteve

Active member
Joined
Nov 11, 2015
Messages
215
Points
28
You can block this visitor via a .htaccess file. For example, to block a specific IP address while allowing all other IP addresses:

# allow all except those indicated here
<Files *>
order allow,deny
allow from all
deny from xxx.xxx.xxx.xxx
</Files>

Where xxx.xxx.xxx.xxx is the offending IP address.
Hope this helps.
 
Older threads
Replies
7
Views
5,835
Replies
1
Views
2,163
Replies
7
Views
3,131
Newer threads
Latest threads
Replies
1
Views
22
Replies
2
Views
131
Replies
1
Views
192
Replies
6
Views
445
Replies
11
Views
549
Recommended threads
Replies
4
Views
1,989
Replies
9
Views
3,467
Replies
5
Views
3,870
Replies
1
Views
2,146

Latest postsNew threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top