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 articles
Domains
If you are starting a business in Kenya, the first thing you need is a website. And before…
Jul 10, 2026
Hosting
Stop using Gmail for your Kenyan business. Set up info@yourcompany.co.ke via cPanel, Titan Email, or Google Workspace. Step-by-step…
Jun 19, 2026
Websites
WordPress vs website builder — which platform should Kenyan businesses choose? Honest comparison covering Google Kenya SEO, M-Pesa…
Jun 17, 2026