Inserting HSTS header using PHP

HSTS Header insertion

Really Simple SSL Pro has the ability to set the HSTS header for your website. From version 6 and up this is done in PHP so there is no need to edit server config files like htaccess or nginx.conf anymore

Simple and Performant Security.
Easily improve site security with WordPress Hardening, Two-Factor Authentication (2FA), Login Protection, Vulnerability Detection and SSL certificate generation.
document.addEventListener('DOMContentLoaded', function() { /* ========================================================================== Post Info Labels - WCAG 1.3.1 Info and Relationships Adds context for screen readers (author, date, time) ========================================================================== */ document.querySelectorAll('.elementor-post-info__item--type-author').forEach(function(el) { var name = el.textContent.trim(); var parent = el.closest('a') || el.closest('li'); if (parent && name) { parent.setAttribute('aria-label', 'Author: ' + name); } }); document.querySelectorAll('.elementor-post-info__item--type-date').forEach(function(el) { var date = el.textContent.trim(); var parent = el.closest('li'); if (parent && date) { parent.setAttribute('aria-label', 'Published: ' + date); } }); document.querySelectorAll('.elementor-post-info__item--type-time').forEach(function(el) { var time = el.textContent.trim(); var parent = el.closest('li'); if (parent && time) { parent.setAttribute('aria-label', 'Time: ' + time); } }); });