Block All Wp-logins

Add following to  /usr/local/apache/conf/includes/pre_virtualhost_global.conf

<Files wp-login.php>
# set up rule order
order deny,allow
# default deny
deny from all
# Add additional IPs for access here
allow from 95.128.130.210
errordocument 401 default
errordocument 403 default
errordocument 404 default
</Files>


then restart Apache
Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 6104

Need more information or have a question ?