WordPress problems

WordPress malware removal and how to keep it from coming back

WordPress malware removal gets your site clean today. Whether it stays clean depends on what happens after: finding the way the malware got in and deciding whether your site needs WordPress on the public web at all.

Short answer

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

OptionClean it yourselfMalware removal serviceRebuild without WordPress
Who does itYou, with a security plugin and a lot of careA specialist, usually within a day or twoDigital Consulting, from your content
What you pay forYour time, plus any plugin licensesOne cleanup, sometimes with a short guaranteeA one-off rebuild with a fixed quote
What is left afterThe same WordPress site, cleanedThe same WordPress site, cleaned and scannedA static site with no WordPress on it
Chance of a repeatHigh if the way in is not foundLower, if the service closes the way inThe usual ways in are no longer there
Ongoing upkeepWeekly updates and scansWeekly updates, often a care planHosting 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

  1. Take a full backup of the files and the database as they are and keep it somewhere off the server.
  2. Put the site into maintenance mode or ask your host to block public access while you work.
  3. Replace the WordPress core files with a fresh download of the same version. Keep only wp-config.php and the wp-content folder.
  4. Delete every plugin and theme you do not recognize or use. Reinstall the ones you keep from their official source.
  5. Look for PHP files inside wp-content/uploads. That folder should hold pictures and documents, never code.
  6. Remove admin users you do not know, then change every password and the security keys in wp-config.php.
  7. Scan the site again with a security plugin and check that Google no longer sees spam pages.
  8. 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
Written by Digital Consulting

A web design and SEO studio that builds static websites and moves businesses off WordPress, keeping their pages and web addresses. More about leavingwp

Questions

Frequently asked questions

How much does WordPress malware removal cost?

Prices vary with how deep the infection goes and how fast you need it fixed. Ask what the price includes: finding the way in, removing backdoors, a re-scan and a period in which reinfections are cleaned free. A cleanup that skips the way in often has to be bought again.

Will Google remove the hacked site warning?

Yes, once the malware is gone and you ask. In Google Search Console, open the Security issues report, confirm you have fixed the problems and request a review. Google checks the site again and removes the warning if it finds it clean. Reviews for hacked sites can take several days.

Can malware survive a rebuild as a static site?

Not if the rebuild starts from clean content. The pages are rebuilt from your words and pictures, not copied file by file from the infected server. The new site has no PHP and no database, which is where WordPress malware usually runs and hides.

Free homepage preview

See your homepage redone before you decide

Give us your website address. Digital Consulting redesigns your current homepage as a fast static page and emails you a private link. Your own words and pictures, in a new design.

  • Free
  • Preview in 2 business days
  • No passwords needed
  • Nothing changes until you say so
  • Privacy
Coming soon

Free homepage previews are on the way

We're still building this feature, so nothing was sent. In the meantime, Digital Consulting can look at your site and tell you what a move would take.

Email Digital Consulting Use the contact form

info@digitalconsulting.co.za