When I bring up hacking with clients, many of them tell me their website is too small to interest anyone. Unfortunately, it’s the other way around: most attacks are automated, and bots test thousands of sites every day looking for an unlocked door, without caring how big the business behind it is. The good news is that a handful of good habits is enough to rule out most of the risk. Here is how I approach WordPress security for the website of a small business, a freelancer or a practice.

Why WordPress security matters for small sites too

WordPress is the most widely used system for building websites, which also makes it the most targeted. Its core is seriously maintained; vulnerabilities mostly come from what gets added around it: plugins, themes, weak passwords, neglected hosting.

A hacked site can:

  • display spam pages (casinos, pharmaceuticals, counterfeit goods) under your domain name;
  • redirect your visitors to fraudulent websites;
  • send junk email from your server;
  • expose the messages sent through your forms;
  • get flagged as dangerous by Google and by browsers, then suspended by your host.

For a local business, neglecting WordPress security has a very concrete cost: lost customers and a damaged reputation, when the site was supposed to build trust.

Update WordPress, your theme and your plugins

This is the single most important measure. When a vulnerability is found in a plugin, a fix is released, but the flaw also becomes public: bots immediately start looking for the sites that haven’t updated yet. When it comes to WordPress security, a few days’ delay is enough.

  • Minor WordPress releases install automatically by default: leave that switched on.
  • Check your plugins and theme at least once a week.
  • Make a backup before major updates, then check the site right afterward.
  • Keep a PHP version on your hosting that is still supported.

My WordPress maintenance checklist walks through this routine week by week.

Fewer plugins, chosen more carefully

Every plugin is code written by someone else, and it may contain a flaw. Before installing one, I check when it was last updated, how many active installations it has and what the reviews say. A plugin its author abandoned months ago should be replaced.

Two more rules:

  • delete deactivated plugins and themes instead of leaving them lying around: even inactive, they remain a possible way in;
  • never install “nulled” versions, the pirated copies of premium plugins that circulate for free: they very often contain malicious code.

Strong passwords and two-factor authentication

Brute-force attacks try thousands of combinations on your login page. A long, unique password, generated and stored in a password manager, makes them useless.

To go further:

  • turn on two-factor authentication for administrator accounts, using a dedicated plugin: a code on your phone on top of your password;
  • avoid the username “admin”, the first one bots try;
  • limit login attempts, a protection often offered by your host or by a security plugin;
  • give each person their own account, with the minimum role they need, and delete the accounts of former contractors.

Don’t forget your other access points: your hosting account, FTP, the database and the administrator’s email inbox. An attacker who controls your email can reset every other password you have.

Backups stored somewhere else

No WordPress security measure is foolproof: a backup is your insurance policy. To be useful, it has to be automatic, complete (files and database) and stored away from the site’s server: if the hosting is compromised or goes down, a backup kept in the same place disappears with it. Keep several versions covering a few weeks, since a hack isn’t always discovered on the day it happens, and test a restore from time to time.

Good hosting and HTTPS: the foundation of WordPress security

A reliable host does part of the work for you: up-to-date servers, isolation between sites, a firewall, backups, a free HTTPS certificate. I go into more detail in my guide to web hosting and domain names.

HTTPS encrypts the exchanges between the visitor and the site, which is essential as soon as you have a form. Check that every page shows the padlock, and that the HTTP version redirects to the secure one.

Finally, a few technical settings strengthen WordPress security: disabling the file editor built into the dashboard, protecting the wp-config.php configuration file, setting file permissions correctly. The official documentation covers them in its guide to hardening WordPress.

Signs that a site has been hacked

Even with solid WordPress security, a hack is still possible, and it isn’t always obvious: attackers work hard to stay hidden. Watch out for:

  • unknown pages in Google: type site:yourdomain.com into the search bar and check whether pages about casinos, medication or in a foreign script show up;
  • redirects to other websites, sometimes only on mobile or only when arriving from Google;
  • an administrator account you didn’t create;
  • a Search Console alert about a security issue, a browser warning or an email from your host;
  • a site that suddenly becomes very slow, or emails from your domain landing in spam.

What to do if your site has been hacked

Don’t panic, but act quickly and in the right order:

  1. tell your host and, if possible, put the site into maintenance mode;
  2. change every password: admin, hosting, FTP, database, email;
  3. restore a clean backup from before the hack, or have the site cleaned;
  4. update everything, delete unknown accounts and files, and find the vulnerability;
  5. get rid of the spam pages: once the site is clean, their URLs should return a 404 or 410 error, then request a review in Search Console if Google flagged the site.

Google’s web.dev team has a useful guide for sites that have been hacked. And if personal data may have been exposed, such as messages received through your forms, the GDPR may require you to notify your data protection authority (the CNIL in France) within 72 hours.

WordPress security: do it yourself or hand it off?

Everything above is within reach of a motivated site owner, with a little time each week. If you’d rather focus on your business, the WordPress maintenance service I offer takes care of updates, backups stored outside your hosting and security monitoring. And when I build a site, WordPress security is planned from day one: few plugins, carefully chosen, and protections in place before launch.

The bottom line

Regular updates, few plugins and well-chosen ones, strong passwords with two-factor authentication, off-site backups and a good host: that’s the essence of WordPress security for a small website. If you’re unsure about the state of yours, let’s talk: a quick review will show you where you stand.