Is your WordPress site hacked?
Possibly. Here’s how to tell what has happened, what to do in the first ten minutes, and when it’s worth asking for help.
What are you seeing?
Pick the one that sounds closest. Every page explains what it usually means, how to check, and what to do next.
Something looks wrong on my site
Visitors, search results or your inbox are showing you something odd.
- Redirects to spam or other sites Visitors land somewhere you didn’t choose.
- Strange pop-ups or ads Content appears that you didn’t add.
- Google says the site may be hacked A warning in search results.
- Browser shows a security warning Chrome or Safari blocks the page.
- Spam text in search results Pharmacy or casino words next to your name.
- Site is slow or keeps crashing Sudden slowdowns without a clear cause.
- Can’t log in to wp-admin Your usual password stops working.
- Contact forms sending spam Odd emails going out from your site.
I’ve found something in my files or dashboard
You’ve spotted something that shouldn’t be there.
- Unknown administrator users Accounts you didn’t create.
- Unfamiliar files or plugins Things in your folders you don’t recognise.
- Changed .htaccess or wp-config.php Core files edited without you.
- Odd code in theme files Long strings or hidden scripts.
- Hidden links or iframes Content injected into your pages.
- Unexpected scheduled tasks Cron jobs you didn’t set up.
Someone has told me there’s a problem
A warning or message has come from someone else.
I need to take a sensible next step
Practical guides, whatever has happened.
- Your first ten minutes A calm checklist to follow right now.
- Change passwords and keys safely Reset access without making things worse.
- Restore from a clean backup When it’s safe to roll back, and when not.
- Harden your site afterwards Close the way in once it’s clean.
- Stop it happening again Updates, backups and monitoring.
- Will this hurt my SEO? What to expect in search, and how to recover.
What to do right now
Work through these in order. They’re safe whatever has happened, and they stop things getting worse.
Do it yourself, or get help?
Do it yourself if…
These are usually safe to handle on your own, with care.
- You have a recent backup you know is clean
- You’re comfortable with FTP or your host’s file manager
- You’ve found one clear problem, such as a single bad plugin
- There’s no customer or payment data on the site
Get help if…
A second pair of hands makes this quicker, and safer.
- You don’t have a clean backup to restore
- It keeps coming back after you clean it
- Customer, order or payment data may be exposed
- Google or your host has flagged the site
- You’re not sure what has been changed
What “hacked” usually means
Most hacked WordPress sites haven’t been targeted personally. Automated scripts scan the internet for out-of-date plugins, weak passwords and exposed files, and when they find one they add code to the site. That code might redirect visitors, create a hidden administrator account, send spam from your server or add links to other sites.
The visible sign isn’t always the real problem. A redirect might be the only thing you notice, while the way in, such as a vulnerable plugin or a stolen password, is still open. That’s why a proper clean-up covers three things: finding what was added, removing it, and closing the way in.
If you’re not sure what you’re looking at, the pages above will help you narrow it down. If you’d rather hand it over, send us the details and a developer will take a look.
“It’s good to be able to just pick up the phone and speak to someone.”
Contracted these guys a few months ago. We are in the process of transferring all our hosting and security requirements to Linux Internet. Great company, great service. It’s good to be able to just pick up the phone and speak to someone and not wait for a “support ticket” to be answered.
Frequently asked questions
How do I know if my WordPress site has been hacked?
Common signs include redirects, new administrator users, spam in search results, security warnings and files you don’t recognise. The pages above cover each one in detail, and you can often confirm the problem in a few minutes.
Should I delete the infected files?
Not yet. Take a full backup first, so nothing is lost and a developer can see what changed. Deleting the wrong file can take your site offline, and removing one file rarely removes the way in.
Will I lose my search rankings?
Not always. Acting quickly and cleaning properly usually limits the damage, and Google can review a clean site. The longer a problem sits, the more likely it is to show up in search.
How much does cleanup cost?
Malware cleanup starts from £149.95 + VAT. We’ll tell you what we’d do and what it costs before we start, and we won’t change anything without agreeing it with you first.
Is it my fault that my site was hacked?
Almost never. Most attacks are automated and hit whatever is vulnerable, so it’s about out-of-date software and weak access, not about you. What matters now is cleaning it properly and closing the way in.
Do I need to tell anyone?
If customer or personal data may have been exposed, you may have obligations under UK data protection law, including to the ICO. See the ICO’s guidance on personal data breaches, and speak to a professional adviser if you’re unsure.