Skip to content

How to Force an HTTPS Redirect on Your Kenyan Website

HTTPS redirect – modern urban scene in Cape Town, South Africa
Photo: Photograph by Mike Peel (www.mikepeel.net)., CC BY-SA 4.0, via Wikimedia Commons

Type your website address into a browser without the “https” — just the plain domain — and see what happens. If it loads normally without redirecting you to the secure version, you’ve got a problem that’s quietly costing you both security and search ranking.

An HTTPS redirect forces every visitor, and every search engine, to only ever see the secure version of your site. Without it, your website effectively exists in two versions at once — http:// and https:// — and that causes more trouble than most Kenyan business owners realize.

Why having both versions live is a problem

First, there’s the trust issue. Modern browsers like Chrome mark any page loaded over plain http:// as “Not Secure,” right in the address bar, next to your business name. A Kenyan customer about to enter their phone number or card details is going to notice that warning, and plenty will simply leave.

Advertisement

Second, there’s a technical SEO issue that’s easy to miss. If Google can access both http://yourbusiness.co.ke and https://yourbusiness.co.ke, and both load the same content without one redirecting to the other, search engines see it as duplicate content. Instead of all your ranking signals — backlinks, page authority, time on site — building up on one version, they get split between two, weakening both.

Third, if you’re running ads or sharing links on WhatsApp and social media, some of those links may have been generated with the non-secure prefix years ago. Without a proper redirect, every one of those old links sends visitors to the weaker version of your site instead of consolidating everything into one place.

Step 1: Confirm you actually have an SSL certificate

Before setting up any redirect, make sure your site has a valid SSL certificate installed — that’s what makes the https:// version possible at all. Most hosting providers, including plans through buydomainkenya.co.ke, include a free SSL certificate with hosting and can issue one in minutes through cPanel’s AutoSSL or a similar tool. If you’re not sure whether yours is active, check for the padlock icon next to your domain in the browser bar.

Step 2: Set up the redirect

Once SSL is active, you need to force traffic from http:// to https:// automatically. There are a few common ways to do this, depending on your setup:

Through cPanel

Most Kenyan hosting accounts run cPanel. Under the “Domains” section, there’s usually a toggle labelled “Force HTTPS Redirect.” Switching this on handles the redirect at the server level without needing to touch any code — this is the simplest option for most business owners.

Advertisement

Through WordPress

If you’re on WordPress, plugins like Really Simple SSL detect your certificate and configure the redirect automatically, including updating internal links that might still be pointing to the old http:// version.

Through .htaccess (for more technical setups)

If you prefer doing it manually, adding a redirect rule to your site’s .htaccess file works too, though this is best left to someone comfortable editing server files, since a mistake here can take your whole site offline.

Step 3: Update everything that still points to the old version

Forcing the redirect fixes new visits, but you should also go back and update:

  • Your Google Search Console property to the https:// version
  • Internal links within your own pages that were hardcoded with http://
  • Any ad campaigns or business listings — Google Business Profile, directories — still using the old link

This last step matters more than people expect. We’ve seen Kenyan business sites that set up the redirect correctly but kept sending Facebook ad traffic to an old http:// link for months, quietly adding an extra redirect hop that slowed down every single ad click.

How to check it worked

Open an incognito browser window and type your domain without any prefix at all — just yourbusiness.co.ke. It should land you on the https:// version automatically, with the padlock showing in the address bar. Test it from a phone too, since mobile browsers occasionally cache old redirect rules differently than desktop ones.

This is a small technical fix, but it touches security, trust, and search visibility all at once — worth the fifteen minutes it takes to sort out properly rather than leaving it to chance.

Advertisement
Advertisement

Leave a Reply

Your email address will not be published. Required fields are marked *

Chat now