Moving a Website from HTTP to HTTPS

Encrypt every request and consolidate the HTTP version into one secure canonical website.

2 min read

  • Article
  • Beginner
  • 2 minutes read
  • Reviewed August 4, 2026
  • WordPress maintenance and troubleshooting

Moving WordPress from HTTP to HTTPS encrypts network traffic and consolidates the website on a secure protocol.

It requires more than installing a certificate.

Install and Test the Certificate

The certificate must cover every public hostname and renew reliably.

Test the HTTPS site before forcing redirects.

Update WordPress URLs

Change WordPress Address and Site Address to the intended HTTPS URLs.

Confirm login, administration, REST API, cron and media behavior.

Replace Internal HTTP References

Review content, widgets, theme settings, custom fields, CSS, scripts, menus and plugin data.

Use serialization-aware replacement where database values need updating.

Add Redirects

Redirect every HTTP path to its HTTPS equivalent.

Avoid redirect chains through alternate hostnames or old domains.

Mixed Content

Browsers can block or warn about HTTP images, scripts, styles, fonts and frames loaded by an HTTPS page.

Inspect browser console and network requests across representative templates.

Reverse Proxies and CDNs

When TLS terminates at a proxy, WordPress must detect the original secure request correctly.

Incorrect proxy headers can cause redirect loops, wrong cookies and HTTP canonical output.

HSTS

HTTP Strict Transport Security can tell browsers to use HTTPS automatically.

Enable it only after certificates, subdomains and redirects are proven, because long policies are difficult to reverse quickly.

Frequently Asked Questions

Does HTTPS require changing the domain?

No. It changes the protocol for the same hostname.

Can a plugin fix every mixed-content source?

It can help rewrite output, but permanent stored URLs and external resources should be corrected at their source.

Continue Learning

Previous: Changing a WordPress Domain Safely

Next: Restoring WordPress from a Backup