Αυτό το πρόσθετο δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress. Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας με τις πιο πρόσφατες εκδόσεις του WordPress.

LH HSTS

Περιγραφή

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 modify_ls_hsts_subdomain_func( $subdomain ){
return false;
}
`

To update the preload setting, add the following code to your functions.php

add_filter('lh_hsts_preload', 'modify_ls_hsts_preload_func');

function modify_ls_hsts_preload_func( $preload ){
    return false;
}
    `

To update the redirect setting, add the following code to your functions.php

add_filter(‘lh_hsts_redirect’, ‘modify_ls_hsts_redirect_func’);

function modify_ls_hsts_redirect_func( $redirect ){
return false;
}
`

Εγκατάσταση

  1. Upload the entire lh-hsts folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Συχνές Ερωτήσεις

How do I change the behaviour of this plugin?

Through filters, all of which are commented in the code and will be documented below.

Κριτικές

23 Ιανουαρίου 2021 4 απαντήσεις
Not only does this not work – YOU CANNOT DISABLE OR REMOVE HSTS after this plugin! I can’t access my website anymore, because this ‘author’ made it impossible to remove or disable hsts – I disabled and removed the plugin, cleared cache, rebooted the server – HSTS is still on!!!!!!
21 Φεβρουαρίου 2019 1 απάντηση
It does what it says and its a simple process. I haven’t had any issues thus far. Great job Asitha & Shaw Factor
20 Μαρτίου 2018
Using with WordPress 4.9.4 and can verify the correct header is being set. Thanks!
26 Σεπτεμβρίου 2017
Nice work! i was facing problem and this plugin fix this issue for me ,Thank you! “Not Authorized to View This Page [CFN #0004]”
13 Φεβρουαρίου 2017
Works as advertised and can be configured via a manual edit of the code
3 Σεπτεμβρίου 2016 1 απάντηση
Did not add the Strict-Transport-Security header to my site..
Ανάγνωση όλων των 6 κριτικών

Συνεισφέροντες & Προγραμματιστές

“LH HSTS” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Σύνοψη αλλαγών

1.00 – February 28, 2016

  • Αρχική έκδοση

1.10 – March 28, 2016

  • Use correct domain

1.11 – April 02, 2017

  • Added class exists check

1.20 – May 11, 2017

  • Just made everything look pretty and structured

1.21 – May 24, 2017

  • Bug fix

1.22 – January 10, 2018

  • Singleton pattern

1.23 – March 04, 2018

  • Fixed fiulter name

1.24 – August 19, 2018

  • get_home_url and other minor stuff

1.25 – May 16, 2019

  • pprevent direct access to the php file, minor security, and compatibility bump