JSM’s Force HTTP to HTTPS

FYI

  • Plugin Name: JSM's Force HTTP to HTTPS
  • Stable Version: 3.1.0
  • Author: JS Morisset
  • Description: No setup required - force HTTP URLs to HTTPS using WordPress filters for speed and reliability, with 301 redirects for best SEO.
  • License: GPLv3
  • Requires At Least: WordPress 3.9
  • Tested Up To: WordPress 5.2.4
  • Last Updated: 1 day ago
  • Plugin Homepage »

A simple, fast, and effective way to force HTTP URLs to HTTPS dynamically.

Significantly different than other plugins of this type (in the best way):

Other plugins of this type use PHP's output buffer to search and replace URLs within the webpage document - using PHP's output filter is error prone and much slower than hooking native WordPress filters with permanent 301 redirects (which are considered best for SEO when moving from HTTP to HTTPS).

Checks for and honors proxy / load-balancing variables:

  • HTTP_X_FORWARDED_PROTO
  • HTTP_X_FORWARDED_SSL

Requirements:

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

Simply activate the plugin and you're done:

There are no plugin settings to adjust, and no changes are made to your WordPress configuration — simply activate or deactivate the plugin to enable / disable the filters and dynamic redirects.