Skip to main content
Monday, November 16, 2026 New tutorials published every day
Home
Tutorials
Core PHP PHP Course JavaScript React & Next.js Python WordPress Artificial Intelligence
Free Tools
JSON Formatter Base64 Encoder / Decoder Password Generator Text to QR Code Generator Word Counter Case Converter Age Calculator Color Converter Number to Words All Free Tools
Projects
PHP Projects — all projects
Students
Webflow Course Course Registration Download Syllabus Verify Certificate Student Leaderboard
Resources
WordPress Plugins Search tutorials About CodingCush Contact
More
Login
CodingCush Login Guard icon
WordPress plugin · Security

CodingCush Login Guard

Stop brute-force logins without locking yourself out: login limits, IP allow and block lists, Cloudflare Turnstile and an email unlock link.

On WordPress.org Version 1.0.0 Free

What is CodingCush Login Guard? CodingCush Login Guard is a free WordPress security plugin from CodingCush that stops password-guessing bots. It counts failed logins per IP address and locks the address out for a while, with a longer lockout for repeat offenders. It adds Cloudflare Turnstile to the login, registration and lost-password forms (including WooCommerce), and if you ever lock yourself out, an administrator can request a one-time email link that lifts the lockout.

Why this plugin exists

Every WordPress site gets automated login attempts: bots trying "admin" with thousands of common passwords. Most login-security tools either do too little, or protect you so hard that you end up locked out of your own site.

CodingCush Login Guard is built around one promise: brute-force protection that never locks you out.

How it protects your login

  • Login attempt limits. After a set number of wrong passwords (4 by default) the IP address waits 20 minutes. If it keeps coming back, it gets a 24-hour lockout.
  • IP allow and block lists. Add single addresses or whole CIDR ranges, IPv4 or IPv6. Your own address can never be saved to the block list.
  • Cloudflare Turnstile. A free, privacy-friendly CAPTCHA alternative. Most real visitors never see a puzzle, and bots are stopped before they even try a password.
  • Every login path. wp-login.php, WooCommerce My Account, XML-RPC and application passwords all go through the same limits.

How it keeps you in

  • Email unlock link. Locked out? Click "Email me an unlock link" on the login screen. Administrators get a one-time link (valid 15 minutes) that lifts the lockout for that device. It never logs anyone in: your password is still required.
  • One-click allow. Add your own IP to the allow list from the Overview screen.
  • Correct IPs behind Cloudflare and proxies. Choose where the visitor's IP comes from; the screen shows which headers your server really sends.

Light and private

Lockout state is stored in transients, so normal page views do no extra work. No tracking, no ads and no calls home. Nothing is sent to Cloudflare until you add your own Turnstile keys.

All 19 features

Every feature is off until you switch it on, so you only run the code you need.

Protection · 5

  • Login attempt limitsChoose how many failed logins are allowed per IP address before a lockout (4 by default).
  • Escalating lockoutsShort lockouts first (20 minutes), then a long lockout (24 hours) for addresses that keep coming back.
  • Attempts remainingOptionally show "2 attempts remaining." under the login error.
  • XML-RPC and app passwordsEvery login path, including XML-RPC and application passwords, uses the same limits.
  • WooCommerce loginsMy Account logins count towards the same limits.

IP rules · 3

  • Allow listAddresses and CIDR ranges that can never be locked out. IPv4 and IPv6.
  • Block listAddresses and ranges that can never log in. Your own IP is never saved here.
  • Real visitor IPWorks behind Cloudflare, load balancers and Nginx proxies, with the detected headers shown on screen.

Bot protection · 3

  • Cloudflare TurnstileFree, privacy-friendly CAPTCHA alternative on login, registration and lost password forms.
  • WooCommerce formsTurnstile on the My Account login, registration and lost password forms.
  • Safe if Cloudflare is downChoose whether logins are allowed when Cloudflare cannot be reached.

Never locked out · 2

  • Email unlock linkA one-time link (valid 15 minutes) for administrators that lifts the lockout for their device.
  • One-click allowAdd your own IP to the allow list straight from the Overview screen.

Insight · 3

  • Activity logEvery failed login, lockout, unlock and Turnstile failure, with filters and search.
  • Top attacked usernamesSee which usernames bots try most, so you know which accounts need strong passwords.
  • Lockout emailsGet an email for every lockout, only for long lockouts, or never.

Admin · 3

  • One-click unlockUnlock one IP address or every lockout at once.
  • Settings importCopy settings, allow lists and block lists from Limit Login Attempts in one click.
  • Clean uninstallDeleting the plugin removes its settings, log table and every lockout.

How to install and use CodingCush Login Guard

Set-up takes about five minutes and needs no code.

  1. Install and activate

    In wp-admin go to Plugins → Add New, search for "CodingCush Login Guard", click Install Now, then Activate. Protection starts immediately with safe defaults.

  2. Check your IP source

    Open Settings → Login Guard → IP rules. If your site is behind Cloudflare or another proxy, pick that option; the screen shows which headers your server sends.

  3. Add yourself to the allow list

    On the Overview tab click "Add my IP to the allow list" so your own connection can never be locked out.

  4. Turn on Turnstile (optional)

    Create a free Turnstile widget in your Cloudflare dashboard, paste the site key and secret key on the Turnstile tab, and choose which forms to protect.

  5. Watch the activity log

    The Overview tab shows failed logins, lockouts and the usernames bots try most. Unlock any address with one click.

Frequently asked questions

Is CodingCush Login Guard free?

Yes. It is completely free and licensed GPL-2.0-or-later, with no ads, no upgrade nags and no locked features.

What happens if I lock myself out?

Under the lockout message on the login screen, click "Locked out? Email me an unlock link" and enter your administrator username or email. Open the link from the email on the same device and you can log in again. You can also add your IP address to the allow list in advance.

Does the unlock link log me in?

No. It only lifts the lockout for the device that opens it, for one hour. You still need your password. Links work once, expire after 15 minutes and are only sent to accounts that can manage the site.

How many failed logins are allowed?

By default 4 wrong passwords lock an IP address out for 20 minutes, and 4 lockouts in a day lead to a 24-hour lockout. Every number can be changed in Settings → Login Guard → Login limits.

My site is behind Cloudflare and every visitor shows the same IP. What do I do?

Open Settings → Login Guard → IP rules and choose "Cloudflare (CF-Connecting-IP)". Only choose a proxy option if your site really is behind that proxy, otherwise attackers could fake their address.

Do I need Cloudflare Turnstile?

No. The login limits work on their own. Turnstile is optional and adds a second layer that stops most bots before they try a password. It is free and you do not need to use Cloudflare for your DNS.

Does it work with WooCommerce?

Yes. WooCommerce logins count towards the same limits, and Turnstile can protect the My Account login, registration and lost password forms.

Does it protect XML-RPC and application passwords?

Yes. Those logins go through the same check, so a locked-out address is refused everywhere.

Can I switch from Limit Login Attempts?

Yes. Go to Settings → Login Guard → Tools and click Import to copy your settings, allow list and block list. Then deactivate the other plugin so failed logins are not counted twice.

Does it slow down my site?

No. Lockout state is kept in transients, the admin CSS and JavaScript load only on the plugin's own screen, and the Turnstile script loads only on the forms you protect.

What data does it send to third parties?

None by default. If you add Cloudflare Turnstile keys, the protected forms load Cloudflare's widget and send the check result and the visitor's IP address to Cloudflare to verify it.

When will CodingCush Login Guard be available?

It was in review in the WordPress.org plugin directory. Use the Notify me button to get one email on launch day.

Changelog

1.0.0

  • First release.
More from CodingCush

Other plugins

All WordPress plugins