I need to block the users for wp-admin or wp-login.php with the IP address or any other options in .htaccess
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Praveen
Using Block wp-login plugin you can block the access to wp-admin or wp-login.php. Here the link — https://wordpress.org/plugins/block-wp-login/
Harish
.htaccess can help to block access to wp-admin or wp-login.php and you can add your IP address on allow from, so this can help to access the wp-admin only by your IP address. Add below code that will help to block the users from accessing the wp-admin.