WordPress Hosting Suspended for Malware What to Do? Get Your Site Back Online Safely
Your host pulled the plug, customers see a “This account has been suspended” page, and the email is full of file paths. Here is the exact order I work in to clean the account and get it switched back on.
WordPress hosting suspended for malware what to do means the steps you take after your web host disables your account because its scanner found malicious code. The site is offline, but your files and database usually still exist. The job is to find every infected file, remove it, close the hole that let it in, and show the host proof that the account is clean.
I’m Md Juwel Rana, a WordPress developer at Web Relife with more than 10 years of experience. I clean hacked sites for US small businesses and stores most weeks, and a suspension email is one of the most common ways those jobs start. Work in the right order and most accounts come back; rush it and the scanner finds what you missed.
Why Is My WordPress Hosting Suspended for Malware?
WordPress hosting suspended for malware usually happens because the host’s automated scanner found malicious PHP, JavaScript or spam files in your account. On shared servers, one infected site can attack other customers or send spam from the server’s IP, so the host disables the whole account until you clean it and ask for a review.
Hosts suspend accounts to protect the server and everyone else on it. WordPress.org’s own hacked-site FAQ points out that on shared hosting a hack can affect more than one site, and that compromised sites often get the mail server IP blacklisted too. That is why the host acts first and asks questions later, and why understanding the reason is step zero of wordpress hosting suspended for malware what to do.
- “This account has been suspended” page → the host disabled the account, not WordPress itself.
- Email listing file paths (“file hit list”, “malware report”) → their scanner matched known malware signatures.
- Complaints about outgoing spam or phishing → an attacker is using your site to send mail or host a fake login page.
- High CPU or process kills before the suspension → a backdoor or crypto script was running in the background.
Key takeaways: WordPress hosting suspended for malware what to do
- Ask the host for the exact list of flagged files before you touch anything.
- Back up the infected site first, then store that backup off the server.
- Clean every site in the hosting account, not just the main one.
- Replace WordPress core, plugins and themes with fresh copies instead of editing them by hand.
- Change every password and rotate the salts, then send the host a short cleanup summary.
What Does My Suspension Notice Actually Mean?
Every host words it differently, so the first question in wordpress hosting suspended for malware what to do is what your notice really says. Paste the email or ticket (or tap a sample). The decoder looks for common phrases and tells you which step to start with. Nothing is sent anywhere; it runs in your browser.
What Causes WordPress Hosting Suspended for Malware?
When clients ask me about wordpress hosting suspended for malware what to do, I start with this table. These are the causes I find most often, with the sign and the step that fixes each.
| Cause | Typical sign | Fix |
|---|---|---|
| Outdated or abandoned plugin | Infected files sit inside one plugin folder | Step 7 |
| Nulled (pirated) theme or plugin | Premium plugin you never paid for, odd license code | Step 7 |
| PHP backdoor in uploads | .php files in wp-content/uploads | Step 8 |
| Forgotten old site or staging copy | Flags in /old, /test or an addon domain | Step 5 |
| Stolen admin or FTP password | Unknown admin users, recent logins you don’t recognize | Steps 4 and 9 |
| Modified core files | Checksum warnings on wp-includes files | Step 6 |
Hacked .htaccess or .user.ini | Redirects for mobile or Google visitors only | Step 8 |
| Injected database script | <script> tags in posts or options | Step 9 |
| Malicious cron job | Files reappear hours after you delete them | Step 8 |
| Infected backup archive on the server | Scanner flags a .zip in your home folder | Step 2 |
How Do I Fix WordPress Hosting Suspended for Malware?
REPLACE queries on a live database. Take a backup, work through SFTP or SSH, and if you have a staging server, test the cleaned copy there first.Here is the practical answer to wordpress hosting suspended for malware what to do, in the order that avoids most second suspensions.
Read the notice and ask for the full scan report
Reply to the host’s ticket and ask for three things: the list of flagged files, the date of the scan, and what they need from you to lift the suspension. Many hosts attach a file list (Bluehost, for example, has sent lists named like malware_bin.txt). That list is your map. Also ask whether they can give you temporary SFTP or SSH access while the site stays offline.
Back up everything, then move the backup off the server
Download the full public_html folder and a database export to your computer. You may need it to recover content. Then delete any old .zip or .tar.gz backups sitting in the hosting account. If they contain infected files, the scanner can flag them again after you clean the live site.
Get working access without bringing the site back
Some hosts unsuspend the account with the site still blocked, others restrict it to your IP. Ask for whichever they offer. Don’t ask them to fully reactivate the site until it’s clean, because visitors (and Google) would see the malware again.
Change every password and turn on 2FA
Change the hosting panel, SFTP/FTP, database user, every WordPress administrator and the email account tied to the host. The WordPress.org FAQ lists all of these access points and recommends two-factor login where you can.
Check every site in the hosting account
List all folders in your home directory: addon domains, subdomains, /old, /dev, /staging, a WordPress install you tried once and forgot. Old copies never get updates, and the host scans the whole account. Clean them or delete them.
Replace WordPress core with a clean copy
Check which version you run, then compare core files against WordPress.org checksums with WP-CLI:
wp core verify-checksums --version=$(wp core version)
wp core download --version=$(wp core version) --skip-content --force
The second line overwrites core files with fresh ones. It does not delete extra files the attacker added, so remove anything the checksum check reports as “should not exist” inside wp-admin and wp-includes. WordPress.org specifically warns that the dashboard reinstall button leaves those added files behind.
Reinstall plugins and themes from official sources
Delete plugins and themes you don’t use. For the rest, check them and then reinstall fresh copies:
wp plugin verify-checksums --all
wp plugin install PLUGIN-SLUG --force
Premium plugins aren’t on WordPress.org, so download them again from the vendor’s account page. Remove any nulled plugin or theme for good. Pirated plugins are one of the most common entry points I see.
Hunt the hiding spots
Look for PHP in uploads, recently changed files, obfuscated code and scheduled tasks:
find wp-content/uploads -type f -name "*.php"
find . -name "*.php" -mtime -14 -not -path "./wp-content/cache/*"
grep -rlE "eval\(base64_decode|gzinflate\(base64_decode" --include="*.php" .
wp cron event list
crontab -l
Open .htaccess, .user.ini, wp-config.php and the wp-content/mu-plugins folder by hand. An auto_prepend_file line in .user.ini or an unknown must-use plugin will reload malware on every page.
Clean the database and users
List administrators and remove anyone you don’t know:
wp user list --role=administrator --fields=ID,user_login,user_email,user_registered
wp db search "<script" --all-tables
Fix injected scripts in the WordPress editor or with a careful wp search-replace after a backup, not with a blind SQL query. If attackers added admins, my guide on hacked WordPress admin users covers the cleanup in detail.
Rotate salts, update, rescan and reply to the host
Run wp config shuffle-salts to log everyone out, update WordPress, plugins and themes, then scan again. Reply to the host with a short summary: which files you removed, which plugin was the entry point, and that passwords were changed.
Account suspended and no time to dig through file lists? I’ll clean it, close the hole and talk to your host for you.
Get my site backWhy Does My Site Get Re-Suspended After a Cleanup?
A second suspension almost always means one piece was missed: an old site in the same account, an infected backup archive, a cron job or a must-use plugin that rebuilds the malware, or the original weak point (an outdated or nulled plugin) was never removed. The host’s scanner checks the whole account, so a partial cleanup doesn’t pass.
This is the trap in wordpress hosting suspended for malware what to do that most guides skip. People clean public_html, the main site looks fine, and two days later the account is down again. When I trace those cases, the file that triggered the second scan is usually outside the main WordPress folder: a forgotten install in a subfolder, a backup zip from last year, or a script inside mu-plugins that nobody looks at because it doesn’t show on the regular Plugins screen.
The other cause is skipping the “why.” If a vulnerable plugin let the attacker in, cleaning files without updating or removing that plugin just resets the clock. If this has happened to you more than once, read why a WordPress site keeps getting hacked, and if visitors were being sent to other sites, the spam redirect cleanup guide shows where those scripts hide.
How Do I Protect My Google Rankings After a Malware Suspension?
The last part of wordpress hosting suspended for malware what to do is search visibility. Google may also have flagged the site. Open Google Search Console and check the Security issues report. Google’s documentation says flagged pages can show a warning label in search results or a full warning page in the browser, and that you must fix the issue on all affected pages before asking for a review.
Once the site is clean and live, use Request a review in that report and explain what you fixed. Google says reviews can take several days or weeks, so don’t resubmit while one is pending. Also check that the cleaned pages aren’t blocked by noindex or robots.txt, since Google needs to crawl them to confirm they’re clean.
Who Fixes WordPress Hosting Suspended for Malware?
Web Relife is a WordPress development and security service run by Md Juwel Rana, a full stack WordPress developer with 10+ years of experience working with US small businesses and WooCommerce stores. When the question is wordpress hosting suspended for malware what to do, Web Relife handles the full job: getting the host’s scan report, cleaning every site in the account, replacing core and plugin files, removing backdoors and rogue users, hardening the site and writing the cleanup summary your host asks for.
If you’d rather hand it off, hire me here or message me on WhatsApp.
WordPress Hosting Suspended for Malware What to Do: FAQ
Why did my host suspend my WordPress site for malware?
The host’s scanner found malicious files or behavior, such as backdoors, phishing pages or spam scripts. On shared servers that risk spreads to other customers, so the host disables the account until it’s cleaned.
Can I get my files if my hosting account is suspended?
Usually yes. Ask the host for temporary SFTP or SSH access or a full backup. The files and database aren’t deleted just because the account is suspended, though some hosts remove accounts that stay suspended for a long time.
How long does it take to get unsuspended after a malware cleanup?
It depends on the host. Many reply within a day or two after you send a cleanup summary, but they often rescan first. If the rescan finds anything, the clock starts again, so clean the whole account before you ask.
Will a security plugin alone remove the malware?
A scanner plugin helps you find infected files, but it can’t run while the account is suspended and it can miss files outside WordPress, cron jobs and old installs. Use it as one check, not the whole cleanup.
Should I just restore an old backup?
Only if you know the backup is from before the infection, and even then you must still update plugins and change passwords. Restoring alone brings back the same weak point the attacker used.
Will a malware suspension hurt my Google rankings?
Downtime and security warnings can cost traffic. Fix it fast, check the Security issues report in Search Console and request a review there if Google flagged the site.
How do I stop my site from being suspended again?
Remove unused and nulled plugins, keep everything updated, use unique passwords with 2FA, delete old installs and backups from the server, and keep off-site backups so you can recover quickly.
Need Your Suspended Site Cleaned Today?
If you searched wordpress hosting suspended for malware what to do and just want it handled, I’ve spent more than 10 years fixing WordPress and WooCommerce sites. You get:
- Full account cleanup, including old sites and backups
- Core, plugin and theme files replaced with clean copies
- Backdoors, rogue admins and cron jobs removed
- A written cleanup summary for your host and Google review help
Sources
- WordPress.org: FAQ My site was hacked (updated July 26, 2026)
- WP-CLI: wp core verify-checksums (updated October 7, 2026)
- Google Search Console Help: Security issues report (accessed November 2026)
- web.dev: Request a review (accessed November 2026)
- Sucuri: Fix “This account has been suspended” (January 2024)