If someone is trying to hack your website or you want to block their IP Address, you can add this line to your .htaccess file.
order allow,deny
deny from IP-ADDRESS
allow from all
Replace “IP-ADDRESS” with the IP Address you want to block.
If someone is trying to hack your website or you want to block their IP Address, you can add this line to your .htaccess file.
order allow,deny
deny from IP-ADDRESS
allow from all
Replace “IP-ADDRESS” with the IP Address you want to block.
Let us know — it helps us improve our documentation.
Your input helps us write better guides for everyone.
← Browse more articlesStop using Gmail for your Kenyan business. Set up info@yourcompany.co.ke via cPanel, Titan Email, or Google Workspace. Step-by-step…
Jun 19, 2026WordPress vs website builder — which platform should Kenyan businesses choose? Honest comparison covering Google Kenya SEO, M-Pesa…
Jun 17, 2026Is your Kenyan website outgrowing shared hosting? Signs you need VPS, managed vs unmanaged VPS explained, NVMe specs,…
Jun 15, 2026