X
X

Select Your Currency

Türk Lirası $ US Dollar Euro

IP blocking with .htaccess

For some reason, you may want to prevent attacks or ips deliberately coming to your host. For this, you can block ip addresses or ranges by creating .htaccess under the public_html or www directory, or by opening it if there is, and adding the following codes.

For example, we do not want the threads starting with 183.67 and 86.23 to enter our site. We add the following codes to htaccess:

order allow,deny
deny from 183.67
deny from 86.23
allow from all

if we are only going to block 1 rope, we can add it as follows


order allow,deny
deny from 182.185.24.11
allow from all

After the blocking, the related ropes cannot enter in any way.

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?
(260 times viewed / 1 people found it helpful)