Disable HSTS 0.1-alpha

Disable HSTS 0.1-alpha

Released Jul 12, 2018 by shelbalart

Adds HTTP response header in order to clear HSTS policy of the user's browser.

Download 13kb (7 downloads)
Downloads: 7
License: Apache License
Requires Revolution 2.0.x or greater
Supports mysql,sqlsrv

Adds HTTP response header in order to clear HSTS policy of the user's browser.

This might be necessary if you're migrating to a new hosting provider from the previous one which set up HSTS, and the new one does not allow to modify HTTP response headers via .htaccess.

This simple plugin just calls standard PHP function header() before MODX rendering a webpage in order to add the appropriate "Strict-Transport-Security: max-age=0; includeSubDomains; preload" HTTP header.

Installation Instructions