Not every hack announces itself with a defaced home page. Many hackers want your site to look normal, so they can quietly send spam, redirect visitors or steal data for months. The sooner you spot the warning signs, the less damage is done.
Here are the signs your website has been hacked, and exactly what to do next.
12 signs your website has been hacked
- Google or your browser shows a warning such as “This site may be hacked” or “Deceptive site ahead”.
- Visitors are redirected to spam, gambling or pharmacy sites, sometimes only on mobile or only from Google.
- Strange pages appear in Google results, often in other languages or selling products you do not offer. Try searching
site:yourdomain.com. - Search Console reports a security issue or manual action.
- New admin users you did not create appear in your dashboard.
- You cannot log in, or your password has been changed.
- Unknown files or plugins appear on your server or in your dashboard.
- Your hosting company suspends your account for malware or sending spam.
- Your emails go to spam or bounce, because your domain has been blacklisted.
- A sudden traffic drop or spike from unusual countries.
- The site becomes slow or uses unusual server resources.
- Pop-ups, ads or links appear that you did not add.
What to do in the first hour
- Stay calm and do not delete everything. Evidence helps you find how the attacker got in.
- Put the site in maintenance mode or take it offline to protect visitors.
- Change every password: hosting, control panel, FTP/SFTP, database, CMS admin accounts and email.
- Contact your hosting company. They may be able to identify the infection and have server-level backups.
- Check your backups and find the most recent clean version from before the hack.
How to clean a hacked website
- Restore a clean backup if you have one from before the infection, then update everything immediately.
- Scan for malware with a security plugin or your host’s tools, and remove infected files.
- Replace core files (for WordPress, reinstall core, themes and plugins from official sources).
- Remove unknown admin users, plugins and suspicious scheduled tasks.
- Check the database for injected scripts and spam links.
- Find the entry point: an outdated plugin, a weak password or a vulnerable theme. If you do not fix it, the hacker will return.
After the clean-up
- Request a review in Google Search Console if a security warning was shown.
- Remove spam URLs from Google’s index with the Removals tool and return 410 or 404 for them.
- Check blacklists for your domain and request delisting where needed.
- Tell affected users if personal data may have been exposed, and follow your legal obligations.
How to prevent it happening again
- Keep your CMS, themes and plugins updated.
- Use strong, unique passwords and two-factor authentication.
- Install a firewall and security plugin.
- Run daily off-site backups and test restores.
- Remove unused plugins, themes and user accounts.
Our WordPress security best practices and website security guide cover prevention in detail, and our comparison of the best WordPress security plugins helps you choose the right tools.
Hacked right now? Get help fast
Cleaning a hacked site properly takes experience: miss one backdoor and the infection returns. Our website security and malware removal service cleans your site, closes the security hole and helps remove Google warnings, and our website maintenance plans keep you protected afterwards. Contact Webyant now.
- website security
- malware removal
- wordpress maintenance
Jayanti Solanki
Founder, Webyant Technologies
For 17+ years, Jayanti has been turning designers' visions into websites that actually work: pixel-perfect, lightning-fast and built to convert. A Computer Applications honours graduate and certified Shopify Expert, Jayanti founded Webyant in 2016 and now leads a team crafting WordPress, Shopify, Webflow and Next.js websites (and, lately, AI assistants) for brands from Deesa to around the world. On this blog, Jayanti shares the practical, no-fluff lessons learned from shipping 100+ real projects.
Need help with this? Explore our services




