BetterShield
Appearance
SettingsRecoveryUser roles

WordPress agency security: set up every client site the same way

· · 9 min read

WordPress agency security comes down to doing the same few things on every client site, in the same order, and writing down where the way back in is kept. With BetterShield, the free WordPress security plugin, that routine is recovery first, then two-factor for administrators, then alerts that reach a person, then a file check, and finally a settings file you carry to the next site. This guide is the per-client version, with what each step can change and how to undo it.

If you want the hub side, connecting sites and sending reports, read Manage security across many WordPress sites from one hub. This post covers what to set once on each site before the hub matters, and the agencies page shows how the pieces fit together.

Quick summary

  • Set up recovery first: keep the recovery link and eight recovery codes in a vault entry for that client, off the site.
  • In Quick Setup, choose Me and a team and add your agency’s address, so alerts reach you as well as the client.
  • Require two-factor of Administrator with Require two-factor of a role; people have a 14-day grace period by default.
  • Press Send a Test Alert and Check now on the file check before you call a site finished.
  • Export settings from a finished site and Import a settings file on the next one. The file shows a plan before anything changes.

Why a routine beats a good memory

Client sites are set up by different people at different times. One has two-factor and sign-in limits, the next has neither, and nobody remembers which. A short routine, done in the same order, makes the sites alike and makes the gaps easy to see. It also gives a new teammate something to follow.

Nothing here replaces judgment about a particular site. It is the baseline you start from.

The routine, step by step

Do this on each client site with an account allowed to manage BetterShield there. Recommended setup has the full list; this is the agency cut of it.

1. Take the site on

  1. Run Quick Setup.
  2. On the Protect step, open More settings and choose Me and a team under Who signs in to this site?.
  3. Add your agency’s address with Add Another Email.
  4. Apply the safe fixes it offers. They are chosen so they cannot lock anyone out.

2. Save the way back in

On BetterShield › Protection › Recovery, keep the recovery link from the activation email in a password manager entry for this client. It works once and lasts 90 days. Press Issue Recovery Codes and store the eight codes in the same entry, since they work when email does not. Then turn on Send a weekly recovery email check and press Check Recovery Options.

We put this before anything that changes how people sign in. Those changes check for a working way back first, and a stored link is what makes that check pass. The Set up recovery doc lists the four checks.

3. Require two-factor of administrators

Open Protection › Two-Factor. Press Set up two-factor for your own account first. Then use Require two-factor of a role and tick Administrator, and Editor where editors publish. The Grace period, in days is 14 by default. After it ends, the dashboard waits until the person sets two-factor up; signing in is never blocked. See Require two-factor.

4. Make alerts reach someone

On BetterShield › Settings › Email Alerts, add up to five addresses under Where alerts go, ideally a shared inbox your team watches plus the client contact. Press Send a Test Alert. It goes through the same WordPress mail path as live alerts, so a mail problem shows up now rather than later. For planned work, use Planned maintenance rather than Mute all alerts. See Alert recipients.

5. Run the first file check

Open BetterShield › Activity › File Changes and press Check now. WordPress core and plugins from WordPress.org are compared with their published copies, and the checks then run hourly in the background. Let the first baseline finish before reading changes to watched code as meaningful. The file integrity checks doc explains what is compared and what is only watched.

6. Copy the settings to the next site

On the finished site, press Export settings under Settings › General. On the next site, Import a settings file shows a plan, and the button that applies it counts the changes it will make. Two-factor enrollments, sessions, the recovery link and alert recipients stay behind, so steps 2 to 4 still happen on each site. The file describes your block lists and sign-in address, so keep it private. Details are in Move settings between sites.

What each step sets

StepWhereWhat you leave behind
Take the site onQuick SetupSafe fixes applied, your address on alerts
RecoveryProtection › RecoveryLink and eight codes in the client’s vault entry
Two-factorProtection › Two-FactorAdministrators required, 14-day grace
AlertsSettings › Email AlertsUp to five addresses, one test received
File checkActivity › File ChangesA completed first check
Settings fileSettings › GeneralThe same standard as your last site

When the site sits behind a proxy or a staging copy

If the client’s site is behind Cloudflare, press Yes, this site is behind Cloudflare on Protection › Login & Access, so each visitor is counted on their own. Behind another proxy, list its addresses under Addresses of your CDN or proxy. The WordPress behind Cloudflare or a proxy post goes through it.

When you copy a client site to staging, the Overview asks whether the new address is a staging copy or a move. Answer A staging copy and alerts are muted and the hub’s connection is refused on that copy only. One Undo puts it back. See Moved site or staging copy.

Then look at all of them in one place

Once the sites share a routine, the hub is where you read them together. Connect each site from BetterShield › Hub and choose Read this site only for a site you only monitor. Use Hub team access to give a colleague the Viewer role, limited to Only these sites, and a Hub baseline to compare sites against the protections you chose. The free Hub workspace needs no BetterShield Ultra. The Connect a site to BetterShield Hub doc has the steps.

Roles matter here as much as on the site. Each WordPress role carries a fixed set of capabilities, which the WordPress roles and capabilities documentation lists, so give a contractor the narrowest role that covers the job. If your sites share one multisite network, WordPress multisite security shows the rules you set once, and WordPress security from the command line covers scripting the check.

BetterShield Ultra adds temporary access, a client report and an agency handover for the end of an engagement. They are optional; the routine above uses only the free plugin.

What it can break, and how to undo

  • Requiring two-factor can send people to a setup screen after the grace period. Remove the role from Require two-factor of a role to undo it.
  • A new recovery link retires the old one at once, including a copy you saved. Update the vault entry right away.
  • A wrong alert address sends alerts to the wrong person. Correct or remove it, and send another test.
  • An import can weaken or conflict with a site’s current settings. Each changed setting gets its own history entry, and Put a settings change back reverses them one at a time. There is no single rollback for a whole import, so import into staging first.
  • Read and fix on the hub lets the hub change a site within the permission you approved. Choose read-only if it should never change anything.

Check it is working

  • The Overview’s recovery card reads A recovery link is ready, and the Recovery check shows no failing row.
  • Your test arrives as Alert delivery test in every inbox you named.
  • File Changes shows a Last check time and a completed progress bar.
  • The Activity log shows the recovery link being generated and each setting you imported.

We recommend doing the routine in the order above on the first site, writing the result into your own checklist, and exporting that site’s settings only after it is finished. Treat staging as the place to try an import. Keep one vault entry per client, shared with the people who look after that site, and send yourself the first alert before the client sees one.

Frequently asked questions

What should an agency set up first on a client WordPress site?

Recovery. Keep the recovery link and recovery codes somewhere off the site before you change how anyone signs in, because those changes check for a working way back first. After that, require two-factor of administrators and make sure alerts reach a person.

Can I copy BetterShield settings from one client site to another?

Yes. Export settings on Settings › General writes a file, and Import a settings file on the next site shows a plan before anything changes. Two-factor enrollments, sessions, the recovery link and alert recipients stay behind, so set those on each site.

Do I need BetterShield Ultra to look after client sites?

No. The recovery, two-factor, alerts, file check, settings file and Hub workspace are free. Ultra adds site-specific controls such as temporary access, a client report and a handover.

Who should receive security alerts for a client site?

Name up to five addresses under Where alerts go. We recommend a monitored shared inbox with at least two responsible people, and at least one address on High and critical so an urgent alert always reaches someone.

Should the hub be read-only or able to apply fixes?

It depends on the site. Read this site only suits a site you only monitor. Read this site and apply fixes that can be undone suits a site you look after actively. Disconnect on the site ends either one at once.

Conclusion

A client setup routine is short: recovery, two-factor, alerts, a file check, and a settings file for the next site. Done in the same order each time, it makes your sites alike and makes the one that slipped easy to find. BetterShield is free on WordPress.org, and the first step in full is in the Recommended setup doc.

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