Home Forums WoodMart support forum Adding HSTS header not working with theme

Adding HSTS header not working with theme

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #206601

    ToriTori38
    Participant

    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

    #206602

    Eric Watson
    Participant

    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

    #206653

    ToriTori38
    Participant

    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

    #206654

    Eric Watson
    Participant

    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

Viewing 4 posts - 1 through 4 (of 4 total)