08Mar

Securing Wordpress

Apache, Wordpress

Im not gonna give you the full deal on securing wordpress, there are dozens of this tutorials out there just waiting to be read. I just want to point out a stage that no one should skip, its crucial to your wordpress integrity. Securing the wp-admin folder though very important its very easy to be done. You just have to place a .htaccess file inside the wp-admin folder with the following directives and your wp-admin folder will be restricted to your ip address only. here is the htaccess code:

Order deny,allow
Allow from 1.1.1.1
Allow from 1.1.1.2
Deny from all

this will restrict the access to these 2 ip’s 1.1.1.1 and 1.1.1.2. But you can restrict access to a full range of ip’s like this

Order deny,allow
Allow from 1.1.1.
Deny from all

this will restrict the access to this range 1.1.1.*, Or you can use domain names instead

Order deny,allow
Allow from .provider.net
Deny from all

this will restrict the access to *.provider.net

I hope this will help you keep your wordpress websites safe.

Share This:
  • StumbleUpon
  • del.icio.us
  • Technorati
  • Reddit
  • Digg
  • Live
  • Google Bookmarks
No comments

Saturday, March 8th, 2008 at 6:22 pm and is filed under Apache, Wordpress. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a reply