Title: Saral Login Shield
Author: Gaurav Agarwal
Published: <strong>June 22, 2026</strong>
Last modified: June 22, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/saral-login-shield.svg)

# Saral Login Shield

 By [Gaurav Agarwal](https://profiles.wordpress.org/saraltechies/)

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

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

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

## Description

Saral Login Shield lets you change the default WordPress login URL from `/wp-login.
php` to any custom slug you choose. Direct access to `wp-login.php` is blocked —
returning a 404 page or redirecting to a URL of your choice.

**Features:**

 * Change your login URL to any custom slug
 * Block direct access to wp-login.php (404 or redirect)
 * Optional redirect URL for blocked requests
 * No core files are modified
 * Works with sub-directory WordPress installations
 * Compatible with WP-CLI and cron jobs

## Installation

 1. Upload the `saral-login-shield` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Go to **Settings  Saral Login Shield** to set your custom login URL.
 4. Bookmark your new login URL before leaving the settings page.

## FAQ

### What happens to wp-login.php after activation?

Direct requests to `/wp-login.php` will return a 404 page (or redirect to a URL 
you specify). Your login form is only accessible at your custom slug.

### What if I forget my custom login URL?

Deactivate the plugin via FTP by renaming the plugin folder. This restores normal
access to `/wp-login.php`.

### Does this work with multisite?

Not tested with multisite. Use with caution on multisite installations.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Saral Login Shield” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Gaurav Agarwal ](https://profiles.wordpress.org/saraltechies/)

[Translate “Saral Login Shield” into your language.](https://translate.wordpress.org/projects/wp-plugins/saral-login-shield)

### Interested in development?

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

## Changelog

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.0**
 *  Last updated **2 weeks ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.1 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/saral-login-shield/)
 * Tags
 * [Brute Force](https://vec.wordpress.org/plugins/tags/brute-force/)[custom login url](https://vec.wordpress.org/plugins/tags/custom-login-url/)
   [hide login](https://vec.wordpress.org/plugins/tags/hide-login/)[login](https://vec.wordpress.org/plugins/tags/login/)
   [security](https://vec.wordpress.org/plugins/tags/security/)
 *  [Advanced View](https://vec.wordpress.org/plugins/saral-login-shield/advanced/)

## Ratings

No reviews have been submitted yet.

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

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

## Contributors

 *   [ Gaurav Agarwal ](https://profiles.wordpress.org/saraltechies/)

## Support

Got something to say? Need help?

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