My WordPress site keeps getting hacked with weird Japanese pharma links or casino redirects—how do we actually permanently stop it?
Wiping visible files isn't enough; hackers hide backdoors in wp-config, cron jobs, and abandoned plugins—clean recovery requires a fresh core install, removing nulled plugins, and strict edge WAF.
Once a WordPress site gets infected, simply deleting suspicious PHP files from `wp-content` almost never works. Attackers plant sleeper backdoors inside `mu-plugins`, database `wp_options` cron triggers, rogue admin users, and compromised hosting FTP passwords so the malware re-injects itself three days after your 'cleanup.'
Nine times out of ten, the entry door was either a 'nulled' pirated premium theme/plugin downloaded from shady forums, an abandoned plugin with an unpatched CVE, or weak shared cPanel hosting where neighboring accounts cross-contaminate. If you run Elementor plus 28 random plugins on $4 shared hosting, it is a matter of when, not if.
Permanent recovery means exporting clean content, rebuilding fresh core WordPress files on isolated managed hosting behind Cloudflare WAF, auditing every active user and database table, replacing pirated/abandoned plugins, and enabling automatic security patching plus off-site daily backups—or migrating purely informational sites to static/React Jamstack with zero PHP attack surface.
Checklist & Red Flags
- Delete every nulled, pirated, or unmaintained plugin immediately—never install 'free pro' ZIP files from third-party sites.
- Audit all WordPress admin accounts, scheduled `wp_cron` jobs, and `mu-plugins` after any security incident.
- Enforce 2FA on WordPress admin, hosting panel, and SFTP, and disable XML-RPC and theme/plugin file editing.
- Move static marketing sites off PHP/WordPress onto modern React/SSG hosting if security maintenance feels burdensome.
Web Development
Need a clear architecture & milestone scope?
Talk directly with a senior Netlex MultiTech engineer — no account-manager fluff or padded quotes.
Explore Web Development
