WordPress Security: A Production Hardening Checklist
Review WordPress backups, administrator access, updates, login controls, secrets, and recovery before changing production security settings.
A WordPress security checklist should tell you what to inspect, how to change it safely, and how to recover if something goes wrong. Installing a security plugin is only one possible part of that process. Your hosting account, administrator access, backups, and update habits also affect the site's exposure.
Start by identifying who owns the domain, hosting, email, and WordPress administrator accounts. Then work through the checks below on staging where possible. Keep a working recovery route before restricting access, especially when the website generates leads or publishes time-sensitive content.
Establish a backup you can restore
Create a backup of the database and the files required to run the site. Keep a copy outside the server that hosts WordPress. A backup on the same compromised account may be unavailable when you need it.
Test restoration on an isolated environment. Check article content, uploaded images, navigation, and any form configuration. Record which secrets or external services require separate setup. The existence of a backup archive does not prove that the website can be restored from it.
Decide how much recent work the business can afford to lose. A frequently updated publishing site may need a different backup schedule from a rarely changed brochure site. Include a named person responsible for checking backup failures.
Reduce administrator access
Give each person an individual account with the permissions needed for their work. Writers do not normally need permission to install plugins or modify site configuration. Remove access for people who no longer work on the website, and review unused accounts rather than leaving them indefinitely.
Use strong, unique passwords and enable a suitable multi-factor authentication method for privileged accounts. Protect the hosting and recovery email accounts too. A protected WordPress login is less useful if someone can reset it through an insecure mailbox.
Keep a documented emergency access process. If multi-factor authentication fails, the owner should have a recovery path that does not depend on sharing another person's account. Store recovery information securely rather than in a public project document.
Keep software accountable
Inventory WordPress core, active themes, plugins, and any custom code. Remove abandoned extensions after checking whether the site depends on them. An inactive plugin can still leave files on the server, so disabling and uninstalling are different maintenance actions.
The official WordPress hardening guidance emphasizes using trusted software sources and keeping the installation maintained. Download updates through the official project or the legitimate vendor. Avoid modified premium packages from unknown distributors.
Before updating an important extension, check its compatibility notes and test the affected feature. Run through editing, publishing, forms, search, and payment integrations if present. Keep the previous backup and deployment information ready until the updated site has been checked.
Protect login routes without locking out the team
Rate limiting, host-level controls, and multi-factor authentication can reduce exposure around authentication. Choose controls that fit the team's access patterns. An IP allowlist may be awkward for people whose addresses change frequently or who work remotely.
Do not apply a blanket restriction without testing scheduled tasks, integrations, and recovery. Basic authentication around an admin area can affect API clients if it is configured too broadly. Add an explicit exception only when the integration requires it and the resulting exposure is understood.
Review whether XML-RPC is required by your actual tools before disabling it. Some publishing integrations depend on that interface. A change that blocks an attack path but silently breaks the editorial workflow needs a documented replacement.
Restrict editing and protect secrets
Where appropriate, disable the built-in theme and plugin file editor with DISALLOW_FILE_EDIT in the WordPress configuration. This removes one editing interface; it is not a complete protection against malicious code or a stolen hosting account.
Check file permissions with your host's guidance instead of applying broad writable permissions to resolve every error. Keep configuration files, API credentials, and database exports out of public download paths. Make sure backups do not receive predictable public URLs.
If the website uses a headless frontend, review preview secrets and API permissions separately. The public application should not receive credentials that grant editorial or administrator access.
Introduce headers carefully
Confirm that HTTPS works across the website and that mixed-content requests are resolved. Consider security headers as part of the host and application configuration, but test them against the site's real integrations.
A restrictive Content Security Policy can break analytics, embeds, or advertising if required origins are missing. Begin with an inventory and a suitable testing process rather than copying a policy from an unrelated site. HSTS also needs careful planning because browsers can retain the instruction to use HTTPS.
Security settings should have a rollback plan. Record what you changed and which features you checked so a future maintainer can understand the configuration.
Monitor changes and prepare an incident procedure
Choose logs that help identify failed logins, unexpected administrator changes, and altered files. Avoid retaining sensitive request data without a clear need. Decide who reviews alerts and how quickly a suspicious change should be investigated.
If an incident occurs, preserve useful evidence, isolate the affected system, and use a trusted device for recovery. Restoring a clean backup alone may not solve the problem if compromised credentials or an unpatched entry point remain active.
After recovery, test the public pages and editing workflow again. Review related access, rotate affected secrets, and document the cause if it can be established. For social accounts connected to the website, the account recovery checklist covers ownership records and post-recovery access review.
Security maintenance works best as a recurring operational task. Keep the checklist short enough to use, assign each item an owner, and revisit it when the site adds a new integration or administrator.