home resources tutorials facebook hosting credits ov

Block IP from Website

If you want to block someone from viewing your website, you need their IP address.

The Steps

1. Create a file called .htaccess

2. Put the following code on that page.


3. For each new IP address you want to block, put them underneath of each other so say you block two. It'd look like this:
deny from 103.44.30394
deny from 455.55.67899