PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Ssl
  4. LH HSTS
LH HSTS icon

LH HSTS

HSTS is HTTP Strict Transport Security, a means to enforce using SSL even if the user accesses the site through HTTP and not HTTPS.

By shawfactor·Ssl·Free
3.9(7 reviews)
·600 active installs·Updated 5 years ago
DownloadVisit HomepageCompare

As of April 2026, LH HSTS is a WordPress ssl plugin with 600 active installations and a 3.9/5 rating from 7 reviews. It has been downloaded 350K+ times in total. Requires WordPress 3.0+ and PHP false+. Available on WordPress.org since 2016. Last updated 5 years ago — may have compatibility concerns. Top alternative: Cloudflare.

3.9/57 reviews
600active installs
350K+total downloads
10 yearssince 2016

Overview

This plugin send the proper headers for full ssl security. For more information on what this is and why it is important visit: http://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security

The options are preset to enable browsers to preload the HSTS directive but can be overwritten by filters which are clearly documented in the code.

Did you find this plugin helpful? Please consider writing a review.

To update the max-age settings, add the following code to your functions.php

add_filter('lh_hsts_max_age', 'modify_ls_hsts_max_age_func');

function modify_ls_hsts_max_age_func( $max_age ){
    return false;
}
    `

To update the subdomain settings, add the following code to your functions.php

add_filter(‘lh_hsts_subdomain’, ‘modify_ls_hsts_subdomain_func’);

function…

Read full description on WordPress.org

Ratings & Reviews

3.97 reviews
5 ★
5
4 ★
0
3 ★
0
2 ★
0
1 ★
2

Compatibility

WordPress3.0+ requiredTested up to 5.4.19
PHPfalse+ required

Top Alternatives to LH HSTS

Cloudflare icon
Cloudflare
3.5200K+ installsUpdated 3 months ago
ViewCompare
Flexible SSL for CloudFlare icon
Flexible SSL for CloudFlare
4.8100K+ installsUpdated 3 months ago
ViewCompare
Easy HTTPS Redirection (SSL) icon
Easy HTTPS Redirection (SSL)
4.2100K+ installsUpdated 1 week ago
ViewCompare
SSL Insecure Content Fixer icon
SSL Insecure Content Fixer
4.8100K+ installsUpdated 3 months ago
ViewCompare
WP Force SSL & HTTPS SSL Redirect icon
WP Force SSL & HTTPS SSL Redirect
4.790K+ installsUpdated 4 months ago
ViewCompare
View all ssl plugins →

Frequently Asked Questions

Changelog

1.00 – February 28, 2016

  • Initial release
View full changelog on WordPress.org

Contributors

AsithaAsithashawfactorshawfactor
Plugin Info
Version
1.25
Last Updated
Jul 12, 2020
WP Requires
3.0+
Tested Up To
5.4.19
PHP Requires
false+
Active Installs
600
Downloads
350K+
Added
Mar 2, 2016
Business
Free

Tags

sslhstshttpsredirectsecurity

Developer

S
shawfactor
90 plugins0.0M+ total installs
View all plugins →

Quick Compare

LH HSTS vs Cloudflare→LH HSTS vs Flexible SSL for CloudFlare→LH HSTS vs Easy HTTPS Redirection (SSL)→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.