SSL Certificate and HTTPS in WordPress — Configuration, Enforcement, Mixed Content, and SEO Impact
Published: March 20, 2026 · Author: Marcin Szewczyk-Wilgan
HTTPS is not optional — it is the standard. In 2026, over 87% of websites use an SSL certificate, and over 98% of mobile requests occur over HTTPS. Google has used HTTPS as a ranking factor since 2014, and Chrome marks sites without SSL as “Not Secure.” Yet many WordPress sites still struggle with issues: misconfiguration, mixed content (mixed HTTP/HTTPS resources), missing redirects, and absent security headers. Starting March 2026, SSL certificate lifetime shortening to 200 days also takes effect — forcing renewal automation. In this article, we describe the full SSL/HTTPS configuration in WordPress: from certificate installation, through HTTPS enforcement and mixed content repair, to HSTS and SEO impact.
SSL Certificate — Types and Installation
An SSL certificate (Secure Sockets Layer) encrypts the connection between the user’s browser and the server. Without it, data — logins, forms, credit card data — is transmitted as plain text, readable by anyone intercepting network traffic.
Enforcing HTTPS in WordPress — Step by Step
Installing an SSL certificate on the server is just the beginning. WordPress must be configured to use HTTPS across the entire site — and all HTTP traffic must be redirected to HTTPS.
Mixed Content — The Most Common Problem After SSL Deployment
Mixed content occurs when a page loads over HTTPS, but some resources (images, scripts, CSS files, fonts) are fetched over unencrypted HTTP. The browser hides the padlock and displays a warning — negating the benefits of SSL.
Active mixed content
JavaScript and CSS files loaded over HTTP. Browsers block this type by default — scripts do not work, layout breaks. The most dangerous type: a malicious script injected through an unencrypted connection could hijack the page. Chrome blocks it entirely.
Passive mixed content
Images, videos, fonts loaded over HTTP. Browsers display a warning but usually do not block them. The padlock disappears from the address bar. Less dangerous, but still breaks user trust and affects security perception.
Why mixed content occurs
Hardcoded http:// URLs in the database (posts, options, meta fields). Themes and plugins with hardcoded HTTP. Resources from external sources loaded over HTTP. Content inserted before SSL migration — images, embedded videos, embeds.
How to fix mixed content
WP-CLI search-replace (most effective). Better Search Replace plugin. Content-Security-Policy: upgrade-insecure-requests header (safety net — browser automatically tries HTTPS). Check theme and plugins. Chrome DevTools → Console identifies exact URLs of problematic resources.
HSTS and Security Headers
A simple HTTP → HTTPS redirect is not enough — a user who types http:// in the browser still makes the first request without encryption. HSTS eliminates this gap.
SSL, HTTPS, and SEO
HTTPS is one of hundreds of Google ranking factors — but one of the easiest to implement. Here is how SSL affects search visibility:
Summary
SSL and HTTPS are the absolute minimum for security and professionalism in 2026. A free Let’s Encrypt certificate provides full encryption. Enforcing HTTPS requires WordPress configuration, 301 redirect, and database URL replacement. Mixed content is the most common post-deployment problem — solvable with search-replace and CSP headers. HSTS eliminates the last gap — the unencrypted first request. And starting March 2026, certificate lifetime shortening forces renewal automation — manual SSL management is a thing of the past.
At WebOptimo, SSL configuration, HTTPS enforcement, mixed content repair, and security header deployment are standard parts of every WordPress deployment and care plan. If your site lacks SSL, has mixed content issues, or needs a security audit — contact us or check our WordPress security and WordPress hosting offer.
Frequently Asked Questions About SSL and HTTPS in WordPress
Yes — absolutely. Chrome marks sites without SSL as “Not Secure.” Google uses HTTPS as a ranking factor. Over 87% of sites use SSL. A site without HTTPS loses trust, Google rankings, and violates data security.
Yes — same encryption level as paid certificates. Let’s Encrypt is a DV (Domain Validation) certificate. Paid OV/EV verify company identity — useful for banks, but not required for business sites and stores.
An HTTPS page loading resources (images, scripts) over HTTP. Fix: database URL replacement (WP-CLI search-replace), check theme and plugins, CSP upgrade-insecure-requests header as a safety net.
Change URLs to https:// in Settings → General. Add 301 redirect in .htaccess or Nginx. Replace URLs in the database. Optionally: enable HSTS.
Yes — HTTPS is a confirmed ranking factor since 2014. A site without SSL may rank lower. Chrome’s “Not Secure” warning increases bounce rate, indirectly affecting SEO.