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



Comments
Got something to say?