- Most WordPress hacks come through outdated plugins, pirated themes, stolen logins or old preview folders, rarely from WordPress itself.
- Clicking Deactivate on an old plugin leaves its PHP files sitting on your server where hackers can still run them.
- Turn on app-based two-step login checks for all admins, protect
/wp-login.phpwith a website firewall and delete logins for former staff. - Block PHP scripts from running inside
wp-content/uploads/and delete old/staging/orbackup.sqlfiles. - For simple company websites that rarely change, moving to a static Next.js build removes PHP plugin risks altogether.
In this guide (7 sections)6 min read
- 01Five open doors automated scanners use to hijack WordPress sites
- 02Outdated plugins, page builders and hidden backdoors in 'nulled' downloads
- 03Lock down wp-admin access, XML-RPC and upload permissions
- 04Remove stale staging subdomains and shared-hosting cross-risks
- 05Your practical 30-minute WordPress lockdown checklist today
- 06Deciding realistically: keep locked-down WordPress or switch platforms?
- 07Frequently asked questions
Five open doors automated scanners use to hijack WordPress sites
Stopping repeat WordPress hacks starts with knowing what automated bots scan for every night across South African hosting servers.
| Way in for hackers | How bots exploit it | How to block it |
|---|---|---|
| Outdated plugins or builders | Bots attack known flaws hours after they become public | Test and run updates regularly, and delete unused plugins completely |
| Cracked ('nulled') themes | Pirated pro plugins ship with hidden backdoors inside | Use only official licensed plugins bought in your company's name |
Weak or leaked logins (admin) | Bots hammer /wp-login.php and xmlrpc.php with leaked passwords | Use two-step login checks, password-vault logins, rate limits and block XML-RPC |
| Old preview or SQL files | Leftover test folders and backup.sql files sit open on the server | Delete old preview copies and raw database exports once live |
| Scripts in upload folders | Hackers upload disguised .php files into media folders | Block PHP files from running inside wp-content/uploads/ |
Lock down wp-admin access, XML-RPC and upload permissions
Tightening basic WordPress logins and folder rules cuts automated attack success right away:
- Delete shared generic accounts (
admin,webmaster) and give each staff member their own login with only the access they need. - Require an authenticator app for two-step verification on all Administrator and Shop Manager accounts.
- Turn off
/xmlrpc.phpunless a verified tool needs it, so bots cannot test hundreds of passwords in one request. - Block PHP scripts from running inside
/wp-content/uploads/and adddefine('DISALLOW_FILE_EDIT', true);insidewp-config.php.
Your practical 30-minute WordPress lockdown checklist today
Set aside 30 quiet minutes with your developer or IT lead to close these common gaps:
- Save a full encrypted backup off the server before you delete plugins or change settings.
- Open Users, remove old staff and ex-agency accounts, and turn on unique vault passwords with two-step login checks.
- Update WordPress core, plugins and themes on a private preview first, then delete unused themes, disabled plugins and old
/staging/folders. - Protect
/wp-login.phpwith a website firewall (WAF) rate limit, setDISALLOW_FILE_EDITand block PHP scripts insideuploads/. - Turn on alerts if your site goes down, certificate expiry checks and Google Search Console (Google's free report on how your site shows up in search) warnings.
Deciding realistically: keep locked-down WordPress or switch platforms?
After cleaning a hacked WordPress site twice in two years, many business owners ask if paying for ongoing plugin updates makes sense or if moving off PHP is smarter. The right answer depends on how often your team updates pages and what features the site runs.
Check how your team actually uses the website before spending more on repeat repairs:
- Always delete old WordPress folders like
/old-wp/after moving platforms so forgotten PHP files do not stay live. - Keep old page links working with tested direct redirects whenever you change editing systems.
When keeping and locking down WordPress makes sense
Keep WordPress when you run an active WooCommerce store with many products, gated client portals or weekly edits by non-technical staff. Cut active plugins down to under 12 trusted licensed tools, move to isolated South African hosting, add a Cloudflare website firewall with two-step logins and run monthly updates.
When switching to static Next.js saves money long term
Many company WordPress sites only change copy a few times a year. Moving brochure and lead-focused websites onto pre-built Next.js pages removes SQL databases, PHP upload gaps, cracked themes and /wp-login.php login attacks for good, giving you faster speeds and fewer surprises.
Frequently asked questions
Is WordPress too risky for South African company websites?
No, WordPress itself receives regular security updates from a dedicated open-source security team. Almost every WordPress hack in South Africa starts with abandoned plugins, cracked 'nulled' themes, weak shared logins, forgotten preview folders or crowded shared hosting, rather than a flaw inside the core WordPress software.
Does adding a security plugin like Wordfence stop every hack?
A security plugin helps slow down noisy login guesses and alerts you to changed files, so it adds a useful warning layer. However, a plugin sitting inside WordPress cannot protect your site against weak hosting panel passwords, old preview folders, public database backups or outdated plugins left unpatched for months.
What maximum plugin count should a WordPress SME site run?
Aim for fewer than 10 to 14 essential, actively updated plugins from reputable makers. Cutting out unused page sliders, duplicate form tools and decorative add-ons reduces both the ways hackers can break into your site and the heavy code that slows pages down on phones.
Can SoftKore lock down and monitor an existing WordPress build safely?
Yes, our website security team inspects your files and admin users first, removes unused plugins and forgotten preview folders, turns on two-step login checks, puts a Cloudflare website firewall in front of the site and sets up daily off-site backups with ongoing monthly update care for your team.
How quickly after disclosure do bots probe newly discovered plugin bugs?
Automated scanners often start testing .co.za sites within hours or a few days after a new plugin flaw is announced publicly. Attackers do not pick small companies by hand; automated bots scan huge lists of websites around the clock, which makes prompt updates and an active website firewall vital.

