If your website has been hacked, defaced, or is redirecting to spam sites, take action immediately. Change your passwords first, then follow our recovery guide to clean up and secure your site.
Immediate steps
- Change your cPanel password
- Change all email account passwords
- Change your CMS admin password (WordPress, Joomla, etc.)
- Change your database passwords
This prevents the attacker from maintaining access while you clean up.
01. WordPress Sites
WordPress sites are the most common target. We have a detailed step-by-step recovery guide: How to Fix a Hacked WordPress Site. This covers identifying the compromise, removing malicious files, cleaning the database, and hardening the site against future attacks.
02. Other CMS Platforms
The same principles apply to any CMS:
- Change all passwords (cPanel, FTP, email, CMS admin, database)
- Update the CMS to the latest version
- Update all plugins, themes, and extensions
- Remove any plugins or themes you do not use
- Check for suspicious files - Look for recently modified PHP files, especially in upload directories
- Scan for malware - cPanel includes a virus scanner under Security > Virus Scanner
- Restore from a clean backup if available - See How to Back Up Your Website
03. Prevent Future Hacks
- Keep everything updated - CMS, plugins, themes. Outdated software is the #1 attack vector.
- Use strong, unique passwords for every account
- Install a security plugin - Wordfence for WordPress, or similar for your CMS
- Enable two-factor authentication on your CMS admin login
- Remove unused plugins and themes - Even deactivated plugins can be exploited
For comprehensive WordPress security, see WordPress Security: The Complete Hardening Guide.
Need Help Cleaning Up?
If you cannot clean the hack yourself or keep getting re-infected, our team can investigate and help restore your site.
Open a Support TicketQuick Recap
- Change ALL passwords immediately - cPanel, email, CMS, database
- Follow our WordPress hack recovery guide for WordPress sites
- Update everything - CMS, plugins, themes
- Scan for malware and remove suspicious files
- Restore from a clean backup if available
Security incident response · Last updated March 2026 · Browse all General articles
