Protect your WordPress site from brute force attacks by limiting the number of login attempts allowed per IP address.
Prerequisites
Before using the plugin:
- Secure My WP Site – Login plugin must be installed and activated
Core Features
- Configurable login attempt limits
- Customizable lockout duration
- IP-based tracking
- Automatic lockout enforcement
- Clear error messaging
- Simple management interface
- Brute force prevention
Quick Start
- Upload the plugin files to
/wp-content/plugins/secure-my-wp-site-limit
- Make sure Secure My WP Site – Login plugin is installed and activated
- Activate the plugin through WordPress admin
- Use the Limit Login settings page to configure attempt limits and lockout duration
- Protection begins immediately after activation
Configuration Options – Login Attempts
- Maximum Attempts: Set number of allowed attempts (default: 5)
- Lockout Duration: Set lockout time in minutes (default: 30)
- IP Tracking: Automatic tracking per IP address
- Reset: Attempts reset after lockout period
Security Features – Lockout System
- Automatic attempt tracking
- IP-based restrictions
- Temporary lockouts
- Clear error messages
Admin Features – Settings Management
- Configure attempt limits
- Set lockout durations
- Monitor login attempts
- Manage security settings

Integration Support
- Works with Secure My WP Site – Login plugin
- Compatible with all login forms
- Works with custom login pages
- Integrates with error handling
Troubleshooting Common Issues
- Plugin Not Activating
- Verify Secure My WP Site – Login is installed and active
- Check PHP version requirement
- Ensure WordPress version is compatible
- Lockout Issues
- Verify IP detection is working
- Check lockout duration settings
- Confirm attempt counting
- Error Messages
- Check message display settings
- Verify WordPress notices
- Test with default theme
Security Best Practices
- Set reasonable attempt limits (3-5 recommended)
- Use appropriate lockout duration (15-30 minutes)
- Monitor failed login attempts
- Keep plugin updated
- Use with other security measures
Technical Details
- Uses WordPress transients for tracking
- IP addresses are sanitized and validated
- Secure storage of attempt counts
- Automatic cleanup of expired data
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Modern web browser with JavaScript enabled
- Secure My WP Site – Login plugin installed and activated
Important Notes
- Affects all login attempts
- IP-based restrictions apply globally
- Clear error messages guide users
- Automatic attempt reset after lockout
License
GPLv2 or later