PDA

View Full Version : Protecting your wp-admin via htaccess


Jace
11-15-2006, 12:54 PM
because of all the exploits and hackers that exist I made it a habit long ago to protect my wp admin by htaccess limiting acces to my ip only

anyone else do this?

If you need the code let me know :)

nofx
12-01-2006, 02:18 AM
whats the code?

i'm interested

Jace
12-04-2006, 07:55 AM
<Limit GET POST>
order deny,allow
deny from all
allow from 12.34.56.78
</Limit>

---------------------
12.34.56.78 being your ip address

just drop that in the wp-admin directory, and only the person with that ip address can get in there.....you have to change it every time your ip changes, but worth the hassle :)