Redirect rules in Nginx

Use the following to redirect to https on nginx.

server {
listen 80;
server_name my-domain.com;
return 301 https://$server_name$request_uri;
}

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); } }); });