Saral Login Shield

Saral Login Shield icon
Free WordPress plugin · v2.4.1

Two-factor login, a hidden login page and attempt limits.

Protects your WordPress login three ways: a 6-digit code from your phone after the password, a login page at an address only you know, and a lockout for bots that keep guessing passwords. Every login is logged, and a forgotten login URL can be emailed to you.

  • Free on WordPress.org, with an optional Pro add-on
  • Two-factor login without SMS or an outside service
  • No tracking, no outside connections
Get it free on WordPress.org

Or in your dashboard: Plugins → Add New Plugin, then search for “Saral Login Shield”.

  • Version2.4.1
  • WordPress5.0 or later
  • PHP7.0 or later
  • Tested up toWordPress 7.1
After the password, two-factor login asks for the code from your phone
Why it matters

Why protect your login page?

Every WordPress site has its login page at the same address: /wp-login.php. Bots know this. They visit thousands of sites a day and try common usernames and leaked passwords there, and through XML-RPC, over and over.

It takes only one weak or reused password for one of those guesses to work. Saral Login Shield hides the login page, locks out IP addresses that keep failing, and asks for a code from your phone, so a stolen password on its own is no longer enough to get in.

Features

What Saral Login Shield does

Two-factor login

After the password, enter a 6-digit code from Google Authenticator, Microsoft Authenticator, Authy or 1Password. No phone number or outside service needed.

Backup codes

10 one-time codes for a lost phone, and “Don’t ask again on this device for 30 days” for your own computer.

Required for admins

Make two-factor login compulsory for administrators. Works with WooCommerce’s My Account login too.

Hidden login page

Log in at your own address, such as /team-entry. Visitors to wp-login.php and /wp-admin get a 404 page or a redirect.

Limit login attempts

After 5 failed logins in 20 minutes, the IP address is locked out for 20 minutes. Both numbers can be changed.

Turn off XML-RPC

One switch blocks xmlrpc.php, which bots use to guess passwords without visiting the login page.

Login activity

Every login, failed login, wrong code and lockout, with username, IP address and browser. Unblock an IP in one click.

New IP alerts and recovery

Administrators are emailed when they sign in from a new IP address. Forgot the login URL? Get it by email at /?login-recovery.

Pro add-on

Saral Login Shield Pro

Everything in the free plugin, plus IP allow and block lists, CAPTCHA, longer bans, two-factor login for any role, a password policy, session control and security alerts. Everything in Saral Login Shield Pro →

IP allow and block lists

Let only your office IPs into the dashboard, and shut known attackers out of every login route.

CAPTCHA and bans

Cloudflare Turnstile, hCaptcha or reCAPTCHA, and a 24-hour ban for IPs that keep getting locked out.

Accounts and sessions

Two-factor login for any role, a minimum password length, idle logout and a list of who’s logged in.

Alerts and reports

Email, Slack or Discord alerts for bans and new admins, a weekly report and CSV export.

Unlimited sites

Use it on as many as you like, for clients too.

$69 one-time
Pay once, updates for life. About the price of 3.6 years.
  • Unlimited sites
  • Lifetime updates and support
  • Pay once, no renewals
Buy lifetime, unlimited

Prices in US dollars. Buying from India? Switch to ₹ INR; Indian buyers pay in INR with GST. Your licence key is emailed straight after payment, with a 14-day money-back guarantee.

Saral Login Shield Pro needs the free plugin. If you don’t renew a 1-year licence, Pro keeps working; only updates and support stop.

How It Works

Set it up in four steps

01
Install

In your WordPress dashboard, go to Plugins, then Add New Plugin, and search for “Saral Login Shield”. Click Install Now, then Activate.

02
Bookmark your login URL

You get a new random login address straight away, shown at the top of the dashboard. Change it under Settings, then Saral Login Shield, and bookmark it.

03
Turn on two-factor login

Go to Users, then Profile. Scan the QR code with your authenticator app, enter the code it shows and save your 10 backup codes.

04
Check the other settings

Login attempt limits are on already. If your site is behind Cloudflare or a proxy, choose it under Visitor IP address, and turn off XML-RPC if you don’t use it.

Good to know

What it doesn’t do

Saral Login Shield looks after your login page. It’s a strong layer, not a complete security setup:

  • It isn’t a firewall or a malware scanner.
  • Two-factor login works with forms that use WordPress’s own login. Forms that check passwords their own way, or log in through AJAX, aren’t covered.
  • It hasn’t been tested on multisite networks.

Use it together with strong passwords, regular updates and backups.

Private by design

The plugin makes no outside connections and has no tracking or ads. Two-factor codes are made on your site and on your phone. The login log (time, username, IP address and browser) stays in your own database, is deleted after 30 days by default, and is removed with everything else when you delete the plugin.

Made for

  • Website owners
  • WooCommerce stores
  • WordPress developers
  • Agencies managing many sites
  • Bloggers

Get an email when Saral Login Shield is updated

What's new in each version, in one short email. You'll also get our occasional newsletter. Unsubscribe from either any time.

Want your WordPress site properly secured?

We harden WordPress sites, clean up hacked ones and build custom plugins for features no plugin offers. The same team that made Saral Login Shield can look after your site.

FAQ

Questions about Saral Login Shield

Yes. It’s free on WordPress.org under the GPL licence, with no ads in your dashboard, and everything on this page is in the free plugin. Saral Login Shield Pro is an optional paid add-on for sites that want IP lists, CAPTCHA, bans, session control and security alerts.

Go to Users, then Profile, and scroll to Two-factor login. Scan the QR code with an authenticator app such as Google Authenticator, enter the 6-digit code it shows and click Update Profile. Keep the 10 backup codes you are given somewhere safe.

Enter one of your backup codes instead of the 6-digit code. Each works once. If you have none left, another administrator can turn two-factor login off for you under Users. If you are the only administrator, add define( 'SARALSHIELD_DISABLE_2FA', true ); to wp-config.php, log in, set it up again and remove the line.

No. Codes are made by the app on your phone and checked on your own site, so there’s no phone number, text message cost or outside service.

Anyone who opens /wp-login.php or /wp-admin while logged out sees your 404 page, or is sent to the redirect URL if you set one. The login form only appears at your own address.

Go to yoursite.com/?login-recovery and enter an administrator’s email address, and the login address is emailed to it. If email isn’t working, rename the folder wp-content/plugins/saral-login-shield over FTP to turn the plugin off.

Wait for the lockout to end (20 minutes by default), or log in from another network such as your phone’s mobile data and unblock your IP address under Login activity. Lockouts are per IP address, so other people can still log in.

Yes. Under Visitor IP address, choose Cloudflare. Otherwise every visitor seems to come from Cloudflare’s address, and one lockout could block everyone. The settings page warns you when it spots Cloudflare.

No. The plugin makes no outside connections and has no tracking. Emails go through your site’s normal email.

It hasn’t been tested on multisite networks yet, so we don’t recommend it there for now.
Saral Login Shield by Saral Techies
Questions or a bug to report? Ask on the WordPress.org support forum or contact us.
Get it free
WhatsApp us