Good news: if your site is hosted with a cPanel account, you likely already have an SSL certificate installed. Every SA Webhosts hosting package includes a free SSL certificate, issued and renewed automatically via AutoSSL, at no extra cost or setup on your end.

But having a certificate installed isn't the same as having a secure site. Unless you explicitly force it, your WordPress site will happily load over both https://yoursite.co.za and the unencrypted http://yoursite.co.za — and browsers, search engines, and visitors will all treat those as two different, inconsistent versions of your site.

Here's how to close that gap and make sure your site only ever opens with the https:// prefix.

1. Update Your WordPress Address Settings

Start inside WordPress itself:

This tells WordPress to generate its internal links, stylesheets, and scripts using HTTPS by default. It's a necessary step, but on its own it won't stop someone from typing the http:// version and loading an unencrypted page — you still need a redirect to catch that.

2. Force HTTPS via .htaccess (Most Common on cPanel/Apache)

Since cPanel hosting runs on Apache, this is the most reliable and lightweight way to force HTTPS. Add the following to the very top of your .htaccess file, found in your WordPress root directory and accessible via cPanel's File Manager:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

A few tips:

This method is fast because the redirect happens at the server level, before WordPress even has to load.

3. Force HTTPS with a Plugin

If you'd rather not touch .htaccess directly, a plugin will do the same job through the WordPress dashboard:

This is the easiest route if you're not comfortable editing server files, though it adds a small amount of overhead since WordPress has to load before the plugin can redirect.

4. Fix Mixed Content Warnings

Once HTTPS is being forced, check for "mixed content" warnings — these happen when old posts, widgets, or theme files still reference images or scripts using hardcoded http:// links, even though the page itself now loads securely.

Which Method Should You Use?

For most cPanel-hosted WordPress sites — including SA Webhosts packages — the combination of updating your WordPress address settings and adding the .htaccess redirect is all you need: it's fast, doesn't rely on a plugin, and enforces HTTPS at the server level before WordPress even loads. If you'd rather manage it entirely from the WordPress dashboard without editing server files, a plugin achieves the same result with a bit less setup.

Either way, once it's in place, your site will only ever open with the https:// prefix — no mixed versions, no unencrypted pages, and no manual redirect to remember.

Not sure whether your certificate is active, or want a hand setting up the redirect? Get in touch and we'll sort it out for you.