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
How useful was this post?
Click on a star to rate it!
Average rating / 5. Vote count:
No votes so far! Be the first to rate this post.