WordPress.org

Limburgs

  • Themes
  • Plugins
  • News
  • About
  • Contact
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Login Defender

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Login Defender

By Amzil Ayoub
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

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

Screenshots

  • admin

Installation

Installation from within WordPress

  1. Visit Plugins > Add New Plugin.
  2. Search for Login Defender.
  3. Install and activate the Login Defender plugin.

Or Manual installation

  1. Upload the entire login-defender folder to the /wp-content/plugins/ directory.
  2. Visit Plugins.
  3. 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.

Contributors
  • Amzil Ayoub

Translate “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

Meta

  • Version 1.0.1
  • Last updated 4 weeks ago
  • Active installations Fewer than 10
  • WordPress version 6.0 or higher
  • Tested up to 6.8.2
  • PHP version 7.4 or higher
  • Language
    English (US)
  • Tags
    activityadminloginsecurityusers
  • Advanced View

Ratings

No reviews have been submitted yet.

Add my review

See all reviews

Contributors

  • Amzil Ayoub

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Limburgs

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry.