How to Block IP Address using .htaccess
Are you looking to block some IP address using .htaccess? If you are finding some IP address which you want to block and restrict access of your site, you can do the same using .htaccess. This is one of the good way to keep your site safe by blocking IP Address via .htaccess. Just write below piece of code in .htaccess and you will be done.
<Limit GET POST PUT> order allow,deny allow from all deny from 126.96.36.199/26 </Limit>
If you want to block range of IP Address using .htaccess than write below code.
<Limit GET POST PUT> order allow,deny allow from all deny from 188.8.131.52/255.255.255.192 </Limit>
Block IP Address using .htaccess, How to Block IP Address .htaccess, .htaccess code for IP Block, IP Address Ban .htaccess Code, .htaccess IP Address Ban Code can be achieved using above code.