HTTPS + SSL for SEO

HTTPS encrypts traffic between your visitors and your site. Google treats it as a light ranking signal, browsers flag non-HTTPS as insecure, and users bounce. In 2026, HTTP-only sites are nearly extinct outside legacy systems.

Why HTTPS matters

How to get HTTPS

Free via Let's Encrypt. Most modern hosts (Cloudflare, Netlify, Vercel, AWS) ship HTTPS by default. For legacy hosts without built-in support, use Certbot to generate free certificates.

The HTTP → HTTPS migration

  1. Install certificate on the server
  2. Test HTTPS works correctly (no mixed content warnings)
  3. 301 redirect all HTTP URLs to HTTPS at the server level
  4. Update internal links to HTTPS
  5. Update canonical tags to HTTPS
  6. Update sitemap URLs to HTTPS
  7. Add new HTTPS property in Google Search Console (GSC treats HTTP and HTTPS as different properties)
  8. Submit HTTPS sitemap to GSC
  9. Update robots.txt (if hardcoded to HTTP)
  10. Monitor rankings for a few weeks, minor fluctuations are normal

Mixed content

When an HTTPS page loads resources (images, scripts) over HTTP, browsers block or warn about "mixed content." Fix by updating all asset URLs to HTTPS or to protocol-relative URLs (//example.com/image.jpg).

HSTS (HTTP Strict Transport Security)

An HTTP header that tells browsers to always use HTTPS for your domain, even if a user types http://. Prevents downgrade attacks.

Strict-Transport-Security: max-age=31536000; includeSubDomains

Set it once HTTPS is stable. The max-age is how long browsers remember (1 year here).

Certificate types

Renewal

Let's Encrypt certificates expire every 90 days. Automate renewal (Certbot, most hosting providers do this). An expired cert = site instantly flagged as insecure.

Common mistakes

SSL Labs test

ssllabs.com/ssltest, grades your HTTPS setup. Aim for A or A+. A "B" grade usually means deprecated protocols or ciphers enabled.