WordPress
WordPress malware removal service: clean, close the hole, get off the blacklist
My WordPress malware removal service cleans an infected site by hand, finds how the attacker got in, and closes that door so the infection does not come straight back. I check files, the database, users and scheduled tasks, not just what a scanner flags. Then I help you request removal of the Google warning and harden the site against the next attempt.
What’s included
- A copy of the infected site kept for investigation before anything is changed
- Password and key reset for WordPress admins, the database, hosting, SFTP and the salts in wp-config.php
- WordPress core, plugin and theme files compared against clean originals and replaced where modified
- Manual search for backdoors, obfuscated code and PHP files hidden in uploads and mu-plugins
- Database cleanup: injected scripts, spam posts, rogue admin users, changed site URLs and options
- Removal of malicious cron jobs and .htaccess rules that cause redirects
- Root cause report: how they got in and what was changed
- Remove Google blacklist warning: a Search Console security review request, plus checks of other blocklists
- WordPress security hardening after the cleanup
When you need a WordPress malware removal service
You need a WordPress malware removal service when there are signs that someone else controls part of your site. Common ones: visitors from Google or on phones get sent to a spam or scam site while you see nothing wrong, Chrome shows a red "Deceptive site ahead" warning, search results show Japanese or pharmacy text under your pages, your host has suspended the account for sending spam, or admin users you never created appear in the dashboard.
If any of that is happening, act quickly but do not start deleting files at random. Deleting the visible malware while the backdoor stays in place is the most common reason a hacked WordPress site gets reinfected within days. Change your WordPress and hosting passwords, tell your host, and keep a copy of the site as it is.
This service is for a WordPress site that is infected now. If you want a site kept updated and watched so this is less likely to happen, that is WordPress maintenance.
How I fix a hacked WordPress site, step by step
Malware scanners are useful for a first look, but attackers write code to avoid them, so a scanner alone often leaves something behind. When I fix hacked WordPress site infections, I work through every place code or data can hide.
- Contain it: keep a copy of the infected state, reset every password and key, log out all sessions and rotate the security salts.
- Compare files with the originals: WP-CLI verifies core and plugin files against WordPress.org checksums. Anything that differs, or should not exist, is examined. Core, plugins and themes are then replaced with clean copies from WordPress.org or, for premium ones, the vendor.
- Hunt for backdoors: obfuscated code using eval, base64_decode, gzinflate or str_rot13, PHP files inside wp-content/uploads, fake plugins with plausible names, code added to wp-config.php, functions.php or the mu-plugins folder.
- Clean the database: scripts injected into posts, widgets and options, changed siteurl or home values, spam pages, and administrator accounts nobody recognizes.
- Check scheduled tasks and server rules: WP-Cron events and server cron jobs that reinstall the malware, and .htaccess rules that redirect certain visitors.
- Read the logs: access logs show which request created the first malicious file, which usually points straight to the vulnerable plugin, the stolen password or the other site on the same hosting account.
The WordPress hacked redirect, and why you cannot see it
The WordPress hacked redirect is the infection people find most confusing. The malicious code checks who is visiting. Logged-in administrators and people typing the address directly see the normal site; visitors arriving from Google, or on a phone, are sent to a scam page. Some versions only redirect each visitor once, so it is very hard to reproduce.
The redirect can live in a JavaScript snippet injected into the database, in a modified theme file, in .htaccess, or in a plugin that looks legitimate. I test as a search visitor and as a mobile visitor, and trace the redirect back to its source rather than guessing. I have written a fuller guide to fixing a WordPress hacked redirect if you want to understand what you are dealing with.
How to remove the Google blacklist warning
To remove the Google blacklist warning, the site has to be completely clean first. Google's Safe Browsing system is what shows the red warning in Chrome and other browsers. Once every infected page is fixed, I submit a review request through the Security Issues report in Google Search Console, with a short explanation of what was found and removed. Google says these reviews can take from several days to a few weeks, and a request made before the site is clean can slow down the next one, so I do not rush it.
Other services keep their own lists, so I also check Norton Safe Web and similar tools and request reviews where the site is listed. If the hack created thousands of spam pages, those URLs need to return 404 or 410 so Google drops them; a technical SEO audit afterwards can confirm the index is clean.
WordPress security hardening after the cleanup
WordPress security hardening is what stops the same attack working twice. I fix the specific way in first, then add sensible layers that do not get in your way.
- Update or remove the vulnerable plugin or theme, and replace any nulled (pirated) theme or plugin, which often contains malware from the start
- Remove unused plugins, themes and old admin accounts; give each person the lowest role they need
- Two-factor login for administrators and limits on login attempts
- Disable the built-in file editor and block PHP from running in the uploads folder
- Correct file permissions and a firewall layer such as Cloudflare or Wordfence
- Off-site backups and file change monitoring, so a future problem is caught early
Why hire a PHP developer for a hacked WordPress site, and what affects the cost
Malware is PHP code, usually obfuscated, so reading it is a developer's job. I write PHP and work on application security every day, which means I can tell a backdoor from an ugly but harmless plugin, and fix custom theme code an automated tool would skip. You deal directly with me, and I work remotely from India with clients in different time zones. My client WordPress work is private, but I can walk you through it on a call.
The cost depends on the size of the site, how many sites share the hosting account (one infected site often infects its neighbours), how long the infection has been there, whether the database is affected, and whether blacklist reviews are needed. A fixed quote follows a short call or a written description of what you are seeing.
How the work runs
Get access and secure it
You share hosting or SFTP, database and WordPress admin access. I take a copy of the infected site and reset every password and key straight away.
Investigate
Files, database, users, cron jobs and server logs are checked to map the full infection and find the way in.
Clean and restore
Malicious code, backdoors, rogue users and spam content are removed, and core, plugins and themes are replaced with clean copies. Your content stays in place.
Harden and verify
The way in is closed, the hardening steps are applied, and the site is tested as a search visitor, a mobile visitor and an admin.
Request reviews and report
I submit the Search Console review and other blocklist requests, then send a report of what was found, how they got in and what to watch next.
Tools and technologies
- WordPress
- WP-CLI
- PHP
- MySQL and phpMyAdmin
- SSH and SFTP
- cPanel and WHM
- Google Search Console
- Google Safe Browsing
- Wordfence
- Cloudflare
- Server access logs
About past work
Client work for this service is private, so it is not shown here. On a call I can walk you through comparable projects, what was done and how it turned out. The case studies show how I approach engineering problems in general.
Questions
How long does it take to clean a hacked WordPress site?
It depends on the size of the site and how deep the infection goes, and I give you an estimate once I have looked at it, before the cleanup starts. Large sites, a shared hosting account with several infected sites, or a heavily injected database take longer. Google's blacklist review is separate and can take from several days to a few weeks after the request.
Can't I just restore a backup?
Only if the backup is clean and you also close the way in. Many backups already contain the backdoor, because infections often sit quietly for weeks before anyone notices. And restoring without fixing the vulnerable plugin or the stolen password lets the attacker straight back in.
Will you find out how the hacker got in?
In most cases, yes. Server access logs, file dates and the version history of your plugins usually point to the cause. If the host has deleted old logs I say so, and I close every likely entry point instead.
Will I lose my content or orders?
No, the goal is to remove only what the attacker added. Posts, pages, media, products and WooCommerce orders stay in place, and I keep a copy of everything before I start in case anything needs checking later.
What access do you need?
Hosting control panel or SFTP access, database access and a WordPress admin login, plus Search Console access if Google shows a warning. Server logs help a lot, so tell me if your host provides them. You can remove my access as soon as the work is done.
What if my site gets hacked again?
If the cause was found and fixed, a reinfection from the same hole is unlikely, but no one can honestly promise a site will never be attacked again. We agree before I start how a reinfection in the following weeks is handled, and ongoing monitoring catches new problems early.
Can a hacked site hurt my SEO?
Yes. Spam pages, redirects and a browser warning can all cost you traffic and trust. After the cleanup, the spam URLs should return 404 or 410, the sitemap should list only real pages, and Search Console should be checked until Google has dropped the junk.
Related services
Further reading
Tell me what you are building.
A few lines about the project, who will use it and when it needs to ship are enough to start. You get a straight answer on whether wordpress malware removal is the right fit, and what it would take.
- Status
- Available for new projects
- Reply time
- I reply within an hour during working hours.
- Working hours
- 9 AM to 9 PM IST (UTC+5:30)
- Languages
- English, Hindi, Gujarati
Prefer email? Write to jaygajjar.dev@gmail.com.