Start a project
A specialist reviewing CMS plugin hygiene, access controls and patch management checkpoints.

Why WordPress Websites Get Hacked in South Africa (And How to Lock Them Down)

WordPress works reliably when maintained properly, yet it accounts for most emergency website cleanups in South Africa. Automated bots scan .co.za websites day and night looking for outdated plugins, pirated themes and weak passwords.

Key takeaways6 min read
  • 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.php with a website firewall and delete logins for former staff.
  • Block PHP scripts from running inside wp-content/uploads/ and delete old /staging/ or backup.sql files.
  • 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
  1. 01Five open doors automated scanners use to hijack WordPress sites
  2. 02Outdated plugins, page builders and hidden backdoors in 'nulled' downloads
  3. 03Lock down wp-admin access, XML-RPC and upload permissions
  4. 04Remove stale staging subdomains and shared-hosting cross-risks
  5. 05Your practical 30-minute WordPress lockdown checklist today
  6. 06Deciding realistically: keep locked-down WordPress or switch platforms?
  7. 07Frequently asked questions
01

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.

Common WordPress entry paths and how to block them
Way in for hackersHow bots exploit itHow to block it
Outdated plugins or buildersBots attack known flaws hours after they become publicTest and run updates regularly, and delete unused plugins completely
Cracked ('nulled') themesPirated pro plugins ship with hidden backdoors insideUse 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 passwordsUse two-step login checks, password-vault logins, rate limits and block XML-RPC
Old preview or SQL filesLeftover test folders and backup.sql files sit open on the serverDelete old preview copies and raw database exports once live
Scripts in upload foldersHackers upload disguised .php files into media foldersBlock PHP files from running inside wp-content/uploads/
02

Outdated plugins, page builders and hidden backdoors in 'nulled' downloads

Open almost any neglected business WordPress site and you will find 25 or 30 plugins installed: old countdown bars, duplicate contact tools, unused sliders and page builders whose licence expired years ago.

Clicking Deactivate does not remove risky plugin code

Deactivating a plugin only stops WordPress from loading it inside your dashboard. Standalone .php files inside /wp-content/plugins/ can still be opened directly by attack bots over the web. Always uninstall and delete plugins you no longer use.

Avoid 'free pro' cracked plugins on cheap builds

Bargain websites sometimes use cracked ('nulled') copies of paid tools like Elementor Pro, WPForms or Gravity Forms downloaded from shady sites. Those copies often contain sleeper malware that wakes up months after launch.

03

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.php unless 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 add define('DISALLOW_FILE_EDIT', true); inside wp-config.php.
04

Remove stale staging subdomains and shared-hosting cross-risks

Developers often leave /old-site/, /wp-beta/ or staging.domain.co.za sitting online with the same database and no updates, giving hackers an easy back door next to your live site.

Putting five company websites inside one shared hosting account is just as risky. If one small side site catches a bad script, hackers can often jump across every website sharing that same hosting space.

05

Your practical 30-minute WordPress lockdown checklist today

Set aside 30 quiet minutes with your developer or IT lead to close these common gaps:

  1. Save a full encrypted backup off the server before you delete plugins or change settings.
  2. Open Users, remove old staff and ex-agency accounts, and turn on unique vault passwords with two-step login checks.
  3. Update WordPress core, plugins and themes on a private preview first, then delete unused themes, disabled plugins and old /staging/ folders.
  4. Protect /wp-login.php with a website firewall (WAF) rate limit, set DISALLOW_FILE_EDIT and block PHP scripts inside uploads/.
  5. 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.
06

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.

07

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.

Related guides and services

Would you like help applying this to your site?

We help South African businesses build faster websites, show up on Google and keep hackers out. Tell us what you need and we'll recommend the best first step.

WhatsApp us