View Categories

How to Ban Any IP Address via htaccess

< 1 min read

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.

.ae Price
.bh Price
icon-qa
Google_Cloud_Partner_UAE
icon-microsoft
cpanel uae partner logo
icon-ripe-ncc.svg
⚡ Build a WordPress site with AI in minutes with Spark AI - On Sale 50% off this month.
This is default text for notification bar