Home
Sakib Hasan

WooCommerce Security Checklist for Store Owners

Sakib Hasan's avatar

Sakib Hasan

Why a storefront needs to take security seriously

A WooCommerce store is a much bigger target than a brochure site: it handles customer accounts, order data, and payment flows, which makes it worth attacking in a way a static page usually isn't. Most successful attacks aren't sophisticated — they exploit an out-of-date plugin, a weak password, or a missing backup, not some clever zero-day.

The checklist below covers the practical basics that stop the overwhelming majority of real-world WooCommerce compromises.

1. Keep everything updated

WordPress core and PHP

Security patches for WordPress core and PHP close known vulnerabilities that attackers actively scan for. Running an outdated core or an end-of-life PHP version leaves the door open to exploits that have long since been fixed upstream.

Plugins and themes, especially WooCommerce extensions

WooCommerce itself and the extensions around it (payment gateways, shipping add-ons, page builders) are updated frequently for exactly this reason. Set a regular schedule to review and apply updates on a staging copy first, then push to production — don't let updates pile up for months.

2. Lock down admin access

Strong, unique credentials and two-factor authentication

Every admin and shop-manager account should use a unique, strong password and two-factor authentication (2FA). Credential-stuffing attacks — trying passwords leaked from other sites — are one of the most common ways WooCommerce stores get broken into, and 2FA stops almost all of them cold.

Limit login attempts

Rate-limit or lock out repeated failed logins on wp-login.php. This blunts brute-force and credential-stuffing attempts before they can do any real damage, and it's a small setting that's easy to forget on a fresh install.

3. Run a dedicated security plugin

A firewall and malware-scanning plugin — Wordfence is a common, solid choice — catches malicious traffic and suspicious file changes before they turn into a full compromise. It's not a substitute for the other items on this list, but it's a strong layer on top of them.

The scanning and alerts are only useful if someone actually looks at them, so build a habit of reviewing what the plugin flags rather than installing it and forgetting about it.

  • Install a reputable firewall and malware-scanning plugin such as Wordfence
  • Turn on scheduled malware scans and file-change alerts
  • Actually review scan results and alerts — don't let them pile up unread

4. Enforce SSL/HTTPS everywhere

HTTPS should cover the entire store, not just the checkout page — browsers now flag any page collecting data over plain HTTP, and search engines treat HTTPS as a baseline ranking signal. Most hosts offer free, auto-renewing certificates, so there's rarely a good reason to skip this.

Make sure every HTTP request redirects to HTTPS, and check for mixed-content warnings after any theme or plugin change.

  1. Force HTTPS site-wide, not only on checkout pages
  2. Use a certificate that renews automatically so it never silently expires
  3. Watch for mixed-content warnings after theme, plugin, or asset changes

5. Back up automatically, and test the backups

Regular, automated backups — stored off the same server, ideally offsite or in cloud storage — are the difference between a bad afternoon and a permanently lost store. Backups should cover both the database (orders, products, customers) and the files.

A backup you've never restored isn't a real backup. Test the restore process at least occasionally so you know it actually works before you need it under pressure.

6. Never handle card data directly — use compliant gateways

Don't store raw card numbers on your own server under any circumstances. Reputable payment gateways (Stripe, PayPal, and similar PCI DSS-compliant providers) handle the sensitive card data themselves, so your store never touches it directly.

Using a compliant, well-integrated gateway keeps you out of PCI compliance headaches and removes an entire category of risk from your store.

Putting it together

Updates, strong access controls, a security plugin, HTTPS, tested backups, and a compliant payment gateway cover the vast majority of real WooCommerce security incidents. If you'd like a second pair of eyes on your store's setup, feel free to get in touch or see how I approach WooCommerce projects.

Get started

Have a WordPress, PHP or Moodle project in mind?

Tell me what you're working on and I'll get back to you with practical next steps.

  • Free initial consultation

  • Reply within 24 hours