Home > Wordpress > How to secure your WordPress blog ?

How to secure your WordPress blog ?

A little tip to secure your WordPress blog (you can use it with another CMS indeed) : just put a .htaccess into you admin folder : for WordPress it’s in wp-admin

Example .htaccess

AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName "Access Control"
AuthType Basic
<LIMIT GET>
order deny,allow
deny from all
# whitelist home IP address
allow from my.ip.at.home
# whitelist work IP address
allow from my.ip.at.work
</LIMIT>

And of course, you change this file with your own IP addresses…

Categories: Wordpress Tags: ,
  1. No comments yet.
  1. No trackbacks yet.