JSM Force HTTP to HTTPS / SSL – No Setup, Fast and Reliable

Plugin Banner

JSM Force HTTP to HTTPS / SSL – No Setup, Fast and Reliable

by JS Morisset

Download
Description

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 connections. 😉

thank you!

By iqbalresources on October 24, 2023

for two days i'm a it headache with 'skip to main content' in front page. after looking around to find a fix, found the way to do it, by converting all http into https. but it's quite complex to find all the http inside the whole web. suddenly found this plugin, and thank god.. all http become https. thank you plugin's author.

Excellent Plugin

By Ken Haynes (KenHaynes_IT) on October 8, 2023

I use this plugin on all of my WordPress websites. I can't image not having it installed. No setup is required and it works flawlessly.

Simple, useful, plugin.

By ronca1 on August 15, 2021

Makes this easy as pie

Perfect!

By lanceblocker on January 29, 2021

I spent HOURS trying to make this happen, but a problem kept coming up... I had no idea what I was doing. AND everyone had a different redirect idea online. This plugin worked the magic quickly! Thanks! (I did have to restart Apache after installing the plugin for those using AWS Lightsail)

Solved my issue on Azure Web app service

By shadyshrif on May 7, 2020

Thanks for the prefect work

it worked I am shocked

By uninstall123 on March 25, 2020

I spent 20 hours with no sleep trying to make this SSL nonsense work and this little plugin did it in a click Honestly, I didn't believe it and checked the site on 2 other pcs

Worked perfectly and quickly.

By cterriffic on July 4, 2019

I couldn't believe I didn't have to do anything else besides install it, but it works perfectly. Thank you so much!

Excellent Plugin

By iggy1911 on May 20, 2019

In the split second changed all HTTP to HTTPS and increased speed ! I'd recommend this plugin. Thank you @jsmoriss 😉

Great Plugin

By susie.Q on November 19, 2018

Thank you so much for developing this plugin. It works great.

Excellent

By zigojacko on November 16, 2018

Spent on/off the last three days trying to get a WordPress website HSTS eligible which runs over the www sub domain and after constant messing about with umpteen configuration and https/www rewrites, nothing would work to pass HSTS preload checks for subdomains. Installed this plugin (handles all wildcard http >> https redirection), set the Strict-Transport-Security header in .htaccess and worked perfectly passing HSTS preload check for browser preload list submission. Life saver of a plugin!

Version Numbering

Version components: {major}.{minor}.{bugfix}[-{stage}.{level}]

  • {major} = Major structural code changes and/or incompatible API changes (ie. breaking changes).
  • {minor} = New functionality was added or improved in a backwards-compatible manner.
  • {bugfix} = Backwards-compatible bug fixes or small improvements.
  • {stage}.{level} = Pre-production release: dev < a (alpha) < b (beta) < rc (release candidate).

Repositories

Changelog / Release Notes

Version 3.5.0 (2024/09/28)

  • New Features
    • None.
  • Improvements
    • Improved PHP ‘HTTP_HOST’ and ‘REQUEST_URI’ server variable checks for command line execution.
  • Bugfixes
    • None.
  • Developer Notes
    • Updated JsmForceSsl::force_ssl_redirect() to use not empty() instead of isset().
  • Requires At Least
    • PHP v7.4.33.
    • WordPress v5.9.
Back to top