Security features keep attackers out. Now and then they keep you out too: a forgotten login address, email codes that stopped arriving, a new laptop that is not trusted yet, too many wrong passwords on a bad morning. Every Keel feature that can lock you out has a way back in, and none of them needs you to delete anything.
How to use a rescue switch
- Open your hosting control panel’s file manager, or connect with FTP or SFTP.
- Open
wp-config.phpin the main folder of your WordPress installation (the folder that containswp-content). - Add the line from the table below, on its own line, above
/* That's all, stop editing! */. - Save, and log in.
- Fix the cause (look up the address, fix email, confirm the device).
- Remove the line again.
| Problem | Line to add |
|---|---|
| Forgot the secret login address | define( 'KEEL_DISABLE_CUSTOM_LOGIN', true ); |
| Two-factor codes do not arrive | define( 'KEEL_DISABLE_2FA', true ); |
| A new device cannot be confirmed | define( 'KEEL_DISABLE_DEVICES', true ); |
Your own address is blocked
If you see “Access denied” after too many wrong passwords, your IP address is blocked. You have three options:
- Wait. A first block is temporary; its length is set in Firewall › Failed logins & bans.
- Use another network. Switch your phone to mobile data, log in from it, and unblock your address in Firewall › Blocked IPs.
- Ask a colleague with admin access to unblock you.
Then add your office and home addresses to Always allow in Firewall › Allow & block lists, so it never happens again.
Your account is paused
If many failed logins hit your account from around the world, Keel pauses password logins for it for a while, to stop a distributed attack. With Keel Pro, use “Email me a login link” on the login page: the link works even while password logins are paused. Otherwise wait for the pause to end, and change your password afterwards, since someone has clearly been trying it.
Turn Keel off completely
If something else is wrong and you need Keel out of the way:
- In the file manager, open
wp-content/plugins. - Rename Keel’s folder (
keel-speed-securityfor the free version,keel-profor Pro), for example by adding-off. - WordPress switches the plugin off. Log in.
- Rename the folder back, then deactivate Keel properly from the Plugins screen if you still want it off, so it removes its server rules from
.htaccess.
Preventing lockouts
- Save the secret login address in your password manager.
- Make sure WordPress email works before relying on email codes.
- Add your own addresses to Always allow.
- Keep a second administrator account for emergencies, protected with an authenticator app.