JSM’s Force HTTP to HTTPS

Version Information

  • Plugin Name: JSM's Force HTTP to HTTPS
  • Stable Version: 3.4.1
  • Author: JS Morisset
  • Description: No setup required - simply activate to force HTTP URLs to HTTPS using native WordPress filters and permanent redirects for best SEO.
  • License: GPLv3
  • Requires PHP: 7.2 or newer
  • Requires WordPress: 5.2 or newer
  • Tested Up To WordPress: 5.9.0
  • Last Updated: 1 day ago
  • Plugin Home Page »

A simple, safe, and reliable way to force HTTP URLs to HTTPS dynamically:

No setup required - simply activate the plugin to force HTTP URLs to HTTPS.

There are no plugin settings to adjust, and no changes are made to your WordPress configuration.

SIGNIFICANTLY FASTER than other popular plugins of this type:

Other well known plugins use PHP's output buffer to search & replace URLs in the rendered HTML, which is a technique that is error prone and negatively affects caching performance (as changes are not cached).

This plugin uses standard WordPress filters instead of PHP's output buffer for maximum reliability, performance, caching compatibility, and uses 301 permanent redirects for best SEO results (301 redirects are considered best for SEO when moving from HTTP to HTTPS).

Supports advanced proxy / load-balancing HTTP headers:

  • X-Forwarded-Proto (aka HTTP_X_FORWARDED_PROTO server value)
  • X-Forwarded-Ssl (aka HTTP_X_FORWARDED_SSL server value)

See Web technology for developers > HTTP > HTTP headers > X-Forwarded-Proto for more details.

Plugin Requirements

Your web server must already be configured with an SSL certificate and able to handle HTTPS request. ;-)