Posted By

mariusscheel on 07/06/10


Tagged

wordpress htaccess security bots


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Vordreller


use .htaccess to blacklist undesired users and bots


 / Published in: Other
 

URL: http://www.smashingmagazine.com/2010/07/01/10-useful-wordpress-security-tweaks/

Apache can be used to ban undesirable people and bots from your website. With this code, we’re telling Apache that everyone is allowed to visit our blog except the person with the IP addresses

  1. <Limit GET POST PUT>
  2. order allow,deny
  3. allow from all
  4. deny from 123.456.789
  5. deny from 93.121.788
  6. deny from 223.956.789
  7. deny from 128.456.780
  8. </LIMIT>

Report this snippet  

You need to login to post a comment.