Do not delete things in a panic. Keep a copy, change every password, clean or restore from a backup made before the attack, update everything, then ask Google to check the site again.
Signs it has happened
- Google shows “This site may be hacked” under your name, or Chrome shows a red warning page.
- Visitors are redirected to another website, often only on phones.
- Pages, links or users you did not create appear.
- Your hosting company suspends the account or emails you about malware.
- Your emails suddenly start going to spam.
The first hour, in order
- Keep a copy of the site and its database as it is now, even infected. It helps find how they got in.
- Change every password: WordPress admins, hosting, the database, and the email used for those accounts.
- Remove admin users you do not recognise.
- Tell your hosting company. Many can help, or can restore a clean backup.
- Note the date you first saw a problem. It tells you which backups are likely clean.
Cleaning the site
There are two safe routes.
| Route | When it fits |
|---|---|
| Restore a backup from before the attack | You have a backup older than the first sign of trouble, and you can accept losing changes made since. |
| Clean the current site | No clean backup exists. Replace WordPress, the theme and plugins with fresh copies from official sources, then check the uploads folder and database for anything planted. |
Either way, update everything afterwards and remove plugins and themes you do not use.
Telling Google it is clean
If Google flagged the site, open Google Search Console, look at the Security issues report, and request a review once the site is clean. Google rechecks it and removes the warning if it agrees.
Making it less likely next time
- Install updates every month, with a backup first.
- Use long, unique passwords, and two step login where you can.
- Give admin access only to people who need it.
- Keep backups somewhere other than your hosting.
- Remove what you do not use.
Prepare a useful recovery request
Write down the website address, the symptoms and when they first appeared. Include the wording of any hosting or search warning. Confirm whether the business controls the hosting account, the domain and a backup stored separately from the website.
Avoid repeatedly restoring files without investigating how the problem started. A working page does not prove that unexpected accounts, vulnerable software or other access routes have been removed. Keep a record of changes and agree on the tests needed before reopening the site.
Further reading
Official documentation behind the technical guidance in this article.



