Block Access To Wordpress WP-Login.php Print

  • 8

Add the following lines to your htaccess file located within your domains root.


<Files wp-login.php>
   # set up rule order
   order deny,allow
   # default deny
   deny from all
   # Raid Host Office
   allow from YOUR IP GOES HERE
   errordocument 401 default
   errordocument 403 default
   errordocument 404 default
</Files>

Was this answer helpful?

« Back