Knowledge Base
How to Ban Any IP Address via htaccess
To prohibit an IP Address from accessing your site, incorporate the following lines into your .htaccess file:
order permit, reject
deny from IP-ADDRESS
allow from everyone
Substitute IP-ADDRESS with the specific IP you aim to block.
Related: htaccess
Share this Post
Supercharge Your Website!
Lightning-fast Speed, Robust Security, and Expert Support.