Hello @neziah,
You have not provided us with the exact error message you are getting when trying to login, but I guess you are seeing the following notice:
The access to that page has been restricted by the administrator of this website.
If that’s the case, the issue is caused by the “Limit Login Attempts” feature. There are a couple of ways to gain access to the backend while the security plugin is still active:
- Add the following code to the functions.php file of your active theme:
add_action( 'init', 'remove_unsuccessfull_attempts_block' );
function remove_unsuccessfull_attempts_block() {
update_option( 'sg_security_unsuccessful_login', array() );
}
2. Disable “Limit Login Attempts” via SSH:
wp sg limit-login-attempts 0
If you are seeing a different error, provide us with more information, so we could assist you properly. If you are a SiteGround client, please open a Helpdesk request from your SiteGround Client Area.
Regards,
Kuzman Stoyanov