Skip to content
Soofi Websites · SEO · Marketing
November 5, 2026

What to do in the first hour after your WordPress site is hacked

Your site is showing casino links you did not add, Google has put a red warning next to it, or your host has emailed to say the account is suspended. Here is what to do in the first hour, in order. Most of it is about not making it worse. The cleanup itself is a $350 flat job that takes 24 to 48 hours; the first hour is what decides whether it is a clean 48 hours or a messy week.

Minute 0 to 10: change four passwords

WordPress admin, hosting control panel, FTP or SFTP, and the database user if your host lets you. Use long, unique passwords from a password manager. If any of those passwords were reused on another service, change it there too; the attacker now has it. Do not change the password on the site’s email account yet if you need it for the next steps, but put it on the list.

Minute 10 to 15: do not delete the spam pages

This is the step everyone gets wrong. The spam pages, the injected links, the redirect to a pharmacy site: those are symptoms. The files that let the attacker in are still there, and the modified files show where they worked. Deleting the visible mess throws away the evidence and leaves the back door open, which is why sites get “cleaned” and reinfected a week later. Leave it for the person doing the cleanup.

Minute 15 to 25: take a copy of the site as it is

Most hosts have a one-click backup or snapshot in the control panel. Take one now and label it “hacked state”. It is useful in two ways: it preserves the evidence of how they got in, and if the cleanup goes wrong you have a known starting point. If you also have a clean backup from before the hack, note its date; it tells you the window in which the breach happened.

Minute 25 to 35: check Google Search Console

Log in and open Security Issues. If Google has flagged the site, it says what it found and roughly where. Also open the Pages report and look for a sudden jump in indexed URLs: a hacked site often has hundreds of spam pages Google has already found. Do not request a review yet. A review request on a site that is still infected is rejected, and you then wait longer for the next one.

Minute 35 to 40: list what is installed

From the WordPress dashboard, screenshot the Plugins and Themes pages, including versions and anything marked “update available”, and the Users page. A plugin that has not been updated in two years, a theme you do not recognise, or an administrator account you did not create is often the whole story. If you cannot get into wp-admin at all, that is useful information too; say so when you book the cleanup.

Minute 40 to 45: tell your host, briefly

If the host suspended the account, reply to their email saying a cleanup is underway and ask what they found; they usually have a scan report. If they have not noticed, you do not need to involve them yet. Do not pay for the host’s own “malware removal” add-on without asking what it includes; many of them delete the symptoms and nothing else.

Minute 45 to 55: book the cleanup

You want someone who will find the way in before removing what you can see, compare core, theme and plugin files against known-good copies, remove back doors and hidden admin users and scheduled tasks, rotate every credential, update and harden everything, request the Google review and confirm the warning is lifted, and give you a written note of how they got in. Our hacked website cleanup is $350 flat, clean within 48 hours, with a free re-clean if it comes back within 30 days. Send the access details, the “hacked state” backup label and the screenshots from above and the work starts the same day.

Minute 55 to 60: tell the people who need to know

If the site takes payments or stores customer data, your payment provider and, depending on your state, your customers may need to be told. That is a question for your attorney, not for us, but do not let it wait a week because the website people are busy. If the site is just a brochure with a contact form, there is usually nothing to disclose beyond “we had a problem and fixed it”.

What happens in the next 48 hours

The cleanup locks the attacker out first, then finds the entry point: a modified file, an out-of-date plugin, a nulled theme, an abandoned subdomain. Files are diffed against clean copies so nothing modified is missed. Malware, injected pages and redirects are removed, back doors and rogue users deleted, scheduled tasks cleared, everything updated, two-factor login switched on. Then the Google review is requested, and checked again a week later. You get a written report.

What happens after that

A site that has been hacked once is a site that was not being updated. The way to not do this again is updates tested on staging, backups you have actually restored, monitoring, and malware scanning every month; that is a care plan from $99 a month, and most cleanup clients take the Essential tier. Compared with the day of lost enquiries and the $350 you just spent, it is the cheap option.

If you are reading this at 2 AM with a hacked site, the booking page is open and the overnight team in Lahore will have started before the US morning.

Want a second opinion on your own site?

Send us the address and a person will look at it properly, then email you what they find. Free, and there is nothing to buy at the end of it.

Let's build something your customers will use

A free 30-minute call, then a fixed written quote. No pressure and no jargon.

Enquiries answered 24/7 by our assistant · a person replies within one business day · No obligation, and no sales script.