Enable SSL and switch your site to HTTPS
An SSL certificate encrypts traffic between your site and visitors and shows the padlock. Without it, browsers warn "Not secure", and Google prefers secure sites in search.

Activate the free certificate
- Make sure your domain points to the hosting. See point your domain to hosting.
- Log in to cPanel and open SSL/TLS Status.
- Select the domain and click Run AutoSSL.
- Wait a few minutes until a green check appears.
Force HTTPS
In cPanel → Domains, turn on Force HTTPS Redirect.
If that option is missing, add these rules at the top of .htaccess in public_html:
# .htaccess in public_html: send every visitor to https://
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
On WordPress: Settings → General, change the site address to https://.
"Mixed content" warnings
If the padlock shows a warning, some images or files still load over http://. Update those links to https.
On WordPress you can update every old link in one go:
# WordPress: replace old http:// links in the database (requires WP-CLI over SSH)
wp search-replace 'http://yourdomain.com' 'https://yourdomain.com' --skip-columns=guid
Was this article helpful?