Block IP or bots in the Cloudways server

Block the IP on Htaccess file

<Limit GET POST>
order allow,deny
deny from 46.228.47.114
deny from 46.225.88.5
allow from all
</Limit>

Block bots using the Htacess file with name

RewriteCond %{HTTP_USER_AGENT} Mj12bot [NC]
RewriteCond %{HTTP_USER_AGENT} Dotbot [NC]

Thank you.

Leave a comment

Your email address will not be published. Required fields are marked *