Skip to content
Sign in

Lynbro Login Guard

Move wp-login.php to an address you choose, limit failed sign-ins and add two-factor.

Not scanned yet WordPress plugin

Install in

No install steps yet

Follow the steps on the source page.

Three things guard a WordPress sign-in page, and this plugin does all three on
your own server: it moves the page to an address of your choosing, it makes
failed sign-ins cost time, and it can ask for a code from an authenticator app
after the password.

There is no account to create, no API key to paste, nothing to pay for and
nothing sent anywhere. Every automatic decision is written down in plain
language, and every one of them can be undone in a click.

Source code and issue tracker on GitHub:
https://github.com/andrey-tut/lynbro-login-guard

You cannot lock yourself out

This is the part that usually goes wrong, so it is the part built first. Plugins
that move the sign-in page are famous for one support thread: “I changed the
address and now I cannot get in.”
There are three ways back here, and the
plugin tells you about them before you need them.

  1. The address is shown, in full, on the plugin’s own screen — and e-mailed to
    your site’s administration address, from your own site, whenever it changes.
  2. WP-CLI: wp lynbro-login-guard url prints it, wp lynbro-login-guard off
    puts the page back where WordPress had it.
  3. One line in wp-config.php switches every guard in the plugin off without
    deleting a single setting:
    define( ‘LYNBRO_LOGIN_GUARD_DISABLE’, true );

Deactivating the plugin has the same effect. Nothing here can leave you outside
your own site.

Moving the sign-in page

Pick an address and wp-login.php stops showing the form. Visitors who ask for
the old one get your theme’s own 404 page, or the front page, or an address you
choose.

Before the address is saved it is checked against your site: a page, post,
category or tag already living there would swallow the sign-in page and leave
you with a 404, which is exactly what people complain about with other plugins.
If the address will not work, the plugin says why and keeps the one that was
working.

Things that must keep working, keep working: unlocking a password-protected
post, WordPress recovery mode after a fatal error, admin-ajax, admin-post, cron,
WP-CLI and the REST API are all left alone. So is the sign-in page itself for
anybody who is already signed in — locking somebody out of their own log-out
button helps nobody.

Be clear-eyed about what this buys you: a moved address stops the automated
traffic that only ever knocks on wp-login.php. It is one layer, not a lock.
The limit below is what actually stops somebody guessing passwords.

Limiting failed sign-ins

Two counters run side by side, because they answer different questions. One is
keyed on the address and notices a single machine working through passwords.
The other is keyed on the username and notices one account being tried from a
hundred addresses at once — which the first cannot see at all.

Past the limit, that address or that username waits. A repeat offender waits
longer each time, up to a ceiling you set. Every lockout ends by itself: there
is no permanent ban here and there is not going to be one.

Getting the password right clears the counter, so somebody who mistyped twice
and then got in is not one slip away from a lockout tomorrow. Addresses you
list are never limited at all — put your office in there.

Two-factor sign-in

Any authenticator app. The password is checked by WordPress exactly as before;
only then does a second screen ask for six digits. Ten single-use recovery codes
are made when you switch it on, and an administrator can switch two-factor off
for somebody who has lost both their phone and their codes.

The QR code is drawn by this plugin, on your server, and put straight into the
page. Most plugins hand your shared secret to an outside chart service to get a
picture back. That secret is the one value that must never leave your site.

The smaller things that stop a sign-in page answering questions

  • Say the same thing whether the username or the password was wrong, so the form
    cannot be used to find out which accounts exist. The lost-password form stops
    confirming addresses too.
  • Ignore /?author=1, which otherwise hands over a username.
  • Optionally keep the REST API from listing users to strangers, and optionally
    switch XML-RPC off. Both are off by default, because both break real sites
    when switched on without thinking.
  • Optionally refuse a list of usernames outright — and if one of them turns out
    to belong to a real administrator, it is let through anyway, because that is
    almost certainly you.

The journal

Every refusal, lockout and rejected code is recorded with the reason in a
sentence: not “blocked”, but “8 failed sign-ins from this address in 15
minutes, so it is held out for 20 minutes”
. One click lets that address back in
and forgets the failures that caused it. Another adds it to the list that is
never limited. The whole journal exports to CSV, and it is deleted after however
many days you choose.

No limits

No caps, no quotas, no counting, nothing switched off after a number. Every
feature here runs on your server and costs us nothing, so it is free, for every
site, for as long as you have the plugin.

External Services

This plugin’s own features do not connect to any external service. Nothing is sent anywhere,
and no code, font, script or image is loaded from another server.

Two things are worth naming because they look like exceptions and are not:

  • The QR code for setting up two-factor sign-in is generated by this plugin
    in PHP and written into the page as SVG. It is not fetched from a chart
    service, so the shared secret never leaves your site.
  • The e-mail telling you that the sign-in address has changed is sent by your
    own WordPress installation, through whatever mail setup your site already
    uses, to the administration address in Settings General. It goes nowhere
    else, and it can be switched off.

WordPress.org plugin directory (the shared Lynbro “Our plugins” screen).
Apart from the above, one request goes to WordPress.org, from every Lynbro plugin
alike: when an administrator who may install plugins opens Lynbro Our plugins,
the screen asks the WordPress.org Plugin Directory API
(https://api.wordpress.org/plugins/info/1.2/) which Lynbro plugins are listed,
through WordPress core’s own plugins_api() — the same call the Plugins Add New
screen makes.

  • What is sent: the query (plugins by the author “lynbro”), plus what WordPress
    core adds to every request to WordPress.org: your WordPress version, the admin
    language and, in the User-Agent, your site address. Nothing about your visitors,
    users or content.
  • When: only on that screen, at most once a day (the answer is cached for a day;
    after a failed request, an hour). No other screen and no visitor request triggers it.
  • Installing a suggested plugin uses WordPress core’s own installer, which downloads
    the plugin from downloads.wordpress.org — only when you click “Install now”.
  • WordPress.org Terms of Service ·
    Privacy Policy

Privacy

Everything the plugin records is stored in two tables in your own database and
never leaves your site.

The journal holds, for each event: the time, what happened, the username that
was tried, the visitor’s IP address, the browser identification string, and the
reason in plain language. Storing the IP address can be switched off, at the
cost of no longer being able to see where attempts came from. Entries are
deleted automatically after the number of days you set — 30 by default — and you
can empty the journal yourself at any time.

For accounts using two-factor sign-in, the plugin stores the shared secret and
the hashes of the unused recovery codes against that account. The recovery codes
themselves are shown once and never stored, so nobody can read them back.

Deleting the plugin removes both tables, every setting, and all two-factor data
from every account.

Written by Joobi from the project's own listing. See the source page

Brute Forcehide loginlimit login attemptslogin securitytwo factor
19 Nov 2026
Version 0.3.2 released. Not scanned yet.

0.3.2

  • Translations ship with the plugin: Danish, Ukrainian, Polish and Russian. Until WordPress.org has a language pack for Lynbro Login Guard, these are used, so a Danish admin sees the screens in Danish.
  • “Our plugins”: Lynbro Login Guard is shown as available on WordPress.org, and newer Lynbro plugins are listed.

0.3.1

  • Journal: the event filter has a label for screen readers (axe “select-name”).

0.3.0

  • Multisite: network-activate Login Guard and one set of settings protects every site of the network from that moment — including sites created later — without writing anything into each site. Network Admin Settings Login Guard holds them. A network administrator can give one site its own settings and put it back on the network’s; site administrators cannot switch the guard off for their own site.
  • The network’s login address is checked against every site that follows it: an address a page, post, category or tag already uses on any of them is refused, naming the sites.
  • Moving over from WPS Hide Login on a network takes its network-wide address into the network settings.
  • Settings are now read per site within one request, so code that switches between sites never sees another site’s settings.

0.2.4

  • Internal: the 404 for the old address no longer defines WP_USE_THEMES (it uses the wp_using_themes filter), and the “back to wp-login.php” address comes from the plugin’s one login-address function.

0.2.3

  • With the sign-in page moved, wp-login.php?action=entered_recovery_mode (and enter_recovery_mode without its token) no longer shows the sign-in form, and with it the new address, to anybody who asks. That screen now opens only for the browser that just followed a valid recovery-mode link.
  • The recovery-mode link in WordPress’s “your site is having a technical issue” email works again with the sign-in page moved: it stays at wp-login.php, where WordPress handles it before any plugin loads. Before, it pointed at the new address and ended on a 404.
  • An old recovery link opened at the new address shows the sign-in form instead of a 404.

0.2.2

  • Readme: External Services now names the one WordPress.org request the shared “Our plugins” screen makes — what is sent, when, and the WordPress.org terms and privacy policy.
  • The plugin names and descriptions on “Our plugins” and in the suggestions are translatable.
  • Links on Lynbro screens use the darker brand green, which meets WCAG AA contrast on the admin background.

0.2.1

  • Shared Lynbro admin 1.1.0: after two weeks of use and a first success (for example settings saved), this plugin’s own screen asks once, politely and without stars, whether it is doing its job. Answers are per user: “Maybe later” or “Don’t ask again”, and only one Lynbro plugin asks in any 30 days.
  • A small “Suggested for this site” block under the plugin’s main screen lists Lynbro plugins that fit what the site already uses (WooCommerce, forms, a Danish setup …), with the reason. It can be hidden; nothing installs on its own and nothing is sent anywhere.
  • Tab labels on Lynbro screens meet WCAG AA contrast.
  • Lynbro admin screens now read the plugin’s bundled translations (languages/) when WordPress has no language pack for it, so a Danish admin sees Danish instead of English.

0.2.0

  • New: Cloudflare and reverse-proxy support. Choose where a visitor’s address comes from; a forwarded header is believed only from Cloudflare’s own network or from the proxy you name, never on its word. The overview warns when the site looks like it sits behind a proxy the settings do not know about.
  • New: one-click move from WPS Hide Login — keeps the address and the /wp-admin/ behaviour you already have, and warns while both plugins are active.
  • New: optional removal of the “Log in” and “Register” links from public pages for visitors, so the new address is not on show.
  • Fix: the settings screen now shows “Settings saved” and, when a value is refused, the reason — for example a sign-in address that a page already uses. Before, the refusal happened silently.
  • Change: database queries name their tables through %i placeholders, so WordPress 6.2 is now the minimum.
  • Change: an account whose role must use two-factor sign-in can no longer switch it off on its own profile. Another administrator can still reset it for a lost phone.

0.1.1

  • Fix: with the sign-in address hidden, /wp-admin/ for a signed-out visitor returned a 500 instead of the 404 (the admin bar asked for an admin screen that does not exist).

0.1.0

  • First release.
  • Move the sign-in page to an address you choose, with the address validated
    against your own content before it is saved.
  • Three ways back in: the address on screen and by e-mail, WP-CLI, and a
    wp-config.php constant that switches every guard off.
  • Failed sign-ins limited by address and by username, with escalating but always
    finite lockouts.
  • Two-factor sign-in with any authenticator app, recovery codes, and a QR code
    drawn on your own server.
  • Uniform sign-in errors, no account enumeration through the lost-password form
    or /?author=1, optional REST and XML-RPC restrictions.
  • Journal of every decision with the reason, one-click undo, CSV export.
  • WP-CLI commands, and a bridge to Lynbro Anti-Spam that avoids duplicate work.
18 Nov 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)