SiteWorx (Control Panel) VoloWeb Knowledge Base · 1 min read

How to Ban Any IP Address via htaccess

Back to SiteWorx (Control Panel)

If you want to block an IP Address, you can add the below lines to your htaccess file.

order allow, deny
deny from IP-ADDRESS
allow from all

Replace IP-ADDRESS with the IP you want to block.

Need a hand with this?

VoloWeb hosting includes free migration, NVMe SSD, LiteSpeed & 24/7 Indian support — plans from ₹69/mo.

Get Started — ₹69/mo