Home » SSL / HTTPS » No SSL Certificate: Add HTTPS to a Site That Only Works Over HTTP
No SSL Certificate: Add HTTPS to a Site That Only Works Over HTTP
If the address bar shows "Not secure" and the URL starts with http://, the site has no certificate, or has one that is not being used. Visitors see the warning, some browsers show a full-page alert, and forms on the page are flagged as unsafe. Adding HTTPS is now free and usually takes minutes.
If your site already has a certificate but HTTPS fails or shows an error, see HTTPS not working instead.
Step 1: check what exists today
Try loading https:// + your domain.
- Connection refused or times out: nothing listens on port 443. No certificate is set up.
- Certificate warning naming another domain (often the host's own): the server has HTTPS, but no certificate for your domain.
- Page loads fine over HTTPS: you have a certificate. You only need a redirect (Step 4).
Step 2: use the host's free certificate
Almost every host now offers free certificates, usually from Let's Encrypt:
| Platform | Where to find it |
|---|---|
| cPanel | SSL/TLS Status → Run AutoSSL |
| Plesk | Websites & Domains → SSL/TLS Certificates → Let's Encrypt |
| Managed WordPress hosts | Domain or SSL section, often a single toggle |
| Netlify, Vercel, GitHub Pages | Automatic once the custom domain's DNS points to them |
| Cloudflare | Edge certificate is automatic; also set SSL mode (see below) |
The certificate is issued only if the domain's DNS already points to that host, because the certificate authority checks control of the domain by contacting it. If issuance fails, confirm the A record first.
Step 3: on your own server, use Certbot
For a VPS running nginx or Apache, Certbot requests, installs and renews certificates:
sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d example.com -d www.example.com
Use python3-certbot-apache and --apache for Apache. Include every name visitors use, especially both the root and www. Certbot sets up automatic renewal; confirm with:
sudo certbot renew --dry-run
Step 4: redirect HTTP to HTTPS
A certificate alone does not move visitors. Add a permanent redirect.
Apache .htaccess:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
nginx:
server {
listen 80;
server_name example.com www.example.com;
return 301 https://$host$request_uri;
}
Many control panels and Cloudflare offer an "Always use HTTPS" switch that does the same. Use one method only; two competing redirects can cause a redirect loop.
Step 5: update the site's own URLs
- In WordPress, set both addresses under Settings → General to
https://. - Replace hard-coded
http://links to your own domain in content and theme files. - Load several pages and check for a padlock. A warning icon instead means mixed content.
- In Google Search Console, add the HTTPS version of the site and submit its sitemap.
Cloudflare users
With Cloudflare, set SSL/TLS mode to Full (strict) once the origin server has its own valid certificate. "Flexible" encrypts only half the journey and is a frequent cause of redirect loops.
Common mistakes
- Getting a certificate for
example.comonly, sowww.example.comshows an error. - Adding the redirect before the certificate works, which locks visitors out.
- Forgetting to update the WordPress site address, so the theme keeps loading HTTP assets.
- Installing a certificate manually and forgetting to renew it 90 days later.
Frequently Asked Questions
Do I need to pay for an SSL certificate?
No, for most websites. Free certificates from Let's Encrypt or your host give the same encryption as paid ones. Paid certificates add organisation validation, warranties or support, which most small sites do not need.
My site has no forms. Do I still need HTTPS?
Yes. Browsers label all HTTP pages as not secure, search engines prefer HTTPS, and many modern browser features only work over HTTPS. It also stops networks from altering pages in transit.
Will switching to HTTPS hurt my SEO?
Not if you redirect every HTTP URL to its HTTPS version with a 301. Search engines treat it as a move and transfer signals to the new addresses.
Found a mistake or still stuck? Contact us. See how we write and check these guides in our editorial policy, or read about DocumentGuy.