Adding HSTS header not working with theme
-
Hello,
I would like to add an HSTS header to my site via the .htaccess file, but my site does not load well if I add this (it loads, but not smoothly)…. Is this an issue with the theme?
Example of HSTS header:
Header set Strict-Transport-Security “max-age=31536000” env=HTTPS
Hello,
Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?
Regards
Sorry Eric. I located it down to an issue with the theme and WP Rocket configuration. So it’s a WP Rocket configuration change which was needed. Thanks
Great, we are glad that you have found the solution. Feel free to open a new topic if you are in need of help or assistance.
Kind Regards
XTemos Studio