Categories
Fixing Stuff Samuel Technology

quick way to limit wp-admin logins on wordpress

this is a really helpful little code snippet to limit logins to your wordpress site.  You put this .htaccess file in your /wp-admin/ directory:

 

# Limit logins and admin by IP
<Limit GET POST PUT>
order deny,allow
deny from all
allow from YOUR IP ADDRESS
</Limit>