Add HSTS in Zenphoto Updated on November 2, 2021 by InMotion Hosting Contributor 0 Minutes, 42 Seconds to Read The HTTP Strict Transport Security (HSTS) HTTP header ensures web browsers always load your image gallery with HTTPS. After you force SSL usage, follow below to add HSTS in Zenphoto. Warning: Once enabled, HSTS disallows the user from overriding an invalid or self-signed certificate message. Your website will be inaccessible without a valid SSL. Add HSTS Login to Zenphoto.Install the http_security_headers plugin in the Security category.Click the gear icon to change settings.Specify HSTS settings:Strict-Transport-Security: max-age – how long HSTS should be active in seconds before rechecking its statusStrict-Transport-Security – includeSubdomains – check to include subdomainsStrict-Transport-Security – preload – check to submit your domain to the preload listClick Apply at the bottom. Enable for 10886400 seconds (126 days) and on subdomains To better secure your image galleries, configure X-Frame-Options in Zenphoto and check out our managed VPS host. Share this Article InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles How to Fix the “550 No Such User Here” Email Error What is Node.js? How to Deploy Websites Generated by AI Builders on Your Server How to Use robots.txt Disallow to Block Crawlers and Protect Site Performance Content Security Policy (CSP) Headers – Complete Reference Guide Troubleshooting SSL Connection Errors: How to Fix HTTPS Issues How to Check and Repair a Database in phpMyAdmin 21 Reasons Your Website is Slow and How to Speed it Up Website Transfer Resources Ensure a Successful Website Transfer