Home/Insights/Security & maintenance

WordPress security checklist for online stores

MNBy Madlin Nabil, Senior WordPress Developer & MarTech Specialist··2 min read

An online store holds customer data and takes payments, so a security problem is also a sales and reputation problem. Most WordPress hacks I have seen didn’t come from clever attacks but from weak passwords, old plugins and nulled software. This checklist covers the basics that prevent most of them.

In short
  • Two-factor login for every admin, and no shared accounts.
  • No nulled plugins or themes, ever.
  • Updates tested on staging, and backups you have actually restored.
  • A firewall in front of the site (Cloudflare or similar), and one security plugin, not two.

Accounts

  1. Turn on two-factor authentication for all administrators and shop managers.
  2. Give each person their own account with the lowest role they need.
  3. Remove old accounts of former staff, agencies and developers.
  4. Review the user list for unknown administrators every month.

Plugins and themes

  1. Never use nulled plugins. These are paid plugins shared for free, often with hidden malware. On one store I found and reported several, and we replaced them with licensed or free alternatives.
  2. Delete plugins and themes you don’t use; deactivated plugins can still be exploited.
  3. Keep one plugin per job. Two security plugins conflict and slow the site.
  4. Update regularly, after testing on staging (see safe updates).

Firewall and bots

  1. Put the site behind Cloudflare or a similar service, with rules for the login page, XML-RPC and the admin area.
  2. Rate-limit login and checkout attempts.
  3. Make sure the rules don’t block payment gateway callbacks, ERP integrations or WordPress’s own scheduled tasks. Test after every rule change.

Backups and recovery

  1. Daily backups of files and database, stored away from the server.
  2. Test a restore on staging at least once. A backup you can’t restore isn’t a backup.
  3. Keep a short incident note: who to call, where backups are, how to put the site in maintenance mode.

If you are infected

Signs: strange pop-ups, redirects on mobile, new admin users, or a warning from Google. What I did on a store with a malicious pop-up: take a backup first, then disable plugins one by one to find the source, remove it, change all passwords and keys, and scan again.

API keys and integrations

WooCommerce REST API keys should have the minimum permission (read only when possible), one key per integration, and never appear in URLs. If a key was exposed, regenerate it.

FAQ

Which security plugin should I use?

One good one (for example Wordfence or Solid Security) is enough. Running two usually causes conflicts and extra load.

Is Cloudflare’s free plan enough for a small store?

It gives you DNS, a CDN, basic bot protection and custom rules, which is a big improvement for most small stores.

How often should I update plugins?

Security updates as soon as possible after a quick test; other updates on a regular schedule, such as weekly, tested on staging first.

Related insights

See all 23 articles →

Need this for your store?

I build and fix WordPress and WooCommerce sites with marketing in mind: tracking, speed, checkout and integrations.