Knowledge Base

Date
April 19, 2023
Category
Security, SiteWorx (Control Panel)

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
frame frame

Supercharge Your Website!

Lightning-fast Speed, Robust Security, and Expert Support.

migrate