Three doors to close on a WordPress site
Most break-ins take no skill at all: they come through a door someone left open.
Published on 14 November 2026

A hacked WordPress site is rarely the work of a genius. It’s a bot trying the same doors on thousands of sites every day, until it finds one open. Most of these attacks aren’t aimed at anyone in particular: your site doesn’t need to be well known to be tried. Here are three doors, how to close them, and what limits the damage if it happens anyway.
1. The login page, visible to anyone
On WordPress, the admin login page sits at the same address on almost every site. Bots know this, and try one username and password after another, at all hours.
What helps:
- limiting login attempts: after a few failures, the address that keeps trying is blocked for a while. Several plugins do this, and so do some hosts;
- adding two-step verification: on top of the password, a one-time code sent by an app on your phone. A stolen password is no longer enough to get in;
- closing the ways in you don’t use: some WordPress features let people log in without going through the usual page. If your site doesn’t use them, they can be switched off.
2. The username anyone can guess
To get in, you need a username and a password. Many sites give away the first without knowing it:
- the username is the email address shown on the Contact page;
- or it’s the name that signs the posts, which appears in the address of the author pages;
- or it’s still “admin”, the name suggested by default a few years ago.
In all three cases, half the work is done for whoever is trying to get in.
What helps: a username that appears nowhere on the site, and a name shown under your posts that differs from it. While you’re at it, go through the accounts: a former intern or a former provider who still has an administrator account is one more door.
3. The password
Once the first two doors are closed, all that’s left is trying passwords one after another. A long password, used nowhere else, makes that pointless.
What helps:
- a phrase of four or five words rather than a word with numbers;
- a different password for every site: when a service has its passwords stolen, bots try them everywhere else;
- a password manager to remember them for you. The one in your phone or your browser already does the job very well.
What keeps the doors shut: updates
Closing those three doors won’t help for long if the site itself opens new ones. A plugin or theme that is no longer updated ends up with a known security hole, and bots look for exactly the sites still using it.
What helps:
- updating regularly: WordPress, the theme and the plugins. Since 2020, WordPress has let you turn on automatic updates plugin by plugin;
- removing what you don’t use: a deactivated but still installed plugin remains a door. So does an unused theme;
- being wary of abandoned plugins: on a plugin’s page, the date of the last update tells you whether anyone still looks after it;
- never installing a “free” version of a paid plugin found anywhere other than its developer’s site: it’s one of the most common ways of installing malicious code yourself.
The signs of a hacked site
A hacked site doesn’t always light up red. The most common signs:
- visitors sent to another site, sometimes only from Google or on mobile;
- pages or links you never created, often in a foreign language, showing up in Google’s results;
- a “dangerous site” warning in the browser, or a message from Google Search Console;
- an unknown administrator account in the list of users;
- your host suspending the site, or the site’s emails landing in spam.
Hacked WordPress site: what to do
If it has happened, the order matters:
- Change the passwords: for the WordPress admin, the hosting and the linked mailbox. Delete any accounts you don’t recognise.
- Tell your host. They can often see what happened, and some offer a clean-up.
- Restore a clean backup, from before the hack, if you have one. It’s by far the quickest route.
- Close the door it came through: update everything, remove the plugin at fault, apply the three settings above. Otherwise, the same bot will come back the same way.
- Ask Google to review the site from Search Console, if it was showing a warning.
Deleting the file that looks suspicious by hand is almost never enough: a hacked site often hides several ways back in.

The backup, what changes everything
A recent backup, kept somewhere other than the site’s server, changes everything: you roll back instead of starting over. Somewhere else, because a backup stored on the same server can be hit at the same time as the site. And test once that it restores: a backup you’ve never tried to put back is only a hope.
We handle these settings, the updates and the backups for business websites in Amiens and the surrounding area: it’s on the Security and compliance page. Not sure where your site stands? The free audit looks at exactly these points.