Back to website
Login
Home
Login
Register
Back to website
There was a problem loading the comments.
How to ban any IP Address via .htaccess?
Support Portal
»
Knowledgebase
» Viewing Article
Print
1 November 2020 10:24 AM
Security
If someone is trying to hack your website or you want to block their IP Address, you can add this line to your .htaccess file.
order allow,deny
deny from
IP-ADDRESS
allow from all
Replace "
IP-ADDRESS
" with the IP Address you want to block.
Share via
Did you find this article useful?
Related Articles
How to ban any IP Address via .htaccess?
How to Redirect your website to any page or external domain?
How to restrict directory access by IP address?
Comments
Add Comment
Replying to
Cancel
Captcha
On-Premise Help Desk Software by
SupportPal
Categories
4
Backup/Restore
24
cPanel - Control Panel
11
Databases
6
DNS - Nameserver
10
Domain Management
11
Email
6
— Mozilla Thunderbird
4
FTP
8
Mail Filters & SPAM
4
Others
11
Security
71
Softaculous
17
— Blog
15
— Forum
37
— CMS/Portal
60
SiteWorx (Control Panel)
2
— Backup/Restore
7
— SiteWorx Basic
4
— Domain Management
6
— Email
2
— FTP
3
— Others
4
— Security
32
— Softaculous
15
—— Blog
13
—— Forum
2
—— CMS/Portal
11
Mobile
4
— iOS/Apple
7
— Android
18
Wordpress
6
Installing a Control Panel
19
SolusVM
6
— SolusVM Basic
13
— SolusVM VPS Management
Tags
Wordpress Crons
© Shadowtek Web Solutions