Title: Login Defender
Author: Amzil Ayoub
Published: <strong>June 20, 2025</strong>
Last modified: June 21, 2025

---

Search plugins

![](https://ps.w.org/login-defender/assets/banner-772x250.png?rev=3315406)

![](https://ps.w.org/login-defender/assets/icon-256x256.png?rev=3315406)

# Login Defender

 By [Amzil Ayoub](https://profiles.wordpress.org/amzil000ayoub/)

[Download](https://downloads.wordpress.org/plugin/login-defender.zip)

 * [Details](https://pcm.wordpress.org/plugins/login-defender/#description)
 * [Reviews](https://pcm.wordpress.org/plugins/login-defender/#reviews)
 *  [Installation](https://pcm.wordpress.org/plugins/login-defender/#installation)
 * [Development](https://pcm.wordpress.org/plugins/login-defender/#developers)

 [Support](https://wordpress.org/support/plugin/login-defender/)

## 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 ](https://profiles.wordpress.org/amzil000ayoub/)

[Translate “Login Defender” into your language.](https://translate.wordpress.org/projects/wp-plugins/login-defender)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/login-defender/), check
out the [SVN repository](https://plugins.svn.wordpress.org/login-defender/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/login-defender/)
by [RSS](https://plugins.trac.wordpress.org/log/login-defender/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial release

## Meta

 *  Version **1.0.1**
 *  Last updated **10 months ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/login-defender/)
 * Tags
 * [activity](https://pcm.wordpress.org/plugins/tags/activity/)[admin](https://pcm.wordpress.org/plugins/tags/admin/)
   [login](https://pcm.wordpress.org/plugins/tags/login/)[security](https://pcm.wordpress.org/plugins/tags/security/)
   [users](https://pcm.wordpress.org/plugins/tags/users/)
 *  [Advanced View](https://pcm.wordpress.org/plugins/login-defender/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/login-defender/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/login-defender/reviews/)

## Contributors

 *   [ Amzil Ayoub ](https://profiles.wordpress.org/amzil000ayoub/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/login-defender/)