Investigate the infection
Review suspicious files, modified core/plugin/theme code, database content, accounts, and available logs.
Malicious redirects, spam pages, suspicious files, browser warnings, or a site that keeps getting reinfected all point to a WordPress site infected with malware. I investigate the hack, remove the malicious code and backdoors, and help you recover: Google warnings, hosting suspensions, and spam in search results. Need it fixed urgently? This hack cleanup service usually has your site clean within a day.
Got an email from your host saying "your WordPress site appears to be infected with malware"? That's exactly the kind of case I handle every week. Don't ignore it: hosts often suspend the site if it isn't cleaned.
$95 for one infected WordPress site
Includes a 1-month hassle-free guarantee. Multiple infected sites are priced separately. Guarantee terms
These symptoms can have more than one cause. A proper investigation is needed before deciding what to remove.
Malware on a WordPress site is often built to stay hidden from the site owner. It may hide from logged-in administrators, show only to mobile visitors, or serve spam only to Google. These checks help you confirm what's going on before you change anything. For a longer walkthrough, see how to tell if your WordPress site is hacked.
| Symptom | How to check |
|---|---|
| Redirects for some visitors only | Open your site on a phone using mobile data, in a private window, and by clicking your own result in Google. Redirect malware often skips logged-in admins and repeat visitors. More on redirect malware. |
| "This site may be hacked" or "Deceptive site ahead" | In Google Search Console, open Security & Manual Actions → Security issues. It lists the problem Google found and sample URLs. How to get the warning removed. |
| Spam pages in Google (Japanese, pharma, casino) | Search site:yourdomain.com, then add words such as viagra, casino, or replica. Pages you never created mean an SEO spam infection. More on SEO spam. |
| Unknown owners in Google Search Console | Open Settings → Users and permissions. Attackers often verify themselves as owners of hacked sites to push their spam pages. |
| A fake "Verify you are human" box | If visitors see a Cloudflare-style check asking them to paste a command into their computer, it's malware. Fake CAPTCHA removal. |
| Unknown administrator accounts | In Users, filter by Administrator. Some malware hides its accounts from this screen, so the wp_users table in the database is the reliable place to check. |
| Unexpected PHP files | wp-content/uploads should hold media, not .php files. Also look for odd file names in the site root and recently modified plugin files. Backdoor and trojan removal. |
| Modified WordPress core files | If you have SSH, wp core verify-checksums compares core files against the official release and lists anything changed or added. |
| Hosting suspension or malware notice | Read the host's email or control panel notice. It often names the infected files, which is a useful starting point but rarely the full picture. Host-specific help: SiteGround, Bluehost, GoDaddy, HostGator. |
| Slow site, high CPU, or spam email sent from your server | Check resource graphs and mail logs in your hosting panel. Cryptominers and spam mailers show up as unexplained load or bounced emails. Stop WordPress sending spam. |
Scanners like Wordfence or Sucuri can confirm many of these, but a "clean" scan doesn't rule out a hack when the symptoms are still there (why scanners miss malware). Comfortable fixing it yourself? Follow my step-by-step WordPress malware removal guide.
Recognize one of these? Each page explains how that type of infection works, what I check, and how it gets cleaned.
The first priority is to avoid making the situation harder to diagnose. Preserve useful evidence and limit further damage while the site is assessed.
Ask for the reason for the suspension and whether they can provide malware reports, timestamps, or a copy of the affected files. Keep their response.
If possible, retain a backup or hosting snapshot of the current state for investigation. A backup may contain the infection, so it should not automatically be restored over a cleaned site.
Removing a suspicious file without understanding its role can break the site and may leave other access points untouched. Record what you find instead.
Prioritize hosting, WordPress administrator, SFTP/SSH, database, and related accounts. Use unique passwords and enable multi-factor authentication where available.
Save warning screenshots, suspicious URLs, dates, hosting notices, and examples of redirects. This information can help narrow down the investigation.
A malware scanner can be useful, but it may not identify every modified file, database injection, or persistent backdoor. I combine automated checks with manual investigation appropriate to the incident.
Review suspicious files, modified core/plugin/theme code, database content, accounts, and available logs.
Clean infected files and database entries, remove unauthorized access mechanisms, and address malicious redirects or spam.
Run follow-up checks, test important site behavior, and explain what was found and what still needs attention.
Removing the malware is the main job, but a hacked site usually needs a few more steps before visitors, Google, and your host trust it again. I guide you through each one.
In Search Console, open Security issues, confirm the problems are fixed, and request a review. Malware reviews usually finish within a few days; hacked-spam reviews can take several weeks.
Send your host a summary of what was found and removed. Many hosts rescan the account and reinstate the site once it comes back clean. Host-specific help: SiteGround, Bluehost, GoDaddy, HostGator.
Spam URLs should return 404 or 410, and your sitemap should list only real pages. The Removals tool in Search Console can hide the worst URLs while Google recrawls.
Change hosting, SFTP/SSH, database, and WordPress admin passwords, and replace the security keys in wp-config.php to sign out every existing session.
Update or remove the vulnerable plugin or theme, delete unused components, and fix unsafe file permissions so the same attack can't repeat.
Keep an eye on Search Console, your hosting notices, and the reported symptoms. If an issue linked to the original infection returns within a month, the guarantee covers it.
Removing the visible malware does not always remove the original weakness. Reinfection can happen when an outdated or vulnerable plugin remains installed, compromised credentials are reused, a backdoor is missed, or another website in the same hosting account is affected.
That is why cleanup should include an investigation of likely entry points and practical recommendations. The exact scope depends on the evidence available and the structure of your hosting environment.
If your site has already been reinfected after a cleanup, see why WordPress malware keeps coming back. Once the site is clean, my WordPress malware protection checklist helps keep it that way. If Wordfence is what alerted you, start with what to do when Wordfence finds malware.
Do not send passwords in an ordinary email. Access details should be shared through an appropriate secure method after we agree on the work.
Most often through an outdated or vulnerable plugin or theme, a nulled (pirated) plugin, a reused or leaked password, or another infected site in the same hosting account. Finding the entry point is part of every cleanup, because removing malware without closing it usually leads to reinfection.
Only if you're sure the backup predates the infection, and even then the vulnerability that let the attacker in is still there. Many backups already contain the backdoor, so restoring one can bring the infection straight back. Keep your backups for investigation and comparison instead of restoring them blindly.
Yes. Injected scripts can redirect visitors to scam sites, push fake downloads or browser notifications, or steal form and payment data on WooCommerce checkout pages. That's why Google and browsers show warnings, and why it's worth acting quickly.
The cleanup itself usually takes hours, not days. The recovery around it takes longer: Google reviews of malware warnings usually finish within a few days, and spam pages can take several weeks to drop out of search results.
Usually, yes. Once the malware and spam pages are gone and any Google warning is lifted, rankings typically recover over the following weeks. The longer an infection stays active, the more spam gets indexed and the longer recovery takes, so early cleanup matters.
Share the URL, symptoms, and any warning messages. I'll review the information and let you know what the next step should be.