Most small websites are never targeted by anyone in particular. They are found by automated scans that knock on thousands of doors an hour, looking for the ones left unlocked. That is the useful way to think about website security: it is less about fending off a determined attacker and more about making sure your door is locked and you have a spare key. Security is part of your digital infrastructure just as much as hosting and design are.
Keep everything updated
The single most effective thing you can do for a small site is also the most boring: keep it updated. Your content management system, your theme, and every plugin exist in versions, and each new version closes holes found in the last one. Scans that probe small sites look for exactly those known holes, so an out-of-date plugin is an open invitation.
Make updates a routine rather than a reaction. Check at least once a month, and apply them promptly rather than letting them pile up. Turn on automatic updates for minor releases, since those small fixes rarely break anything. Before a major update, take a backup first, so you can roll back. And remove anything you no longer use: a plugin or theme sitting inactive on your site is still code that can be probed, so delete it rather than leaving it switched off.
Lock down access
Your login page is the front door, so treat it that way. Every person who can log in should have their own account, with a long password that is used nowhere else. Shared logins are a quiet risk: when someone leaves a project, a shared password tends to stay in circulation.
A password manager makes this painless. It generates strong, unique passwords and remembers them, so nobody has to reuse the same phrase across services. Turn on two-factor authentication wherever it is offered, especially for administrator accounts. It adds one step to logging in, and it means a stolen password alone is not enough to get in. Finally, review your user list every few months: remove accounts for people who no longer work on the site, and keep administrator access to as few people as genuinely need it.

Back up before you need it
A backup is the undo button for everything that can go wrong with a website. Files get corrupted, updates go sideways, and occasionally something gets in that should not be there. In each of those moments, the question is never whether a backup is a good idea. It is whether one exists, and whether it is recent enough.
Set up automated backups that run on a schedule you do not have to remember, and store them somewhere other than the server your site runs on. A backup on the same machine as the site it protects is no help if that machine fails. Keep a few recent copies rather than a single one, so an unnoticed problem does not quietly overwrite your only good copy. Then test a restore occasionally: a backup you have never restored from is a promise you have not checked. Our guide to backing up a website properly walks through the details.
HTTPS is the baseline, not a bonus
If your site still loads over plain HTTP, fixing that comes before almost everything else. HTTPS encrypts the connection between your visitors and your site, so passwords and form entries cannot be read as they travel across the network. Browsers now mark plain HTTP pages as not secure, which is a poor first impression for anyone who logs in or buys something.
Most hosts now provide a certificate at no extra cost and set it up automatically. Check that your site loads with the padlock showing, and that old HTTP addresses redirect to the secure version. If your certificate expires, visitors will see a warning instead of your site, so make sure renewal is automatic or on a calendar reminder. A padlock does not mean a site is trustworthy on its own, but its absence shows the basics have not been covered.

Limit logins and watch the door
Automated scans try to guess passwords by attempting logins over and over, sometimes thousands of times. A few quiet settings can make that approach pointless. Limit the number of failed login attempts before an address is temporarily blocked, and consider moving the login page away from its default address if your platform makes that easy. Neither step is a wall on its own, but together they turn a quick, cheap attack into a slow one.
It also helps to know what normal looks like. Glance at your login and activity logs now and then: a sudden burst of failed attempts from unfamiliar places is worth noticing, even if nothing got through. A content delivery network can sit in front of your site and absorb some of that noise before it reaches your server; if you are unsure what one does, our explainer on what a CDN is is a good place to start. The goal is not to watch the logs every day, only to notice when something changes.

What to do first if something looks wrong
Sooner or later, something may look off: a page you did not write, a redirect you did not set, visitors reporting warnings, or your host flagging suspicious files. The first move is to slow down rather than start deleting things. Note what you see, with the time and the page involved, and keep a copy of anything suspicious before you change it. That record helps whoever assists you, and helps you work out what happened afterwards.
Then change your passwords, starting with the site administrator and hosting accounts, and enable two-factor authentication if it was not already on. Put the site into maintenance mode briefly if visitors could be harmed by what is there. Contact your host; many will help identify changed files and restore a clean copy. Restore from a backup made before the problem appeared, and check the result carefully. Review the user list for accounts you do not recognise, and remove them. Once the site is clean and back online, spend a little time on the cause: an out-of-date plugin, a reused password, or an account that should have been removed. Fixing the cause stops it happening again next month.
Website security for a small site is not a project with an end date. It is a short list of habits, repeated quietly: update, use strong and separate logins, keep a backup you have tested, serve everything over HTTPS, and pay attention to the door. Cover those basics and your site becomes the kind of door automated scans pass by.
