Allow certain IP to access the WordPress login page

 At times you will just want to allow certain IP to access your Wordpress login page, therefore may proceed with the below steps:

Open the .htaccess file from the File Manager :

<Files wp-login.php>
order deny,allow
allow from
deny from all

Set the xxx to IP address that want to allow for WordPress logins and all the other IP will be blocked from accessing the wp-login.php.

Add Feedback