How to Secure Your WordPress Website: A Checklist for Small Businesses

By J. Mesa

WordPress powers a large share of business websites, which makes it a constant target. Most attacks do not target you personally. Automated tools scan the internet for outdated plugins, weak passwords, and open admin pages. A site that is updated, backed up, and protected with a few basic controls resists nearly all of it.

What attackers want

  • Passwords. Bots try thousands of logins against your admin page. Stolen passwords from other breaches make this easier. See credential stuffing.
  • Outdated plugins and themes. A known flaw in a plugin lets an attacker take over the site.
  • Your visitors. Hackers inject malicious code that redirects visitors, shows spam, or steals form data.
  • Your reputation. A hacked site can be blacklisted by search engines and browsers.

The checklist

Keep everything updated. – Update WordPress core, themes, and plugins promptly. Our guide to patch management explains the routine. – Turn on automatic updates for minor releases and for plugins you trust. – Delete plugins and themes you do not use, instead of only deactivating them.

Protect logins. – Use a unique passphrase for every user. – Turn on multi-factor authentication for all administrators and editors, preferably with an authenticator app, as discussed in our second-factor comparison. – Do not use the username admin. – Limit login attempts and consider a CAPTCHA on the login form. – Give each person the lowest role needed. Few people need the administrator role. See least privilege.

Choose plugins and themes carefully. – Install from the official directory or a reputable developer. – Check the update history, the number of active installs, and support activity. – Avoid pirated or nulled themes, which often carry hidden malware. This is the same trap as fake software downloads.

Back up regularly. – Schedule automatic backups of files and the database. – Store copies off the server, and keep several versions. – Test a restore. A backup you never restored is a guess.

Harden the server and the connection. – Use HTTPS on every page. – Choose a host that offers security updates, isolated accounts, and malware scanning. – Keep the PHP version current. – Use secure file transfer instead of plain FTP. – Consider a web application firewall or a service that filters traffic before it reaches your site.

Monitor. – Install a reputable security plugin that scans for changes and sends alerts. – Review user lists and remove stale accounts. – Watch for new administrators, unexpected files, and strange redirects. – Check Google Search Console for security warnings.

Protect the rest of the setup

Your site connects to other services. Secure the domain registrar account with multi-factor authentication, protect the email addresses tied to it, and set up the records explained in our SPF, DKIM, and DMARC guide so criminals cannot spoof your domain. Keep contact forms free of unnecessary fields, and avoid collecting sensitive data you do not need.

Signs of a hack

  • Your site redirects to another address.
  • New pages or posts appear that you did not create.
  • Visitors see browser warnings.
  • Your host suspends the account.
  • You cannot log in, or unknown administrators appear.

If your site is compromised

  • Contact your host and ask them to help isolate the site.
  • Change every password: WordPress, hosting, database, and FTP.
  • Restore from a clean backup made before the hack.
  • Update everything, and remove the plugin or theme that let the attacker in.
  • Scan for backdoors and unknown users.
  • Notify customers if personal data was exposed. See our post on incidents versus breaches.

Hosting choices and what they mean for security

Where your site lives affects how much work you have to do.

  • Shared hosting. Many sites share a server. It is inexpensive, but a compromise of one site can affect others if the provider does not isolate accounts well.
  • Managed WordPress hosting. The provider handles updates, backups, and scanning, and often adds a firewall. It costs more and saves time.
  • Virtual private servers. You control the server and must maintain it yourself, which suits teams with technical staff.
  • Website builders. Hosted platforms manage the software for you, at the price of flexibility.

For many small businesses, managed hosting provides the best balance. Ask any host how it handles updates, malware scanning, backups, and isolation between customers, using the same type of questions in our guide to questions for service providers.

Hardening the login page

The login page draws constant automated attempts. Take several steps.

  • Change the login address from the default, or restrict it to approved locations where possible.
  • Limit the number of failed attempts, and lock out addresses that exceed it.
  • Require multi-factor authentication for every account that can edit content.
  • Remove accounts that are no longer needed, especially from former employees and contractors.
  • Never share one login among several people.
  • Use a unique passphrase for the site and the hosting account.

Test your own login the way an attacker would. Try the default login address and see what happens.

Plugin hygiene in more detail

Plugins are the most common source of problems. Keep the list short and reviewed.

  • Read the changelog before major updates.
  • Choose plugins with active development and a recent update date.
  • Remove plugins that overlap in function.
  • Watch for notices that a plugin has been closed or sold. A change of owner can bring new risks.
  • Keep a list of every plugin with its purpose and owner. If nobody can explain why it is installed, remove it.

When a vulnerability in a popular plugin becomes public, attackers begin scanning within hours. Subscribe to security notices from your plugin vendors or a reputable WordPress security feed so you can update quickly.

Backups you can trust

A backup protects you from a hack, a failed update, or a mistaken deletion. Follow these practices.

  • Back up both the files and the database.
  • Keep several versions, not only the latest, because an infection may go unnoticed for days.
  • Store copies somewhere other than the web server.
  • Encrypt backups that contain customer data.
  • Restore a copy to a test site every quarter and confirm that it works.

Our post on patch management describes the general routine. For a website, make the first Monday of each month the day you update, back up, and check the security plugin’s report.

The bottom line

Most WordPress compromises trace back to old plugins and weak logins. Update often, use multi-factor authentication, keep tested backups, and remove what you do not need. An hour of care each month keeps your site safe.

Related reading: What Is a DDoS Attack, and Can It Hurt a Small Business? and Browser Extension Security: Which Add-Ons Are Safe to Install?, What Is Credential Stuffing? The 23andMe Breach Explained, SPF, DKIM, and DMARC Explained: How to Stop Email Spoofing of Your Domain.