wordpress 2026-12-02 ⏱ 4 min read

How to Get Free SSL for WordPress

How to Get Free SSL for WordPress

Free SSL for WordPress comes from your host or a CDN. WordPress itself never issues a certificate; it only has to be told to use https. Do the steps in this order, because changing the site address before the certificate works can lock you out of the admin area.

If your site is on WordPress.com rather than self-hosted, https is handled for you. See SSL on WordPress.com vs self-hosted for the difference.

Step 1: get the free SSL certificate for WordPress at your host

Look in your hosting panel for SSL/TLS, Let's Encrypt or AutoSSL. Issue a certificate for the root domain and the www name. Our guide to free SSL vs hosting provider SSL explains what to expect from your host.

Step 2: Confirm https works before touching WordPress

Open https://yourdomain.com in a browser. The page may show a warning for mixed content, which is fine for now. A certificate error is not fine. Test the domain with the SSL checker and wait until the chain is valid.

Step 3: Change the two URLs

In the dashboard go to Settings → General and change both WordPress Address and Site Address to the https version. Save. You will be logged out and back in over https.

If you cannot reach the dashboard, set the values in wp-config.php instead:

define('WP_HOME', 'https://example.com');
define('WP_SITEURL', 'https://example.com');
define('FORCE_SSL_ADMIN', true);

Step 4: Redirect all traffic

Add a server-level redirect so every http request goes to https. On Apache hosting, put this in .htaccess above the WordPress block:

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

Step 5: Update old http links

Posts, widgets and theme options may still contain http:// links. Use WP-CLI for a safe search and replace, and run it with the dry-run flag first:

wp search-replace "http://example.com" "https://example.com" \
  --dry-run
wp search-replace "http://example.com" "https://example.com" \
  --skip-columns=guid

Take a database backup before the real run. Page builders store some URLs in serialised data, which WP-CLI handles correctly and a plain text replace does not.

Step 6: Fix anything still flagged

Browsers warn when one resource loads over http. Open developer tools, look at the Console and Network tabs, and find the offending file. Our mixed content guide for Elementor, Divi and WooCommerce covers the usual suspects.

Free SSL for WordPress: plugin or manual?

ApproachGood forWatch out for
Manual (steps above)Full control, no extra pluginMore steps, you run the replace
SSL pluginFast setup for beginnersAdds a plugin that rewrites output on every request

A plugin is fine if you want one click. If you use one, still keep the server-level redirect and plan to remove the plugin once your database is clean.

Checklist after launch

  • Padlock shows on the homepage, a post and the login page.
  • http:// redirects to https:// with a single 301.
  • Sitemap, canonical tags and Search Console property use https.
  • Certificate renewal is automatic at your host.

Once HTTPS is stable, consider security headers as a next step. Our security headers audit guide shows how to review HSTS and CSP. Enable HSTS only after you are certain every page works over https.

Multisite and subdomains

On a multisite network, every site and mapped domain needs to be covered by a certificate. Subdomain networks usually need a wildcard certificate or one certificate that lists each name. Domain-mapped sites need their own names added. Ask your host how it handles new sites, because some issue certificates automatically and others need a manual step each time you add one.

Troubleshooting the first hour

  • Padlock missing on one page only: that page loads an http resource. Find it in the Console.
  • Login loops back to itself: the cookie domain or the site URL does not match what you typed. Clear cookies and check both URLs.
  • Images missing in the media library: stored upload URLs still use http. Run the search and replace.
  • Certificate warning on www only: the certificate lacks that name. Reissue it with both names.

Keep a note of the date you made the change and the backup you took. If something unexpected shows up a week later, you will know exactly what changed.

Quick questions

Do I need to reinstall anything after switching?

No. The changes are settings and stored URLs only.

Related reading: free SSL on DreamHost and preventing misconfiguration.

Frequently Asked Questions

Do I need to reinstall anything after switching?

No. The changes are settings and stored URLs only.

Will my old http links break?

They redirect if you add the server rule. Stored URLs in posts still need the search and replace so images and links load directly over HTTPS.

Is a free certificate enough for a WooCommerce shop?

Yes for the connection. Card data still goes to your payment provider, and PCI rules cover how you handle it.

What if the padlock only appears on some pages?

Those pages load at least one http resource. Find it in the browser console and change it to https.

How does renewal work on WordPress?

Your host or CDN renews the certificate, not WordPress. Watch for a failed renewal after a host move, a DNS change or a new proxy, because those break validation.

🔒 Test Your Website SSL Certificate Now
Run Free SSL Check →

✅ Post-Installation Verification & SEO Checklist

After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:

  • Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
  • Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
  • Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
  • Confirm both root and www versions resolve cleanly to one canonical HTTPS URL.
  • Verify your HTTPS property and sitemap.xml inside Google Search Console and Bing Webmaster Tools.
Technically Reviewed by TryFreeSSL Security Team
Last updated: 2026-12-05
About Us →

Free SSL Certificates, Live SSL Checker & CSR Generator

Issue trusted Let's Encrypt SSL certificates in 60 seconds with zero server setup.

Related Articles

🤖 TryFreeSSL AI Assistant