Top

Daily Tip: .htaccess Lockdown For WordPress Backend

April 14, 2010

Worried about someone hacking your WordPress site? Here’s one way to make it just a little bit more secure. This little snippet restricts access to your /wp-admin/ directory to only the IP address that you specify, which puts your admin dashboard URLs securely in your control.

AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName "Access Control"
AuthType Basic
order deny,allow
deny from all
#IP address to Whitelist
allow from xxx.xxx.xxx.xxx

Replace the x’s with your IP address to institute your lockdown.

Source: Brad Williams on the WordCamp Boston post: Top 5 WordPress Security Tips Done In Under 5 Minutes

Tweet This Post

Comments

Got something to say?

Bottom
Article Archive  |  This site is a historical archive of pressography.com, a WordPress plugin and theme blog that published between 2006 and 2012. It is preserved for reference and is not operated by, affiliated with, or endorsed by its original authors. Nothing here is for sale and no form on this site is active. If you are the original owner and would like this domain returned, please get in touch.