WordPress Security Basics Every Kenyan Site Owner Should Know

WordPress runs a huge share of the websites we set up for Kenyan businesses, and for good reason — it’s flexible, well-supported, and there’s a plugin for almost anything you’d want to build. The tradeoff is that its popularity makes it a constant target. Most of the hacked WordPress sites we’ve helped recover didn’t fall to some sophisticated attack. They fell to a handful of avoidable gaps, usually more than one at once.
Start with the login page
The default WordPress login sits at yourdomain.co.ke/wp-admin, and automated bots scan that address on essentially every domain on the internet, trying common username and password combinations around the clock. Three things fix most of this exposure:
- Kill the “admin” username. If your site still has a user literally called “admin,” attackers only need to guess the password. Create a differently named administrator account and delete the old one.
- Use an actual password, not a phrase you’ll remember easily. A password manager generating something like
xK9!qR2vLm8pTbeats “Business2024!” every time. If that feels excessive, at minimum use a passphrase of four unrelated words plus a number and symbol. - Turn on login limiting. A plugin like Limit Login Attempts locks out an IP address after a handful of failed tries, which shuts down brute-force attempts almost entirely.
Keep everything updated — actually all of it
WordPress core, your theme, and every plugin get security patches regularly, and the update notes for those patches are public. That’s genuinely useful for defenders, but it also hands attackers a roadmap: if your site is running a plugin version from eight months ago with a known vulnerability, that vulnerability is documented online for anyone to find. Set a weekly reminder to log in and update, or better, use a maintenance service that does it for you. This one habit alone prevents a large share of the hacks we see.
Delete what you’re not using
Every inactive plugin or theme sitting in your WordPress installation is still a potential entry point, even if it’s deactivated — some vulnerabilities can be exploited without the plugin being active at all. If you tried a plugin two years ago and never used it again, remove it completely rather than just deactivating it.
Choose plugins carefully
Before installing anything, check three things in the WordPress plugin repository: when it was last updated, how many active installs it has, and its support forum activity. A plugin that hasn’t been updated in three years is a liability no matter how useful it looks, and one with almost no reviews or installs hasn’t had many eyes on its code.
Get a real backup routine
Security measures reduce your risk, but nothing gets it to zero. When something does go wrong — and eventually, on a long enough timeline, something usually does — a clean, recent backup is what turns a crisis into an inconvenience. Automated daily backups stored somewhere other than your own server (most decent hosting plans include this, or you can add a plugin like UpdraftPlus pointing to cloud storage) mean you can restore a clean version of your site in minutes rather than starting from scratch.
Add an SSL certificate if you haven’t already
Beyond the padlock icon reassuring visitors, SSL encrypts data moving between your visitors and your server, which matters a lot if you’re collecting any information through forms, logins, or M-Pesa checkout integrations. Most hosting providers, including ours, issue free SSL certificates automatically these days, so there’s rarely a good reason to skip it.
Turn on two-factor authentication
Even a strong password can be phished or leaked in a data breach elsewhere. Two-factor authentication — where logging in also requires a code from your phone — stops almost all account takeovers even if your password does get compromised. Plugins like WP 2FA make this a five-minute setup.
Watch your file permissions and hosting environment
This one’s more technical, but worth knowing: WordPress files should generally be set to 644 and directories to 755, with wp-config.php locked down further. If you’re not comfortable checking this yourself, it’s a reasonable thing to ask your hosting provider to confirm, particularly if you’re on shared hosting where misconfigured permissions can occasionally let one compromised account affect neighbouring sites.
If you think you’ve already been hacked
Signs include a defaced homepage, unfamiliar admin users, spam links suddenly appearing in your content, or Google Search Console flagging your site for malware. Change all passwords immediately, restore from your most recent clean backup, and update everything before bringing the site back online. If you don’t have a clean backup to restore from, that’s a harder recovery, and it’s worth reaching out to your host for help rather than trying to patch a compromised site live.
Not sure how secure your current hosting setup is? Our hosting plans come with free SSL, daily backups, and malware scanning built in, which covers most of what’s above without needing a separate security plugin stack.
1 comment