Posts tagged with ‘block access to website’

Block IP from accessing website using .htaccess

advertisement

To block certain ip address from accessing your website, just create a file with name .htaccess at your root directory with the content below:-

If you want to block multiple ip address using .htaccess simply add one ip address per line as below:-

Continue reading Block IP from accessing website using .htaccess »