Back up the infected site, replace WordPress core with a fresh copy, remove unknown plugins, users and PHP files, change every password, then ask Google to review the site. To stop a repeat, close the weakness that let the malware in or rebuild the site without WordPress.
What WordPress malware looks like
- Thousands of spam pages in Google, often in Japanese or selling counterfeit goods
- Redirects that send phone visitors or visitors from Google, to scam sites
- Hidden links to casino or pharmacy sites in your footer or page code
- Fake payment forms on a checkout page that copy card details
- Admin accounts or plugins you did not add
- A browser or search warning or a suspension notice from your host
The visible symptom is rarely the whole infection. Malware usually comes with a backdoor: a small file, a hidden admin user or a database entry that lets the attacker back in after the spam is deleted.
Your three options
| Option | Clean it yourself | Malware removal service | Rebuild without WordPress |
|---|---|---|---|
| Who does it | You, with a security plugin and a lot of care | A specialist, usually within a day or two | Digital Consulting, from your content |
| What you pay for | Your time, plus any plugin licenses | One cleanup, sometimes with a short guarantee | A one-off rebuild with a fixed quote |
| What is left after | The same WordPress site, cleaned | The same WordPress site, cleaned and scanned | A static site with no WordPress on it |
| Chance of a repeat | High if the way in is not found | Lower, if the service closes the way in | The usual ways in are no longer there |
| Ongoing upkeep | Weekly updates and scans | Weekly updates, often a care plan | Hosting and the occasional change |
If customers are seeing a warning right now, get the site cleaned first, by you or a service. A rebuild takes longer than an emergency cleanup, so it comes next, as the step that stops a repeat.
How to clean WordPress malware yourself
- Take a full backup of the files and the database as they are and keep it somewhere off the server.
- Put the site into maintenance mode or ask your host to block public access while you work.
- Replace the WordPress core files with a fresh download of the same version. Keep only
wp-config.phpand thewp-contentfolder. - Delete every plugin and theme you do not recognize or use. Reinstall the ones you keep from their official source.
- Look for PHP files inside
wp-content/uploads. That folder should hold pictures and documents, never code. - Remove admin users you do not know, then change every password and the security keys in
wp-config.php. - Scan the site again with a security plugin and check that Google no longer sees spam pages.
- In Google Search Console, open Security issues and request a review.
Then find the weakness. Look at your host's access logs for the first sign of the attack and check every plugin you run against its latest version and its update history. An abandoned plugin should go, even if it still works.
Why WordPress malware cleanup often does not last
A cleanup removes what the attacker left. It does not change what made the site an easy target. If the same plugin, the same reused password or the same forgotten admin account is still there, automated tools find the site again. The WordPress hacked again guide covers those doors one by one.
Removing WordPress from the live site
For a business site that is mostly service pages, a blog and a contact form, Digital Consulting can rebuild the site as custom static HTML. Your words and pictures come across, cleaned and checked. The malware does not, because no code from the old server is copied. Every page keeps its web address, so the new site starts from the addresses Google already knows.
The result has no WordPress login, no plugins and no database on the server. You still need a strong hosting password and changes still need care, but most of the work a malware removal service sells no longer applies.
Make this cleanup the last one.See your homepage rebuilt as a static page, free. We never ask for your WordPress password.
See my homepage redone