What to Do When Your Website Gets Hacked: Recovery Guide for UK Business Owners
By Tom · Last reviewed · 5 minute read
Act fast but don't start deleting: change all your passwords, call your host, screenshot the damage and put the site in maintenance mode. Clean it or restore a backup from before the hack, ask Google to review it, and if personal data may have been accessed, check your GDPR duty to report the breach.
On this page
- Step 1: Don't Panic (But Act Fast)
- Step 2: Assess the Damage
- Step 3: Isolate and Secure
- Step 4: Clean House
- Step 5: Restore from Backup (If You Have One)
- Step 6: Remove Search Engine Warnings
- Step 7: Prevent Future Attacks
- DIY vs Professional Help
- Website Security Checklist
- Frequently Asked Questions
- Getting Back to Business
If your website's been hacked, your customers might be seeing warnings or weird content, and it's a horrible thing to deal with.
Most website hacks are fixable, and plenty of businesses have been through it. This guide goes through what to do, step by step.
Step 1: Don't Panic (But Act Fast)
The faster you respond, the less damage there'll be.
Immediate actions:
- Change ALL passwords (hosting, WordPress admin, FTP, email)
- Contact your web hosting provider
- Take screenshots of any malicious content for evidence
- Check if Google has flagged your site (search "site:yourwebsite.co.uk")
Don't try to "fix" anything yet. You might make things worse or destroy evidence of how the hack happened.
Step 2: Assess the Damage
Figure out what you're dealing with. Common signs include:
- Weird pop-ups or redirects
- Content you didn't add
- Google warning users about your site
- Suspicious admin users in WordPress
- Slow loading or site crashes
- Spam emails being sent from your domain
Use my free website audit tool to check for obvious security issues. It won't catch everything, but it's a good starting point.
Step 3: Isolate and Secure
Put your site in maintenance mode if possible. This prevents visitors from seeing compromised content while you clean up.
Change every password:
- Hosting account
- WordPress admin (all users)
- FTP/SFTP access
- Email accounts
- Any connected services
Use strong, unique passwords.
Step 4: Clean House
DIY Cleaning (Basic Hacks Only)
If you're comfortable with websites and it's a simple hack, you might tackle this yourself:
- Scan everything. Use security plugins like Wordfence or Sucuri
- Remove malicious files. Delete anything you don't recognise
- Check user accounts. Remove suspicious admin users
- Update everything. WordPress core, themes and plugins
- Review file permissions. Make sure they're not too open
When to Call Professionals
Some hacks are beyond DIY fixes. Call experts if you see:
- Database compromises
- Server-level infections
- Complex malware that keeps coming back
- You're not confident about what you're doing
Paying for professional cleanup is sometimes cheaper than losing days of revenue.
Step 5: Restore from Backup (If You Have One)
If you have recent, clean backups, restoring one is often the fastest way to recover.
Before restoring:
- Make sure your backup is from before the hack
- Update WordPress and plugins first
- Change all passwords
- Scan the backup files if possible
If you don't have backups, this is why I bang on about care plans. Mine include automatic daily backups.
Step 6: Remove Search Engine Warnings
Google might be warning users about your site. Once you've cleaned everything:
- Request a review in Google Search Console
- Check other browsers, as they have their own blacklists
- Be patient, as it can take days for warnings to disappear
Step 7: Prevent Future Attacks
Basic Security Measures
Keep everything updated. Old WordPress versions are easy targets for hackers. Set up automatic updates for core files and regularly update plugins.
Use strong passwords and two-factor authentication. Make it harder for attackers to get in.
Install a security plugin. Wordfence, Sucuri, or similar tools add extra protection.
Regular backups. Automated daily backups mean you can quickly recover from any attack.
Choose secure hosting. Good hosts monitor for malware and provide security features. I use Krystal hosting because they take security seriously.
Advanced Protection
Web Application Firewall (WAF). Blocks malicious traffic before it reaches your site.
SSL certificates. Encrypts data between your site and visitors. Every business site needs one.
Regular security audits. Professional security reviews catch vulnerabilities before hackers do.
File integrity monitoring. Alerts you when core files change unexpectedly.
DIY vs Professional Help
You Can Handle It If:
- It's a simple defacement or spam injection
- You're comfortable with WordPress admin
- You have recent, clean backups
- The hack seems contained to content areas
Call Professionals When:
- Your database is compromised
- Malware keeps coming back
- You're seeing server-level issues
- Your site handles sensitive data (payments, personal info)
- You can't afford extended downtime
Website Security Checklist
- All passwords changed
- Security plugin installed and configured
- WordPress core, themes, and plugins updated
- Unnecessary plugins and themes deleted
- User accounts reviewed (remove old/suspicious ones)
- File permissions checked
- SSL certificate installed
- Regular backup system in place
- Hosting security features enabled
- Google Search Console monitoring set up
Frequently Asked Questions
How did my website get hacked? Common entry points include outdated WordPress installations, weak passwords, vulnerable plugins, and compromised hosting accounts. Sometimes it's as simple as using "admin" as your username.
Will my customers' data be safe? This depends on what data was accessed and how it was stored. If you collect payments or personal information, you might need to notify customers and relevant authorities. GDPR has specific requirements for data breaches.
How much does professional cleanup cost? Typically £150-£500 for basic cleanup, more for complex attacks. That's often less than the revenue a compromised site loses.
How can I prevent this happening again? Regular updates, strong passwords, security plugins, and reliable hosting are your best defences. Consider a maintenance package that handles security monitoring and updates automatically.
Should I pay the ransom if it's ransomware? Never. There's no guarantee hackers will restore your site, and you're funding criminal activity. Focus on cleaning up and restoring from backups instead.
Getting Back to Business
A hacked website can be recovered, and most businesses get back to normal quickly if they act fast and put proper protection in place afterwards. Customers usually forgive a security incident if you handle it professionally and tell them what happened.
If you need help recovering from a hack or improving your website security, get in touch.
