Create .htaccess file in wp-admin/.htaccess
Deny from All Allow from [IPADDRESS
Nginx cache in front
If you have nginx cache in front of your apache, then the following statements need to be put in the .htaccess file:
Deny from All SetEnvIf X-FORWARDED-FOR xx.xx.xx.xx allowclient allow from env=allowclient
Tags:
Wordpress