{"id":50251,"date":"2019-12-13T15:26:56","date_gmt":"2019-12-13T20:26:56","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=50251"},"modified":"2021-11-02T12:22:09","modified_gmt":"2021-11-02T16:22:09","slug":"hsts-in-zenphoto","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/","title":{"rendered":"Add HSTS in Zenphoto"},"content":{"rendered":"<p>The <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/force-hsts-using-htaccess\/\">HTTP Strict Transport Security (HSTS)<\/a> HTTP header ensures web browsers always load your image gallery with HTTPS. After you <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/force-https-in-zenphoto\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"force SSL usage (opens in a new tab)\">force SSL usage<\/a>, follow below to add HSTS in Zenphoto.<\/p>\n\n\n\n<p class=\"alert alert-warning\">Warning: Once enabled, HSTS disallows the user from overriding an <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/self-signed-ssl-certificate-warning\/\">invalid or self-signed certificate message<\/a>. Your website will be inaccessible without a <a href=\"https:\/\/www.inmotionhosting.com\/support\/amp\/how-do-i-obtain-an-ssl-certificate\/\">valid SSL<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"hsts\">Add HSTS<\/h2>\n\n\n\n<ol class=\"article_list wp-block-list\"><li><a rel=\"noreferrer noopener\" aria-label=\"Login to Zenphoto (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/login-zenphoto\/\" target=\"_blank\">Login to Zenphoto<\/a>.<\/li><li><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/install-zenphoto-plugin\/\" target=\"_blank\">Install the <strong>http_security_headers<\/strong> plugin<\/a> in the <em>Security<\/em> category.<\/li><li>Click the gear icon to change settings.<\/li><li>Specify HSTS settings:<br><strong>Strict-Transport-Security: max-age<\/strong> \u2013 how long HSTS should be active in seconds before rechecking its status<br><strong>Strict-Transport-Security \u2013 includeSubdomains<\/strong> \u2013 check to include subdomains<br><strong>Strict-Transport-Security \u2013 preload<\/strong> \u2013 check to submit your domain to the <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/force-hsts-using-htaccess\/#preload\">preload list<\/a><\/li><li>Click <strong>Apply<\/strong> at the bottom.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"168\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts-1024x168.png\" alt=\"\" class=\"wp-image-50253\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts-1024x168.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts-300x49.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts-768x126.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts-1536x253.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts.png 1581w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><figcaption>Enable for <a href=\"https:\/\/duckduckgo.com\/?q=10886400+seconds+to+days&amp;ia=answer\">10886400 seconds (126 days)<\/a> and on subdomains<\/figcaption><\/figure>\n\n\n\n<p>To better secure your image galleries, configure <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/zenphoto-referrer-policy-and-x-frame-options\/\">X-Frame-Options in Zenphoto<\/a> and check out our <a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\">managed VPS host<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4288],"tags":[],"class_list":["post-50251","post","type-post","status-publish","format-standard","hentry","category-website"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Add HSTS in Zenphoto | InMotion Hosting<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add HSTS in Zenphoto | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"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 Read More &gt;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-13T20:26:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-02T16:22:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts-1024x168.png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Add HSTS in Zenphoto\",\"datePublished\":\"2019-12-13T20:26:56+00:00\",\"dateModified\":\"2021-11-02T16:22:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/\"},\"wordCount\":148,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts-1024x168.png\",\"articleSection\":[\"Website\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/\",\"name\":\"Add HSTS in Zenphoto | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts-1024x168.png\",\"datePublished\":\"2019-12-13T20:26:56+00:00\",\"dateModified\":\"2021-11-02T16:22:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts.png\",\"width\":1581,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add HSTS in Zenphoto\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add HSTS in Zenphoto | InMotion Hosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/","og_locale":"en_US","og_type":"article","og_title":"Add HSTS in Zenphoto | InMotion Hosting","og_description":"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 Read More >","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2019-12-13T20:26:56+00:00","article_modified_time":"2021-11-02T16:22:09+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts-1024x168.png","type":"","width":"","height":""}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Add HSTS in Zenphoto","datePublished":"2019-12-13T20:26:56+00:00","dateModified":"2021-11-02T16:22:09+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/"},"wordCount":148,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts-1024x168.png","articleSection":["Website"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/","name":"Add HSTS in Zenphoto | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts-1024x168.png","datePublished":"2019-12-13T20:26:56+00:00","dateModified":"2021-11-02T16:22:09+00:00","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2019\/12\/zenphoto-hsts.png","width":1581,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/hsts-in-zenphoto\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Add HSTS in Zenphoto"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/50251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=50251"}],"version-history":[{"count":8,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/50251\/revisions"}],"predecessor-version":[{"id":90868,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/50251\/revisions\/90868"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=50251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=50251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=50251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}