A security measure for protecting your WordPress site by limiting access for IPs to your wp-login.php file.
For limiting access for IPs to your WordPress login page. Open your site .htaccess file (present in your site’s root directory) and add the following code replacing your IP address to continue your access to your login page:
<Files wp-login.php>
order deny,allow
Deny from all# whitelist West Palm Beach IP address
allow from xx.xxx.xx.xx#whitelist Gainesvile IP Address
allow from xx.xxx.xx.xx</Files>