Forum Moderators: Robert Charlton & goodroi
Be HTTPs by October or Chrome will show "not secure" flag
All pages, whether you publish Adsense or not, must be secure. All pages, whether they have a Log In or not, must be secure. All pages, whether they accept payment or not, must be secure... so all pages.
Strict-Transport-Security "max-age=63072000"And if you have subdomains...Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"For Apache sites using an htaccess, it can be installed by adding this line:Header append Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" set - The response header is set, replacing any previous header with this name. The value may be a format string.source: [httpd.apache.org...]
append - The response header is appended to any existing header of the same name. When a new value is merged onto an existing header it is separated from the existing header with a comma. This is the HTTP standard way of giving a header multiple values.
Expect-CT is an HTTP header that allows sites to opt in to reporting and/or enforcement of Certificate Transparency requirements, which prevents the use of misissued certificates for that site from going unnoticed. When a site enables the Expect-CT header, they are requesting that Chrome check that any certificate for that site appears in public CT logs.Source: The Expect-CT header: [chromestatus.com...]
Header set Expect-CT "enforce; max-age=3600;" This is using a short time-span and omitting the optional CT log location since that needs to be determined. Header set Expect-CT "enforce; max-age=3600; reportUri: http://example.com/report;" RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} on
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] [edited by: not2easy at 6:43 am (utc) on Aug 27, 2017]
[edit reason] for readability use "example.com" [/edit]
It strikes me that I'd be better off rethinking how visitors get to contact me.
Switching to HTTPS is not difficult. It is not complicated. It is not time-consuming.
It strikes me that I'd be better off rethinking how visitors get to contact me.
Don't forget that if you switch to HTTPS, you'll also be able to enjoy HTTP/2 by the same occasion, we are in mid 2017, I don't know if there are still hosts not proposing it.I just finished checking a bunch of hosts and asking about this.
Most all Dedi, VPS, Colo
The problem lies is with Shared Hosting, which is a huge chunk of the web. These are servers that are often older & running OSs that will not support HTTP/2.
...make sure you have Apache >=2.4.17, Earlier version does not supports HTTP/2 protocol.[tecadmin.net...]
All the hosts I spoke with said basically the same thing, that Apache versions prior to 2.4 will not support HTTP/2