Quick answer: If your WordPress site has been hacked, act quickly: change all passwords, contact your hosting provider, restore a clean backup if you have one, update WordPress, themes and plugins, remove anything suspicious, then check Google Search Console for security warnings and request a review once it’s clean.
How do I know if my website has been hacked?
- Visitors are redirected to spam or scam websites
- Strange pages or links appear in Google results for your site
- Google or your browser shows a security warning
- Unknown admin users in WordPress
- Your host has suspended the site or emailed you about malware
What should I do first?
- Don’t panic, and don’t delete everything. You may need evidence of what happened.
- Change passwords: WordPress admin users, hosting, FTP, database and email linked to the site.
- Contact your hosting provider. Many can scan for malware and help restore backups.
- Check for a clean backup from before the hack.
How do I clean up a hacked WordPress site?
- Restore a clean backup, or have the infected files removed by someone who knows what they’re doing.
- Update WordPress, your theme and every plugin.
- Delete plugins and themes you don’t use.
- Remove any admin users you don’t recognise.
- Run a security scan to check it’s clean.
What do I need to check in Google?
In Google Search Console, look at the Security Issues report. If Google has flagged your site, request a review once it’s fully cleaned. Also check for spam pages Google has indexed and remove them. If traffic has fallen, see why website traffic drops.
How do I stop it happening again?
- Keep WordPress, themes and plugins updated
- Use strong, unique passwords and two-factor login
- Install a reputable security plugin
- Take regular automatic backups stored off the server
- Only use plugins from trusted sources
FAQs
Will a hack affect my Google rankings?
It can, especially if Google flags the site or indexes spam pages. Fixing it quickly limits the damage.
Should I just build a new website?
Usually not necessary. A proper clean-up and better security is often enough.
Need help fast?
We clean up and secure hacked WordPress websites and set up ongoing maintenance so it doesn’t happen again. Get in touch or send us a WhatsApp.