← Back to all guides ✻ staying safe

What to Do If Your Website Gets Hacked

Nordlyte Web Studio · Security Guide · 6 min read

stay calm — here's exactly what to do

Finding out your website has been hacked is stressful, but panicking rarely helps. If you're thinking "my website is hacked, what do I do now," here's the answer: a clear, calm walkthrough of what to check, how to fix it fast, and how to make sure it doesn't happen again.

Short answer: contact your host, change your hosting, FTP and email passwords, restore a clean backup (or clean the site), update everything, then reset your website admin passwords again. If Google flagged you, request a review in Search Console once the whole site is clean.

Signs your site may have been hacked

Immediate steps to take

1 Don't panic — but act quickly

The longer a compromised site stays live, the more damage it can do to your reputation and search rankings. Move through the next steps promptly, but methodically.

2 Contact your hosting provider

Tell your host straight away. Many hosts can scan the account, show what was changed, and help you restore a backup. If they've already suspended the site, ask what they need from you to bring it back.

3 Change your passwords from a device you trust

Update your hosting account, FTP, database and connected email passwords right away, and assume all of them may be compromised, not just one. Change your website admin passwords too, but plan to reset them again after you restore a backup, because a restore can bring the old passwords back.

💬 Hacked right now? You don’t need a monthly plan to get it fixed.

Get a fix quote →

4 Take the site offline temporarily if needed

If the hack is actively harming visitors (malware, redirects, phishing content), it's often safer to put the site into maintenance mode or take it offline until it's cleaned, rather than leave it live. Google's own advice for hacked sites is to find and clean the compromised pages and secure the site before bringing it back online.

5 Restore from a clean backup

If you have a recent, clean backup from before the hack, restoring it is usually the fastest way back to normal. Afterwards, reset your website admin passwords again, and check for admin users or files you don't recognise. Restoring alone doesn't fix the vulnerability that let the hack happen.

6 Identify and close the vulnerability

Common causes include outdated plugins, weak passwords, or an unpatched theme. Update everything to the latest version, remove any plugins or tools you no longer use, and delete admin accounts you don't recognise. Google warns that if you don't fix the problem that allowed the infection, your site is likely to be reinfected.

7 Request a review if Google flagged you

If your site shows a security warning, open the Security Issues report in Google Search Console and choose Request a review once your whole site is clean and secure. Briefly describe what you fixed. Google says reviews for malware take a few days, while reviews for sites hacked with spam can take up to several weeks.

If customer data may have been exposed

If your site holds customer details, such as orders, accounts or contact form submissions, tell the people affected as soon as you can, and check whether the privacy rules where you operate require you to report the breach.

🔐 the uncomfortable truth: most hacks are preventable — this is exactly why regular updates and backups matter so much

The quick fix, if you're short on time

If you just need the fastest path to fixing a hacked website: contact your host, change your hosting, FTP and email passwords, restore your most recent clean backup, then reset your website admin passwords again. Update everything (plugins, themes, core software), remove unused plugins and unknown admin users, and request a Google review if you've been flagged. That order matters: restoring a backup without patching the vulnerability just invites the same hack again.

How to prevent it from happening again

How our maintenance plans handle hacks

If your site is on one of our maintenance plans: on Essential, we respond within 1 working day and restore from the latest backup, which is included, while deeper malware cleanup is quoted separately. On Growth, restore and cleanup are included, up to 3 hours of work per incident, with a response the same working day. If your site was already hacked before you joined, the cleanup is a one-time job quoted separately, and the plan starts once the site is clean.

Should I hire someone to handle this?

If you're not comfortable diagnosing and fixing the issue yourself, it's worth getting a developer involved quickly — the cost of professional cleanup is usually far less than the cost of prolonged downtime or lost customer trust. You can request a one-off fix quote from us without taking a monthly plan.

Frequently asked questions

My website is hacked — what do I do first?

Contact your hosting provider and change your hosting, FTP and email passwords from a device you trust. Then restore your most recent clean backup if you have one, and reset your website admin passwords again afterwards, because a restore can bring back old ones.

How do I fix a website that's already been hacked?

Restore a clean backup or remove the malicious code, update all software to the latest version, remove unused plugins and unknown admin users, and change every password. If Google has flagged your site, request a review once you've confirmed it's clean.

What if I don't have a backup to restore?

Recovery is slower and more manual — you'll need to identify and remove the malicious code directly, which is where hiring a developer becomes worth it fast. This is also the strongest argument for setting up automated backups going forward, so you're never in this position twice.

How can I tell if my website has been hacked?

Common signs include pages or redirects you didn't create, spam content in Google results for your site, unfamiliar admin users, a Google warning, your host flagging unusual activity, and visitors reporting pop-ups or redirects.

Can I fix a hacked website myself?

If you have a clean backup and you're comfortable restoring it and updating your software, yes. If you're not sure what was changed, it's worth getting a developer involved quickly.

Will restoring a backup get rid of the hack for good?

Only if you also close the vulnerability that let it happen, such as an outdated plugin or a weak password. Otherwise the site is likely to be hacked again.

How long does Google take to remove the hacked warning?

Once your whole site is clean, request a review in the Security Issues report in Search Console. Google says reviews for malware take a few days, while reviews for sites hacked with spam can take up to several weeks.

Dealing with a hacked site right now?

Tell us what happened. We’ll review it and quote the fix before any work starts, and ongoing care is optional afterwards.

← Back to all guides
Site hacked or broken?Get a fix quote →