Host Suspended Your WordPress Site for Malware? What to Do in the First 24 Hours

In this article

A customer tells you the site says “This account has been suspended.” Then you find an email from your hosting provider about suspicious files. If your host suspended your website for malware, start with the original notice and make sure you can reach support.

A malware suspension is usually temporary, and your host can restore access after you remove the infection, close the entry point and request a review. GreenGeeks: Website account suspended · Sucuri: How to fix a hosting suspension

When a client’s site is suspended, I start by preserving a copy and finding out what the host needs. Use the first day to work through the steps in order. Cleanup and the host’s review can extend beyond that first day.

Laptop showing a plain page with the message This account has been suspended, next to a notebook with a 24-hour checklist

First hour Contain and confirm

Keep the site contained while you establish what happened. Collect the host’s notice, decide who’s handling the cleanup and preserve a copy of the affected site.

1. Confirm why the site was suspended

A suspension page can appear for billing, security, resource use or policy reasons. Search your inbox and spam folder for the notice, then sign in to the hosting portal directly and look for open tickets or alerts. The portal may still be accessible while the public site is down. If the host confirms the issue is billing, resolve it through the hosting account. Bluehost: Why shared hosting accounts get suspended · Liquid Web: How to fix a suspended account

Illustrative hosting email about a malware suspension, listing flagged files and the steps needed before reactivation
Illustrative notice. Your host’s wording will differ.

Do this now. Save the host’s notice and record the stated reason, date and flagged file paths.

2. Ask the host the right questions

Open or respond to a ticket using the host’s support system. If there’s more than one affected site or account, ask what they are and what was detected by the host. Ask if the host can provide a scan report and what they need to be able to provide a scan report before they’ll consider reactivation. If multiple sites use the same account, enquire if the host would like each site to be reviewed.

If you don’t have access, request support to provide an export or to allow limited cleaning access. Inquire regarding any time limits or the amount of time it will keep files and backups. Retain the answers with the original notice for reference by the person who is cleaning the site.

Do this now. Combine them into one support ticket and record the reference number.

3. Do not attempt to back up the infected site until changes have been made.

Download a full copy of the affected files and database, or request a host to export the files and database if your tools don’t have that feature. Mark it INFECTED and do not restore it and keep it offline (only accessible to the people working on recovery). The copy will provide them with proof of what existed prior to their cleaning, as well as a means of regaining the proper data should it be accidentally taken.

Include any older snapshots that can be used to go back before the infection occurred. WordPress suggests database backup and storing backups for historical reasons. If you want to restore an older version, make sure it is dated and that the contents are accurate. Adding additional security to WordPress.Hardening WordPress.

Do this now. Keep these files and database in addition to regular backups and label them with the date and the infected-copy label.

4. Change affected passwords

If access is limited, ask support to reset the administrator and hosting passwords for you; otherwise use a device you trust to reset the hosting and WordPress administrator password. Change SFTP/FTP credentials/passwords for email accounts on same hosting. If a database user password change is needed, coordinate with the person who takes care of the site to update wp-config.php to reflect the change. In this chapter, you will learn how to harden WordPress.In this chapter, you will learn how to secure WordPress.

Generate and use unique, randomly generated passwords and use two step verification if available. Once you have access to WordPress, look in the list of administrators. Once cleaned up, replace any credentials that have been exposed and ensure mail, file access and database connection are working.

Do this now. Change the WordPress administrator password and hosting password, first from a trusted device.

First few hours Do this first to get rid of the infection.

Once you have access your host has approved and a Backup, cleanup can be started. If you’re not sure how to deal with site files and the database, give the report to someone familiar with both.

5. Find what’s infected

Begin with a report of the host, and note every flagged path and date of change. A recent change might be a valid change, but dates are helpful in creating a timeline. Always compare suspicious WordPress core files with a fresh copy of the same version that you downloaded from WordPress.org and ask your developer for his/her advice before deleting anything. In this course, you will learn how to harden WordPress.During this course you will learn how to secure WordPress.

Common signs

  • Spam pages or unexpected redirects.
  • Unknown WordPress administrator accounts.
  • Unfamiliar PHP files in uploads or new scheduled tasks.

Where to look

  • Flagged files, recent changes and WordPress core.
  • Themes, plugins and must-use plugins.
  • Posts, database options and redirect configuration such as .htaccess.

The report gives you a starting point. If the symptoms point to other areas of the account, ask the host or cleanup specialist to review them too. Our WordPress hacked-site recovery guide covers the broader cleanup.

Do this now. List the flagged files from the report and note when each was modified before making changes.

6. Clean, or restore a known-clean backup

Choose a recovery path based on the evidence and what the business can afford to lose. Compare the backup date with the earliest signs of infection, and account for recent orders, form submissions and content changes before restoring. Keep the labeled snapshot you made earlier and work in an isolated copy where possible.

Choose a recovery path before changing the site
Option When it makes sense Risk
Restore a known-clean backup You have verified files and a database from before the compromise. Restore them together and update the software before reopening. You can lose newer changes, and the original entry point may still exist.
Clean in place You need to preserve recent data or have no reliable restore point. Replace core and plugins from trusted sources and have a specialist check the files, uploads and database. Remaining malicious files or database changes can lead to reinfection.

Use WordPress.org for core and official plugin or theme sources for replacements. Quarantine confirmed malicious items after backing up and verify that the pages and integrations you keep still work. If you find an unofficial copy of a paid extension, replace it with a legitimate package or remove it as appropriate.

Illustrative malware cleanup checklist comparing restoring a clean backup with cleaning the site in place
Restore if you have a backup from before the infection; clean in place if you don’t. Either way, close the hole afterwards.

Do this now. Decide whether a verified pre-infection backup is usable. If it isn’t, arrange a cleanup that preserves checked content and uploads.

By the end of day one Close the entry point and request reactivation

Once the cleanup is finished, go to this stage. If the account or software used to get into the account is still exposed, the file may reappear after it has been removed.

7. Seal off the entry point

Bring WordPress core, plugins and themes up to date. Eliminate unused extensions, and substitute lost ones with maintained ones. Check on user roles and take away any access no longer required. If it is still not clear, take part in the findings of the host with a specialized person and then reopen the site. WordPress Developer Resources: Securing WordPress

Check the permissions of the files with your host before changing them. WordPress numbers 755 for directories and 644 for files as a common setup, and restricts access to wp-config.php. Once backed up you can add this to wp-config.php to turn off editing plugin and theme files in the dashboard. Uploads are still in need of separate protection. Hardening WordPress is a WordPress Developer Resource.Hardening WordPress is one of the WordPress Developer Resources.

define( ‘DISALLOW_FILE_EDIT’, true );

Do this now. Keep software up to date, uninstall and delete unnecessary plugins and themes following a back-up, and take care of the problem your review has identified.

8. Provide the host with feedback on what you changed.

Respond to the original ticket following clean up. Provide a summary of the report alerts, items removed, items restored, software updated, and accounts secured. Indicate that passwords were rotated without sharing of the credentials. Request a rescan of the site and discuss any further results or action to take for the site to come back online. Sucuri: What to do if your website was suspended by the host.

Maintain a “no trespassing” signout until the host has decided. If additional issues are identified, resolve them and edit the same issue. It will depend on the condition of your account and your provider.

Do this now. Send a short summary of the cleanup in the original ticket and have host scan and review the suspension.

Once re-activated check Google and avoid repetition

Once the host has restored the access of the public, check the area using a signed out browser. Begin with a home page and the routes customers are used to using, like contact, booking or checkout.

9. Monitor Google Search Console for security problems

Open Open Search Console’s Security Issues report. It is about hacked content, unwanted software/malware and social engineering. If issues were reported, use the examples to help perform site-wide checks to identify issues and rectify all of them, then check each fix before selecting Request Review. Google Search Console Help: Security Issues report.

Explain what has occurred, what you have done to correct it and how you checked to see if it was correct. Respect the decision and hold off until a decision has been made. Google reports that it takes a few days to a few weeks for reviews of malware and hacked-site problems. Google and the host decide whether they want to reactivate the host separately. Google Search Console Help: Security Issues report

Timeline of the first 24 hours after a malware suspension: first hour contain and confirm, first few hours clean, end of day one close the hole and request review, then check Google

Do this now. Open the Security Issues report and request a review only after fixing and testing every listed issue.

10. Watch for reinfection and set up protection

For the next few weeks, review administrator accounts, unexpected file changes and reports of unusual redirects. Keep a schedule for off-site backups, software updates and restore tests. Consider a security plugin or a firewall through your host or CDN if it fits your setup, and agree who will follow up on alerts. WordPress Developer Resources: Hardening WordPress

Record the incident and the changes you made so the team can spot a repeat. Our WordPress maintenance and website security services cover these ongoing checks.

Do this now. Schedule automatic off-site backups and put a weekly check on the calendar for the next month.

If your host suspended your website for malware, avoid these mistakes

  • Keep the account and its records while you confirm what can be recovered.
  • Keep the infected copy isolated. Moving it to another host carries the infection with it.
  • Address the entry point before reopening a restored site.
  • Use official sources for replacement software, including legitimate copies of paid extensions.
  • Wait until cleanup and testing are complete before asking for review.

Frequently asked questions

Why did my host suspend my website for malware?

A host may suspend a site to protect visitors and limit harm to the rest of its service. Check the notice to confirm which account was affected and what the scan found. Ask for the report and review requirements so you can address the findings before requesting reactivation.

Will my host delete my website?

File retention depends on the provider and the circumstances of the suspension. Unresolved malware can lead to further action, so ask your host what its notice means for your files, databases and backups. Request an export promptly if you can’t download a copy yourself, and ask about any deadlines in the same ticket.

How long does it take to get a suspended site reactivated?

There is no standard reactivation time. It depends on how quickly the infection can be removed, whether the entry point has been addressed and how the provider reviews the account. Ask your host what evidence it needs and reply in the original ticket with a clear summary once the work is complete.

Can I just move my site to a new host?

Move the site only after it’s clean and checked. An infected copy can bring malicious files or altered database content along to the new host. If you decide to migrate after recovery, use a verified clean copy and test it with the software updates and security changes you made during cleanup.

Should I restore a backup or clean the site?

Restore when you have a verified backup from before the infection and can account for any newer data it would replace. Clean in place when you lack a reliable restore point or need to keep recent content or transactions. In both cases, start with a copy of the current site and address the entry point before reopening.

Will a malware suspension hurt my Google rankings?

Downtime and security warnings can affect traffic while people are unable or unwilling to visit. Check Search Console to see whether Google detected a security issue. If you request a security review after cleanup, Google says malware and hacked-site reviews can take a few days to a few weeks. Google Search Console Help: Security Issues report

How do I stop my site being suspended again?

Fix the entry point, keep WordPress and extensions up to date, and review privileged access regularly. Use unique passwords and two-step authentication where available. Keep off-site backups and test a restore so the site has a recovery path if something goes wrong. Watch for unexpected account, file or redirect changes after reopening.

Final word

A malware suspension is usually a pause while the host checks that the site can reopen safely. Confirm the reason, preserve a copy, clean or restore the site, and close the entry point before requesting review.

If you need a fuller walkthrough of the cleanup itself, read our WordPress hacked-site recovery guide. Once public access returns, check Search Console and keep watching the site for changes.

Share this article

In this article

Need help with your WordPress site?

We fix, speed up and redesign WordPress and Elementor websites. Tell us what’s wrong and get a clear quote within 24 hours.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top