BetterShield
Appearance
Two-factorPasskeysUser roles

Add a sign-in security page for WordPress members

· · 7 min read

To add a sign-in security page for WordPress members, publish a page that holds the Sign-in Security block or the [bettershield_account] shortcode, then choose it under Sign-in Security Page on BetterShield › Protection › Two-Factor. In BetterShield 1.1.7 and newer, a member who cannot open wp-admin then manages their own two-factor, passkeys and signed-in devices on the front end of your site.

Keep subscribers and customers out of wp-admin mentions this page in one section. This post is the whole job: what the page shows, how to publish it, how to point members at it and how to test it as a member would.

Quick summary

  • The page shows a signed-in member their own two-factor, passkeys and signed-in devices. It never shows your security details or opens BetterShield’s screens.
  • Add it with the Sign-in Security block or the [bettershield_account] shortcode on a published page that has no page password.
  • Choose the page under Sign-in Security Page on BetterShield › Protection › Two-Factor. It saves immediately, and the default is None.
  • A signed-out visitor sees a Sign in link that returns them to the page afterward.
  • Setting Page back to None stops directing members to it and leaves their two-factor and passkeys in place.

Why members need a place of their own

Subscribers, customers and course members rarely have work in the dashboard. Many sites send them to the front page for that reason, and the low-privilege accounts guide covers how. Their profile stays reachable, but a member who has never seen wp-admin may not think to look for it there.

The same question comes up on every membership site: where does a member turn on two-factor or add a passkey? Without an answer, those features stay off for the people who might use them most. A page inside your own site, in your own navigation, is a calmer answer than telling members to find a screen they were never meant to open.

What the page offers

On the published page, a signed-in person sees three things for their own account:

These are the same three sections members would find on their profile, offered where your members already are. The page does not give them access to BetterShield’s administrator screens. The editor shows an explanation rather than your own security details, so you can build the page without exposing anything.

A signed-out visitor sees a Sign in link that sends them back to this page after they sign in.

Set it up

Step 1: Publish the page

  1. Open Pages › Add New and create a page.
  2. Add the Sign-in Security block, or add a Shortcode block with [bettershield_account].
  3. Publish the page. Use a published page without a page password, and make sure your membership or page-access rules let members open it.

Step 2: Choose it in BetterShield

  1. Open BetterShield › Protection › Two-Factor.
  2. Under What the site requires, find Sign-in Security Page.
  3. Choose your page under Page. It saves immediately. The default is None.

In BetterShield 1.1.9 and newer, pages that contain the account controls are listed first, including a published page whose controls come from a synced pattern. Choose one of those.

Choosing the page gives members without dashboard access a destination for relevant setup reminders and account notices. Eligible WooCommerce customers use My Account › Sign-in security first.

Step 3: Test it as a member

  1. Open a separate browser session and sign in as an ordinary member, not as an administrator.
  2. Open the page. Check that you can start two-factor setup, add a passkey on HTTPS and review signed-in devices.
  3. Exclude the page from full-page caching, so each member sees their own details.
  4. Test your membership restrictions as that member. Publishing a page does not override another plugin’s access rules.

Keep an administrator session and a recovery link available while you test.

On a store

On a WooCommerce site, customers have My Account › Sign-in security, which carries the same three sections. Show Sign-in security on WooCommerce My Account, on the same Two-Factor screen, starts on. Turning it off hides the tab only from customers with no applicable requirement and no existing factor. Anyone required by a rule, or already using two-factor or a passkey, still sees it so they can manage their account.

Our WooCommerce customer two-factor guide covers the store side in full. The page in this post is for members who are not store customers, or for a site that wants one destination for everyone.

What it can break, and how to undo

  • A page members cannot open. A page password, or a membership rule that blocks the page, means members see nothing. Test as a member before you announce it.
  • A cached page. If full-page caching serves one member’s view to another, details are wrong. Exclude the page.
  • Passkeys without HTTPS. The passkey section cannot work on a site without HTTPS.
  • Another plugin’s access rules. Publishing the page does not change them.

To undo, set Page back to None. That stops directing members to the selected page and leaves their existing two-factor and passkeys in place. The block or shortcode still shows its controls wherever you placed it, so unpublish or edit that page separately if you no longer want to offer it.

Check it is working

  • Open the page signed out. You should see a Sign in link, and after signing in you should come back to the same page.
  • Open it as a member. Two-factor, passkeys and signed-in devices should all appear for that member only.
  • Look at the editor view as an administrator. It should show an explanation, not anyone’s security details.
  • Confirm that a member’s reminder to set up two-factor leads to the selected page.

We recommend publishing the page before you ask anyone to use two-factor, linking it from your members’ navigation or account menu, and testing it with a real member account on a staging copy or a quiet day. Keep your own administrator accounts on two-factor and passkeys first, so you can answer questions from experience. The WordPress developer handbook on roles and capabilities explains why members have no dashboard work to begin with.

Frequently asked questions

Do members need to open wp-admin to use it?

No. The page runs on the front end of your site. A member signs in, opens the page and manages their own two-factor, passkeys and signed-in devices there.

Can a member see anyone else’s details?

No. Each signed-in member sees their own account. The editor shows an explanation rather than your security details, and the page never opens BetterShield’s administrator screens.

What do I put on the page?

The Sign-in Security block, or a Shortcode block with [bettershield_account]. Publish it without a page password.

Does choosing the page require members to use two-factor?

No. It gives members a destination for relevant setup reminders and account notices. Who must use two-factor is a separate choice on the same screen, under What the site requires.

What happens if I switch it off?

Set Page back to None. Members’ two-factor and passkeys stay as they are, and the block or shortcode keeps working wherever you placed it.

Conclusion

A member who never sees wp-admin still deserves a way to protect their own sign-in. Publish a page with the Sign-in Security block, choose it under Sign-in Security Page, and test it as a member. BetterShield is free on WordPress.org. The full steps are in the Member sign-in security guide.

Close the open doors today

Install the free plugin. The first audit runs when you activate it, and all but one of the fixes wait for your choice.

Requires WordPress 6.7 or newer and PHP 8.0 or newer.

Get BetterShield