Some hacks are obvious: your homepage is replaced, or Google shows a red warning. Most are quieter. Spam pages get added in the background, visitors on phones get redirected, or your host suspends the account for sending junk email. The sooner you spot it, the less damage it does to your visitors, your email and your Google rankings.
Here are the signs to look for, and the first steps to take, in order.
9 signs your WordPress site has been hacked
1. Google shows “This site may be hacked”
Google adds this label to search results when it believes a hacker changed existing pages or added spam pages. It stays until the site owner fixes the problem and asks Google to check again.
2. Browsers show a red warning page
A full-screen “Deceptive site ahead” or “The site ahead contains malware” warning means Google has flagged your site as dangerous. Most visitors will leave immediately.
3. Visitors get redirected to spam sites
Many hacks only redirect some visitors, for example people on phones or people arriving from Google, so you may not see it when you type your address in directly. If a customer says your site sent them somewhere strange, take it seriously and test from your phone using mobile data.
4. Strange pages appear in Google
Search Google for site:yourdomain.com. If you see pages you never made, like pharmacy, casino or Japanese-language product pages, someone has added spam to your site.
5. Admin users you didn’t create
Go to Users in WordPress and check every administrator. Attackers often add their own admin account so they can get back in after you clean up.
6. You can’t log in
If your correct password suddenly stops working, your account may have been changed or removed.
7. Your host warns you or suspends the site
Hosts scan for malware and spam. An email about suspicious files, high resource use or outgoing spam is often the first sign.
8. Pop-ups, links or content you didn’t add
Unfamiliar ads, pop-ups, hidden links in your footer, or text changes on your pages are all signs that files or the database have been changed.
9. Search Console reports a security issue
If you have Google Search Console set up, the Security issues report will show it when Google finds hacked content or malware, with example URLs. If you don’t have Search Console yet, set it up now. It’s free.
What to do first if your site is hacked
Work through these in order. Rushing to delete files before you’ve backed up and changed passwords often makes things worse.
1. Stay calm and confirm it
Check the signs above from more than one device. Note what you see, when you first noticed it and any example URLs. These notes save a lot of time later, especially if you bring in help.
2. Contact your hosting company
Your host can often see which files changed and when, whether other sites on the account are affected, and whether they hold a clean backup from before the hack.
3. Back up the hacked site
It sounds odd, but take a full backup of the files and database as they are now. It’s your safety net if a clean-up step breaks something, and it shows what the attacker changed.
4. Change every password
Change the passwords for all WordPress administrators, your hosting control panel, FTP or SFTP, the database (then update it in wp-config.php) and the email accounts linked to the site. Then replace the security keys (salts) in wp-config.php using WordPress.org’s key generator, which logs everyone out.
5. Remove accounts you don’t recognise
Delete any WordPress users, FTP accounts or hosting users you didn’t create.
6. Clean the site or restore a clean backup
If you have a backup from before the hack, restoring it is usually quickest. If not, the site needs cleaning: replace WordPress core files with fresh copies from WordPress.org, reinstall plugins and themes from their official sources, scan with a security plugin such as Wordfence, and check the database for injected spam. Delete any “nulled” (pirated) premium plugins or themes, as they’re a common source of hidden malware.
7. Close the hole that let them in
Restoring or cleaning without fixing the cause means you’ll likely be hacked again. Update WordPress, every plugin and your theme, remove plugins you don’t use, and turn on two-factor login for administrators.
8. Ask Google to review the site
Once the whole site is clean, open the Security issues report in Search Console and select Request a review, briefly explaining what you fixed. Google says most reviews take several days or weeks, and sites hacked with spam can take up to several weeks. Don’t resubmit while a review is pending.
9. Watch for it coming back
Check the site, your admin users and Search Console regularly for the next few weeks. Re-infection usually means a backdoor file was missed or the original weakness wasn’t fixed.
How to avoid it next time
- Keep WordPress, plugins and themes updated
- Use strong, unique passwords and two-factor login for every admin
- Keep automatic daily backups, and check they actually restore
- Only install plugins and themes from trusted sources, never nulled copies
- Delete plugins and themes you don’t use
- Use security monitoring so problems are caught early
Get help
If your site is hacked right now, contact us or message us on WhatsApp. We’ll look at what’s happened and quote the clean-up before we start.
To stop it happening again, our WordPress care plans cover updates, daily backups, security monitoring and 30 minutes of edits a month, from $99 per site.





