Request a quote

Website security for Kenyan businesses: how to stop your site being hacked

An illustration of cloud servers protected by security and lock icons

Many business owners only think about website security after something goes wrong: a customer reports a strange casino ad on their homepage, Google shows a warning, or the site simply stops working. By then, the damage to trust and search rankings is already done. The good news is that most hacks are preventable with a few sensible habits. This guide explains how sites get hacked and how to protect yours.

How business websites get hacked

Most attacks aren't personal. Automated bots scan thousands of websites looking for known weaknesses. The most common ways in are:

  • Outdated software: old versions of WordPress, themes and plugins with publicly known security holes.
  • Pirated or "nulled" themes and plugins: free copies of paid products often come with hidden malicious code.
  • Weak or reused passwords on the hosting panel, website admin or email.
  • Abandoned plugins that are no longer updated by their developers.
  • Insecure forms and uploads that let attackers upload harmful files.

The OWASP Top Ten is a well-known list of the most common web application security risks, if you want the technical background.

Warning signs your website has been hacked

  • Spam links, foreign-language ads or pages you didn't create
  • Visitors redirected to other websites, especially on mobile
  • Browser or Google warnings that the site is unsafe
  • New admin users you don't recognise
  • Your host suspends the account or reports malware
  • Strange search results for your business name on Google

Website security basics every business should have

Keep everything updated

Update your website software, themes and plugins regularly, and remove anything you don't use. Every unused plugin is an extra door for attackers.

Only use legitimate software

Never install pirated themes or plugins. The money saved is tiny compared with the cost of cleaning up a hacked site.

Use strong, unique passwords and limit access

Use long, unique passwords for your hosting, website admin and email, stored in a password manager. Give each person their own login, remove old staff accounts, and turn on two-factor authentication wherever it's offered.

Keep SSL active

An SSL certificate encrypts the connection between visitors and your site and shows the padlock in the browser. Most hosts offer free certificates; make sure yours renews automatically and that your site always loads on https.

Back up regularly, and test your backups

Keep automatic backups stored away from the website itself. A backup you've never restored is a backup you can't fully trust, so test one occasionally.

Protect forms and uploads

Forms should block spam and validate what people send. Upload folders should never allow scripts to run. These are details a good developer handles as standard.

Choose simpler technology where it fits

A custom-coded website with fewer moving parts has fewer places for attackers to get in than a site running dozens of plugins. Simpler sites are also faster.

What to do if your site is already hacked

  1. Change all passwords: hosting, website admin, email and database.
  2. Tell your developer or host immediately, and ask for a malware scan.
  3. Remove the malicious code and any unknown users, files and plugins, then update everything that remains.
  4. Restore from a clean backup if one exists.
  5. Check Google Search Console for security issues and request a review once the site is clean.
  6. Find out how the attacker got in, and close that gap so it doesn't happen again.

If the site keeps getting reinfected, a clean rebuild is often faster and cheaper than repeated clean-ups. Read 8 signs your website needs a redesign.

Protecting your business email and domain

Website security also covers the accounts around your site. Attackers often target these because they're easier to break into:

  • Domain account: make sure your domain is registered in your business's name, with an email address you control, and that renewal reminders reach you.
  • Email: turn on two-factor authentication for business email. A hacked mailbox can be used to reset every other password.
  • Phishing: be suspicious of emails claiming your domain or hosting is about to expire, especially if they ask you to click a link and pay. Log in directly instead of using the link.
  • Hosting panel: give access only to people who need it, and remove developers who no longer work on the site.

A simple website security checklist

  1. All software, themes and plugins updated in the last month
  2. No unused plugins, themes or old test copies of the site
  3. Strong unique passwords and two-factor authentication on key accounts
  4. SSL working, with the site always loading on https
  5. Automatic backups stored off the server, tested recently
  6. Forms protected against spam
  7. Admin access limited to current team members

Run through this list every few months, or ask your developer to confirm each point in writing.

Let us look after your website security

Our hosting and website care service covers secure hosting, SSL, backups, updates and malware checks, so you can focus on your business. If your site has been hacked, request help and we'll get it clean and protected.