WordPress Site Hacked? What to Do in the First Hour

A calm, step-by-step plan to stop the damage, confirm what happened, and get your site clean and back in Google’s good books.

Updated October 202610 min readBy the HireTheFix team

Disclosure: this guide includes affiliate links to Fiverr. If you hire through them, we may earn a commission at no extra cost to you. How we choose recommendations.

Short on time? Do these 4 things now

  1. Don’t delete the site or restore a random backup yet.
  2. Change your WordPress, hosting and FTP passwords from a device you trust.
  3. Remove any admin user you don’t recognise.
  4. Call your web host and tell them the site is hacked.

If the site makes you money and you can’t spend the next few hours on this, skip to hiring a cleanup expert.

Finding out your website has been hacked feels awful. Maybe visitors are being redirected to spam, Google is showing a scary red warning, or your host has suspended your account. The good news: almost every hacked WordPress site can be cleaned and recovered.

What matters most is what you do in the first hour. Act fast to limit the damage, but don’t make panicked changes that destroy the evidence you need to clean it properly.

Signs your WordPress site has been hacked

Before you start fixing, make sure it really is a hack and not a broken plugin or expired hosting plan. These are the most common signs:

What you seeWhat it usually means
Visitors get redirected to spam, gambling or “prize” sitesMalicious redirect code injected into files or the database
Google shows “This site may be hacked” or a red “Deceptive site ahead” screenGoogle has detected malware, phishing or spam on your site
Pages you never wrote appear in Google, often in Japanese or selling pillsSpam (SEO) injection: hackers are using your site to rank their pages
Admin users you don’t recogniseSomeone has, or had, full access to your site
Your host suspends the site or emails about malwareTheir scanner found infected files or your site is sending spam
You can’t log in, or your password suddenly stops workingYour admin account may have been taken over

Two free checks to confirm it

  • Search Google for site:yourdomain.com. Look through the results for pages, titles or languages you don’t recognise.
  • Run a free remote scan with Sucuri SiteCheck. It checks your public pages for known malware and blocklist warnings. It can’t see inside your server, so a clean result doesn’t guarantee you’re clean.

If you already use Google Search Console, open Security & Manual Actions → Security issues. Google lists exactly what it found there, with sample infected URLs.

The first hour: 6 steps to stop the damage

Work through these in order. They’re safe for non-technical owners and won’t make things worse.

1

Don’t delete anything yet 2 min

It’s tempting to wipe the site or restore last week’s backup. Hold off. If you don’t know when the hack happened, that backup may be infected too, and deleting files destroys the clues a cleanup expert needs to find how the attacker got in.

2

Contact your web host 10 min

Call or open a support chat and say: “My WordPress site has been hacked.” Ask them:

  • Do you have clean backups, and from which dates?
  • Can you run a server-side malware scan and send me the results?
  • Have you seen suspicious logins or file changes on my account?

Some hosts include malware cleanup in your plan or sell it as an add-on, so ask what’s available before you pay elsewhere.

3

Change every password 15 min

Do this from a computer you trust. If your own device is infected, the attacker could simply capture the new passwords. Change:

  • Every WordPress administrator account
  • Your hosting account (e.g. your Bluehost login)
  • FTP / SFTP and cPanel accounts
  • The email account linked to your WordPress admin

Use long, unique passwords from a password manager, and turn on two-factor authentication wherever it’s offered.

4

Remove unknown admin users 5 min

In WordPress, go to Users and filter by Administrator. Delete any account you didn’t create. When WordPress asks what to do with their content, attribute it to your own account.

Can’t log in at all? Ask your host to reset your admin password or check the database for you.

5

Take a backup of the hacked site 10 min

It sounds backwards, but a full copy of the site as it is now (files and database) protects you if a cleanup goes wrong, and helps an expert work out how the hack happened. Label it clearly, store it offline, and never restore it as your live site.

6

Limit what visitors see 5 min

If the site is redirecting visitors or showing spam, put up a maintenance page so customers and Google see as little of the hack as possible. Your host may be able to do this for you if you can’t log in.

That’s the first hour done

You’ve locked the attacker out of your accounts, kept the evidence, and protected your visitors. The site isn’t clean yet: the malicious code is probably still there. That’s the next stage.

The next 24 hours: cleaning up the hack

This is where most owners either push through or decide to hand it over. Here’s what a proper cleanup involves.

Option A: Restore a clean backup

If your host has a backup from before the hack started, restoring it is the fastest fix. It only works if you’re confident about the date, and you must still complete the steps below. Otherwise the same weakness lets the attacker straight back in.

Option B: Clean the existing site

  1. Scan from the inside. Install a reputable security plugin such as Wordfence (free) and run a full scan. It compares your core files against the official versions and flags known malware.
  2. Reinstall WordPress core. Go to Dashboard → Updates → Re-install version. This replaces core files with clean copies without touching your content.
  3. Update or replace every plugin and theme. Delete anything you don’t use, and delete any “nulled” (pirated) premium plugins immediately. They’re one of the most common ways sites get infected.
  4. Clean what the scan finds. Infected files in wp-content and malicious code in the database need careful removal. This is the part most likely to break a site if you guess.
  5. Reset your security keys. Replace the security keys (salts) in wp-config.php. This logs out everyone, including any attacker still holding a session.
  6. Scan again. Re-run the plugin scan and Sucuri SiteCheck until both come back clean.

Watch out for reinfection

Hackers often leave a hidden “backdoor” file so they can get back in after you clean up. If your site is reinfected within days, a backdoor was missed. That’s a strong sign to bring in a professional.

Getting Google’s warning removed

Once the site is genuinely clean, ask Google to take another look:

  1. Open Google Search Console → Security issues. Add and verify your site first if you haven’t already.
  2. Check that every listed issue and sample URL is fixed. Google won’t partly lift a warning for a partly cleaned site.
  3. Click Request Review and explain what the problem was, what you did to fix it, and the result.
  4. Wait. Don’t resubmit while a review is pending.

According to Google’s own guidance, a review can take from a few days to a few weeks. Resubmitting while one is pending can slow things down.

Should you fix it yourself or hire someone?

The first-hour steps are for everyone. The full cleanup is a judgement call. Here’s a simple way to decide:

Your situationOur advice
You have a clean backup from before the hack and know the dateDIY: restore it, then harden the site
Personal blog, low traffic, you’re comfortable with plugins and FTPDIY is reasonable. Follow Option B carefully.
Business, online store, or a site that brings in leadsHire: every day offline costs more than the fix
Google warning, host suspension or customers complainingHire for speed and blocklist removal
You already cleaned it and it got reinfectedHire: a backdoor was almost certainly missed
You don’t know what FTP or wp-config.php isHire: guessing can break the site

Our recommended cleanup options

You can hire WordPress security specialists on Fiverr who do this every day. Basic malware cleanup packages often start in the $10–$50 range. Full packages with hardening, backdoor checks and blocklist removal cost more, so read exactly what each package includes. Pick the option that matches how urgent and how valuable your site is:

Best for most sites

WordPress malware removal specialist

For small-business sites and blogs that need a thorough, affordable cleanup.

  • Full file and database cleanup, not just a plugin scan
  • Look for packages that include backdoor removal and security hardening
  • Choose sellers with many reviews that specifically mention hacked sites
See malware removal experts
Site down right now

Emergency same-day cleanup

For stores and lead-generating sites losing money every hour.

  • Filtered to sellers offering 24-hour delivery
  • Message first to confirm they can start immediately
  • Worth paying more for speed if you’re losing sales
Find 24-hour experts
Business-critical sites

Vetted Fiverr Pro security expert

For e-commerce, membership sites, or anything handling customer data.

  • Freelancers hand-vetted by Fiverr for quality
  • Better suited to complex or repeat infections
  • Ask about an investigation into how the hack happened
Browse Fiverr Pro experts

Copy this brief and send it to the freelancer

A clear brief gets you a faster, more accurate quote. Fill in the brackets and paste it into your first message:

Hi, my WordPress site has been hacked and I need a full cleanup. Website: [yourdomain.com] What's happening: [e.g. redirects to spam / Google warning / host suspended it] When I noticed: [date] Host: [e.g. Bluehost] Backups available: [yes, dated ___ / no / not sure] Steps already taken: changed all passwords, removed unknown admin users, backed up the hacked site. Please confirm your package includes: 1. Full file and database malware removal 2. Backdoor checks so it doesn't get reinfected 3. Updating WordPress, plugins and themes 4. Security hardening 5. Help getting Google / blocklist warnings removed 6. A short report of what you found and fixed How soon can you start, and do you offer a re-clean if it gets reinfected?

Red flags when hiring

  • They promise a fix “in 5 minutes” without asking any questions
  • They want your main hosting password instead of a temporary account
  • Their package is just “install a security plugin”
  • No reviews mention malware or hacked sites specifically
  • They ask you to pay or talk outside Fiverr, which removes your buyer protection

Give access safely

Create a separate admin account for the freelancer and, if your host allows it, a separate FTP/SFTP account. Delete both and change your passwords once the job is done. Never send your main passwords. For more help, see our guide on how to hire a freelancer for the first time.

How to stop it happening again

Most WordPress hacks come through outdated plugins, weak passwords or pirated themes. Once you’re clean, put these in place:

  • Turn on automatic updates for WordPress core and trusted plugins
  • Delete plugins and themes you don’t use, and never install nulled ones
  • Use unique passwords and two-factor authentication for every admin
  • Keep a security plugin running with login protection and a firewall
  • Set up automatic daily backups stored off your server
  • Give each person their own login with the lowest role they need

Not sure your setup is solid? Many cleanup specialists also offer a one-off security hardening package, which costs a lot less than another hack.

FAQ

Can a hacked WordPress site be fixed?

Yes. Almost every hacked WordPress site can be cleaned and restored. The key is removing all the malicious code, including hidden backdoors, and closing the weakness the attacker used.

Will restoring a backup fix my hacked site?

Only if the backup is from before the hack, and you still need to change passwords and update everything afterwards. Otherwise the attacker can get back in the same way.

How long does it take Google to remove the hacked warning?

After you request a review in Search Console, Google says it can take from a few days to a few weeks. Make sure the site is fully clean first, and don’t resubmit while a review is pending.

Is my customers’ data at risk?

It can be, especially on stores or membership sites. Ask your cleanup expert to look for signs that data was accessed. If personal or payment data may have been exposed, you may have legal duties to tell customers, so get advice specific to your country.

How much does WordPress malware removal cost?

On Fiverr, basic cleanup packages often start in the $10–$50 range. Thorough packages with hardening, backdoor removal and blocklist help cost more. Always check what’s included, not just the headline price.

Why did my site get hacked?

Usually it’s automated bots exploiting an outdated plugin or theme, a weak or reused password, or a pirated premium plugin. It’s rarely personal, which is why simple prevention steps work so well.

Need it fixed today?

If your site makes you money, every hour it stays hacked costs you customers and Google trust. A specialist can usually start right away.

Get a malware removal expert