Conversation
supportTrying to add the following to the top of the htaccess file and getting a syntax error when I test before saving. Are Headers not editable in the plugin? # Really Simple SSL Header always set Strict-Transport-Security: "max-age=31536000" env=HTTPS # End Really Simple SSL
Htaccess editor doesn’t restrict what you can add to the .htaccess file. Headers, redirect code, blocking an IP – it’s all the same for the plugin 🙂 As for the code you’re adding I’d try this: <IfModule mod_headers.c> Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" env=HTTPS </IfModule> If you have a minute, please leave a review. It’s what keeps support going. Thank you 🙏 https://wordpress.org/support/plugin/wp-htaccess-editor/reviews/#new-post
Htaccess editor doesn’t restrict what you can add to the .htaccess file. Headers, redirect code, blocking an IP – it’s all the same for the plugin 🙂 As for the code you’re adding I’d try this: <IfModule mod_headers.c> Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" env=HTTPS </IfModule> If you have a minute, please leave a review. It’s what keeps support going. Thank you 🙏 https://wordpress.org/support/plugin/wp-htaccess-editor/reviews/#new-post