Description
Login Defender enhances your WordPress site’s security by allowing you to change the default login URL and block direct access to wp-login.php. It also logs unauthorized login attempts with IP address, browser, and timestamp for tracking purposes. Includes stats and the ability to reset logs from the admin dashboard.
Features
- Change default login URL to a custom slug
- Block access to wp-login.php and wp-admin (if not logged in)
- Track failed login access attempts (IP, time, browser)
- View login attempt statistics: last 24h, 7d, 1m, 3m, 6m, 1y
- Clear/reset login attempt logs with one click
- Improved security against brute-force login attacks
How to use ?
Configure Settings
1. Go to Settings > Login Defender
2. Enable the switch: “Enable Custom Login URL”
3. Enter a slug like my-login (allowed: letters, numbers, _, -)
4. Save settings
Access Your New Login Page
– Example: https://yourdomain.com/mylogin
Monitor Attempts
– See login attempt stats at the top of the settings page
– Click “Clear Logs” to reset tracking data
Installation
Installation from within WordPress
- Visit Plugins > Add New Plugin.
- Search for Login Defender.
- Install and activate the Login Defender plugin.
Or Manual installation
- Upload the entire
login-defender
folder to the/wp-content/plugins/
directory. - Visit Plugins.
- Activate Login Defender plugin.
FAQ
-
What happens to wp-login.php after enabling the plugin?
-
When enabled, direct access to
wp-login.php
is blocked. Only the custom login URL you define will work. This prevents bots and attackers from targeting the default login URL. -
Can I still access wp-admin directly?
-
If you are not logged in, direct access to
/wp-admin/
will redirect you to the custom login URL. After logging in,/wp-admin/
works normally.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Login Defender” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Login Defender” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0
- Initial release