The plugin interferes with wp-login.php or custom login processes.
Plugin Breaks Login Page
Key Points: Login page fails to load, redirects improperly, or shows errors after activating a plugin.
You try to log in… and either get kicked out, redirected to a blank page, or hit a PHP error. Security, redirect, or branding plugins often tamper with login flow — and sometimes break it.
🚫 Common Causes
- Redirect loops from custom login URLs
- Plugin modifying
wp_login()orlogin_initwithout fallback - AJAX-based login or Captcha plugin conflicting with server rules
🛠️ Restore Access
- Access site via FTP and rename the plugin folder
- Use default login URL
/wp-login.phpor/wp-admin - Enable
WP_DEBUGand inspect login-related hooks
🧠 Bonus
Always back up login-related plugins and test in staging — lockouts can be painful if no recovery access exists.