Most hacked WordPress sites don’t look hacked to their owners. Attackers want your site to keep working, because a working site keeps sending them traffic, spam and stolen data. So the hack is often hidden from you, and only shows to visitors, to Google or to people arriving from a search.
This guide covers the ten most common signs, the quick checks you can run today, and exactly what to do if you find a hack. If you’re reading this because something already looks wrong, skip to what to do first.
10 signs your WordPress site has been hacked
1. Google warns people about your site
The clearest sign is a warning from Google: “This site may be hacked” under your listing in search results, or a full red “Deceptive site ahead” screen in Chrome. Firefox and Safari use the same Google Safe Browsing list, so visitors on those browsers see a warning too.
2. Visitors are sent to other sites
Spam, scam or adult sites appear instead of yours. Clever redirects only fire for some visitors: people on mobile, people arriving from Google, or first-time visitors. That’s why you can type your address, see your normal site and assume everything is fine.
3. Pages you didn’t write appear in Google
Search Google for site:yourdomain.co.uk. If you see thousands of pages selling pills, fake designer goods or written in Japanese, your site has been used for search spam. This is so common it has a name: the Japanese keyword hack.
4. Admin users you didn’t add
Go to Users in WordPress and filter by Administrator. Any account you don’t recognise is a serious warning sign, especially one created recently or with an odd-looking email address. Being locked out of your own account, or finding your password has changed, is another.
5. Your checkout looks different
On a WooCommerce shop, watch for an unfamiliar payment form, an extra step at checkout or customers telling you their card was used fraudulently after buying from you. Card-skimming code is written to look like part of the real checkout.
6. Your host warns or suspends you
Hosts scan for malware, phishing pages and outgoing spam. A warning email or a suspension notice is often the first time an owner hears about a hack.
7. Your email goes to spam
If a hacked site sends spam, the server or your domain can end up on email blocklists. Your normal emails then bounce or land in junk, even though nothing about your email has changed.
8. Strange files, or a sudden slowdown
New PHP files in wp-content/uploads (which should only hold images and documents), files with random names, or a site that suddenly runs slowly or uses far more CPU than usual. Malware that sends spam or mines cryptocurrency eats server resources.
9. Plugins and settings change by themselves
A security plugin you installed is switched off, a plugin you’ve never heard of appears, or settings such as your site address or the default user role (it should normally be Subscriber) have changed.
10. Pop-ups and ads you didn’t add
Ads, pop-ups or “click to continue” prompts that aren’t part of your theme usually come from code injected into your theme files or database.
Quick checks you can run today
You don’t need any technical skills for these. Each takes a few minutes.
- Search Google for
site:yourdomain.co.ukand scroll through a few pages of results. Look for titles you didn’t write. - Check Google Search Console. Under Security & Manual Actions → Security issues, Google lists any hacked content or malware it has found. If you’ve never set up Search Console, it’s free and worth doing now.
- Check Safe Browsing. Google’s Safe Browsing site status page shows whether your domain is flagged.
- Review your users. Check every administrator account, and remove any you don’t recognise.
- Visit your site on your phone, using mobile data, from a Google search. Some redirects only show up this way.
- Look at your plugins and themes. Anything you don’t use should be deleted, not just deactivated. Anything downloaded from outside WordPress.org or the developer’s own site is a risk.
If everything comes back clean, that’s good news. It doesn’t prove there’s no hack, though: backdoors (hidden ways back in) are designed to sit quietly until they’re used.
What to do the moment you find a hack
Speed matters, but so does doing things in the right order.
- Don’t delete things at random. It’s tempting to start removing files, but you can break the site and destroy the evidence of how the attacker got in.
- Take a full backup of the hacked site. Files and database, as they are now. It sounds odd to back up malware, but if a clean-up goes wrong you’ll want something to go back to.
- Change every password. WordPress admin accounts, your hosting control panel, SFTP and database users, and the email account linked to your admin user. Do this from a computer you trust.
- Tell your host. A good host will help, and needs to know if other sites on your account could be affected.
- Put the site into maintenance mode if it’s sending visitors to harmful sites or skimming cards. Taking it offline for a few hours does less damage than leaving it up.
- If you run a shop, think about your customers. If personal data may have been seen or taken, UK GDPR may require you to report it to the ICO within 72 hours of finding out. The ICO’s breach guidance explains when you need to.
How to get rid of the malware
You have three realistic options.
Restore a clean backup
If you have a backup from before the hack, restoring it can work. There are three catches. You don’t always know when the hack started, so the backup may already be infected. You lose everything since it was made, including orders. And the way in is still open, so the attacker often comes straight back.
Clean it yourself
It’s possible if you’re technical and patient. You’d replace WordPress core, every plugin and every theme with fresh copies, search the uploads folder for PHP files, check the database for injected scripts and spam, remove unknown users, reset the security keys in wp-config.php and find out how the attacker got in. Security plugins can help spot problems, but they run inside the hacked site, and attackers know how to switch them off or hide from them.
Have it cleaned for you
A professional clean-up is usually the fastest route, and the only one that reliably finds the way in. If you’d rather not spend your weekend in the file manager, our WordPress malware removal service cleans your site by hand, wherever it’s hosted, for one flat price. It includes a written report and a guarantee if the infection comes back.
After the clean-up: getting back to normal
- Ask Google to review your site. In Search Console, open the Security issues report and click Request review, explaining what you fixed. Reviews usually take a few days.
- Remove the spam pages from Google. Once they return a 404 or 410, Google drops them as it recrawls. Search Console’s Removals tool can hide the worst ones sooner.
- Check email blocklists if your emails were bouncing, and request removal once the spam has stopped.
- Watch the site closely for a few weeks. If something comes back, the way in wasn’t closed.
How WordPress sites get hacked, and how to stop it happening again
Almost every hack comes through one of a few routes:
- Out-of-date plugins and themes. Most WordPress vulnerabilities are in plugins, not WordPress itself. Turn on automatic updates and remove what you don’t use.
- Nulled (pirated) plugins and themes. “Free” copies of paid plugins very often come with a backdoor included. Buy them from the developer, or use a free alternative.
- Weak or reused passwords. Use a password manager, and turn on two-factor authentication for every administrator.
- Another hacked site on the same account. On a lot of shared hosting, every site on your account can read every other site’s files. One forgotten test site can infect them all.
- Too many administrators. Give people the lowest role they need. An editor doesn’t need to install plugins.
Your hosting matters here too. On SharedGrid web hosting, every website runs in its own container, so a problem on one site can’t spread to the others. A web application firewall blocks common attacks before they reach WordPress, files are scanned for malware around the clock, WordPress can update itself automatically, and backups run twice a day. Read more about how we protect your site.
Questions
Can a WordPress site be hacked without me noticing?
Yes, and most are. Attackers hide redirects from logged-in users, only show spam pages to Google, and leave backdoors that do nothing until they’re used. That’s why checking Google and Search Console is more reliable than just looking at your site.
Will my Google rankings recover after a hack?
Usually. Once the spam is gone and any warning is lifted, rankings normally come back as Google recrawls your site. The longer a hack is left, the more damage it does, so it’s worth acting quickly.
Is a security plugin enough?
It helps, but it isn’t enough on its own. A plugin runs inside WordPress, so if WordPress is compromised, the plugin can be switched off or fooled. Protection at the server level, such as a firewall and malware scanning on the hosting, works even when WordPress itself is in trouble.
How much does it cost to fix a hacked WordPress site?
It depends who does it. Some companies charge by the hour or sell a yearly subscription. Ours is a one-off flat price per site, WooCommerce shops included.
Should I just delete the site and start again?
Rarely. Rebuilding loses your content and your rankings, and if the way in was a weak password or a reused plugin, the new site can be hacked the same way. A proper clean-up keeps everything you want and removes everything you don’t.
Worried your site has been hacked?
- WordPress malware removal: we clean your site by hand, close the way in and clear Google’s warnings.
- Website security: how our hosting keeps sites safe in the first place.
- Free website migration: move to us once your site is clean, and we’ll do the moving.
Not sure what you’re looking at? Get in touch and we’ll take a look.



