Skip to content
All articles

WordPress security: prevention, access and incident preparation

HTML login form code photographed on a monitor
Photo by Pixabay on Pexels

Plan WordPress security around 3 responsibilities: limit access, maintain trusted software and prepare a usable recovery route. A security plugin is only one possible component. The owner still needs to know who controls the website, which changes are permitted and what evidence will be available if something goes wrong.

The official WordPress hardening guide describes security as reducing risk rather than eliminating it. That is the right basis for a small business decision: choose controls you can operate and verify, rather than accepting an assurance that a site is completely secure. This article concerns website operations, not a claim that your site has been audited or cleared.

Which preventive controls belong in the owner’s security plan?

Begin with ownership of accounts. List website administration, hosting, domain registration and any service that can change how visitors reach the site. These are different responsibilities even when the same person handles them. The website’s user list cannot explain who may change its domain or restore a hosting backup, so include those dependencies in your register.

Give people the authority their work needs. WordPress roles and capabilities distinguish administration from editorial tasks. An Editor can work with other users’ posts; an Author can publish and manage their own posts; a Contributor can prepare their own posts without publishing them. Use those distinctions to discuss access rather than giving every occasional writer an administrator login.

Test the configured role instead of relying solely on its name. Record the tasks the person should perform and those they should not. A content contributor may need to upload material or submit a draft but should not necessarily control plugins or account settings. Where your installation changes default capabilities, document the actual result and keep that distinction visible to the owner.

Add login controls to the access plan. The hardening guide recommends strong passwords and two-step authentication. Use unique strong credentials for named accounts and enable a supported two-step method where available. Check how the authorised owner can recover access if a device or second factor is lost; keep recovery material restricted and separate from routine notes. Test that recovery arrangement without sharing credentials or weakening the normal sign-in route. Role selection limits what a signed-in account can do; it does not replace protecting the login itself.

Maintain a departure process as well as an onboarding process. When somebody stops working on the site, decide who checks their access and transfers unfinished responsibilities. This is an operating recommendation, not a product promise. A shared login makes individual actions harder to attribute, so named accounts are a more useful basis for a clear responsibility record.

Software provenance matters too. The hardening guide recommends trusted theme and plugin sources, including the official repository and recognised companies. Keep a record of where each installed component came from and who maintains it. Avoid treating an attractive feature or a familiar filename as evidence that a downloaded package is legitimate.

Keep WordPress and the environment supporting it maintained. Its hardening documentation explains that updates address security issues and that the local computer can also be a source of compromise. A protected server does not make a device with malicious software safe. Include the computers used for administration and the person responsible for their upkeep in the discussion.

Use an encrypted transfer method supported by your host when files must be moved. WordPress recommends encrypted SFTP where provided. That is a general recommendation, not an instruction to enable a particular server service or assume every host supports it. Confirm the available secure route with the hosting operator and avoid distributing credentials as part of routine troubleshooting.

The following original register turns these concerns into checks an owner can ask about. It does not certify any website or prescribe a universal security configuration.

Area Record to retain Question the owner should be able to answer
Account authority Named account and intended tasks Who can change users or install software?
Software origin Component source and maintenance owner Can we explain why this package is trusted?
Change control Change reason and recovery reference What would we restore if the change failed?
Administrative device Responsible user and maintenance arrangement Is the device itself maintained?
Backup coverage Files, database and storage location Which parts of the site can be recovered?
Recovery access Custodian and safe access route Can recovery happen if the usual administrator is absent?
Incident evidence Log location and restricted custodian Who can preserve evidence without exposing it publicly?

How do you prepare for an incident without pretending it cannot happen?

Prepare a recovery note before a suspected compromise. The hardening guide includes backups and a recovery plan as security preparation. Ask what is included in the backup and how the relevant copy is identified. A folder called “backup” does not tell you whether it contains the database, uploaded files or the information needed to reconnect the application.

Keep backup availability distinct from restoration evidence. A successful copy operation is useful, but the owner also needs confidence that the material can be used. Arrange an appropriate restoration exercise away from the public site and record what was restored and what remained outside its scope. Do not invent a restoration time or assume that every stored copy is complete.

Write down the first actions for suspicious behaviour: preserve the observed URL and message, identify affected accounts, notify the responsible operator and avoid uncontrolled changes. An unfamiliar administrator, unexpected redirect or altered page is a reason to investigate. It is not enough evidence to publicly attribute an attack or identify its source.

Preserve logs and change history before cleaning up. An indiscriminate deletion can remove both malicious material and the evidence needed to understand how it arrived. Keep technical records restricted and share relevant extracts through an agreed channel. Public screenshots should not reveal private paths, account details or visitor information merely to demonstrate that an incident occurred.

Define who can authorise containment. Taking a site offline, disabling an integration or withdrawing an account can interrupt legitimate business. Your plan should identify the person making that decision and the person implementing it. This preparation prevents an emergency from becoming a contest between several people making incompatible changes at once.

Recovery should address the cause as well as the visible symptom. Replacing an altered page will not, by itself, explain whether access remains available to someone unauthorised. Ask the investigator to document the confirmed route, the actions taken and unresolved questions. Where the cause is not yet known, keep it labelled unknown rather than turning a suspicion into a finished finding.

After restoration, check the public customer journey and the restricted administrative functions. Confirm the intended account permissions, inspect important pages and verify the contact route. Keep the incident record alongside the maintenance register so the next routine change incorporates what was learned. A useful plan improves through actual evidence, not through claims that future incidents are impossible.

Spout’s WordPress page provides related service context. Get started with a redacted responsibility register and the outcome you need to clarify. This is a starting brief for establishing scope; it is not a claim that a security assessment, incident response service or professional review has already been provided.

By Spout Team. AI-assisted drafting by Codex, grounded in the linked primary documentation.

Make your next move.

A website, a store or a clearer digital plan. Let’s start with your business.

Start your brief