CodingCush Tweaks
23 one-click WordPress fixes in one light plugin: disable XML-RPC, control Heartbeat, raise the upload limit, limit revisions and more.
Stop brute-force logins without locking yourself out: login limits, IP allow and block lists, Cloudflare Turnstile and an email unlock link.
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.
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.
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.
Every feature is off until you switch it on, so you only run the code you need.
Set-up takes about five minutes and needs no code.
In wp-admin go to Plugins → Add New, search for "CodingCush Login Guard", click Install Now, then Activate. Protection starts immediately with safe defaults.
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.
On the Overview tab click "Add my IP to the allow list" so your own connection can never be locked out.
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.
The Overview tab shows failed logins, lockouts and the usernames bots try most. Unlock any address with one click.
Yes. It is completely free and licensed GPL-2.0-or-later, with no ads, no upgrade nags and no locked features.
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.
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.
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.
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.
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.
Yes. WooCommerce logins count towards the same limits, and Turnstile can protect the My Account login, registration and lost password forms.
Yes. Those logins go through the same check, so a locked-out address is refused everywhere.
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.
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.
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.
It was in review in the WordPress.org plugin directory. Use the Notify me button to get one email on launch day.
Join 620+ developers learning the simple way. One useful email when new tutorials land — no spam, ever.
You're on the list — the next tutorial will land straight in your inbox.