wordpress 2026-12-02 ⏱ 4 min read

How to Get Free SSL for WooCommerce

How to Get Free SSL for WooCommerce

WooCommerce stores collect passwords, addresses and payment details, and most payment gateways require https. A free domain-validated certificate is enough to encrypt that traffic. The work is the same as for any WordPress site, with extra testing on the cart and checkout.

Free SSL for WooCommerce, step 1: the certificate

Issue a certificate for the root and www names in your hosting panel. If your plan does not include one, compare your options in free SSL vs hosting provider SSL. Verify the result with the SSL checker.

Step 2: Take a backup, and pause orders if you can

Take a database and file backup. For a busy shop, pick a quiet hour. Changing URLs while customers check out can drop sessions.

Step 3: Switch the site URLs and redirect

In Settings → General set both addresses to https. Then add a server redirect:

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

Force the admin too with define('FORCE_SSL_ADMIN', true); in wp-config.php.

Step 4: Update stored content and product images

Product galleries and descriptions often contain http image links. Run a dry run first, then the real replacement:

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

Builder and template cases are in our mixed content guide.

Free SSL for WooCommerce, step 5: gateways and webhooks

Payment plugins store callback URLs. Open each gateway's settings and re-save them so the notification address uses https. Some gateways keep the address in their own dashboard, so check there too. Never assume a gateway will follow a redirect for webhooks. Many do not. Check the current gateway docs for what they require.

ItemWhereWhat to check
Checkout pageCart then checkoutPadlock, no console warnings
Payment gatewayGateway settings and vendor dashboardCallback URLs use https
EmailsOrder email linksLinks use https
CachingCache plugin exclusionsCart, checkout and account pages are not cached
WebhooksWooCommerce → Settings → AdvancedDelivery URLs use https

Step 6: Place a test order

  1. Add a product to the cart in a private window.
  2. Go through checkout with a test mode gateway or a low value order you can refund.
  3. Confirm you receive the order email and the status updates.
  4. Check the browser Console on cart and checkout for blocked content.

Common WooCommerce-specific problems

  • Cart empties after the switch: clear cookies and caches. Sessions tied to the old scheme are lost.
  • Gateway shows "insecure": the gateway script or iframe uses http. Update the plugin.
  • Checkout loops: a CDN forwards http to the origin. Fix the forwarded protocol as in the reverse proxy SSL guide.

Afterwards

Update Search Console, your product feeds and any marketplace listings to https. Once the shop has run cleanly for a while, review headers with the security headers guide. If you outgrow domain validation and want organisation details in the certificate, read when to upgrade to paid SSL.

Caching and performance

Cart, checkout and account pages must not be served from a page cache, because they contain personal data. Check the exclusion list in your cache plugin and at your CDN. After the switch to https, purge everything once. Stale http copies of product pages are a common cause of warnings that only some visitors see.

Email and external services

Order emails are built from your site address, so they will use https once the URLs are updated. Services that call your store, such as shipping and accounting integrations, may keep an old http address in their own settings. Open each one and update the store URL. Test one real order through each integration before you consider the move finished.

Related reading: the best certificate for WooCommerce, fixing mixed content warnings and free SSL for WordPress.

Frequently Asked Questions

Will changing to https hurt my rankings?

A clean move with a single 301 from each http URL normally keeps ranking signals. Avoid redirect chains and keep the redirects in place.

Do I need a paid certificate for card payments?

Gateways require https, not a particular certificate type. A free domain-validated certificate is typically accepted, but check your gateway's current requirements.

Will switching to HTTPS break my WooCommerce orders?

Not if the URLs and the stored links move together. The breakage comes from a payment gateway callback or a webhook still pointed at http, which is why the checkout test matters.

🔒 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