Redirect from http to https

August 2018 Due to Chrome modification, The http connection is now displayed as "Insecure connection".

I managed to find out if this site could be changed for free, and finally I was able to change it.

Improvement maintenance is required so as not to give customers anxiety.

What I went to

  • Server: Name.com shared rental server Check SSL options
    • I used the free original SSL function.
  • Management software: Wordpress "general settings" change

Related images

  • [.htaccess] Change additional script
    • To do it for free, you need to change some contents and create it yourself.SimilarlySame siteSo I created the configuration script and filed it in the root by FTP.
      • Image search results for "http https redirect"
RewriteEngine on RewriteCond% {HTTPS} off RewriteRule ^ (. *) $ Https://kagiya-moriokaben.jp/$1 [R=301,L]

These three changes.

 

I was worried that it would work properly in each case, but I am relieved to be able to confirm that it is operating normally by following the description.

I misspelled my site in the .htaccess content, so I got a connection error.

It is "DNS_PROBE_FINISHED_NXDOMAIN".

I cleared the DNS cache, but it didn't improve.After all, clearing the Chrome browser cache also improved this.

Free SSL server certificates are also available.You can also use this.

Unique SSL/SSL server certificate installation price comparison | Onamae.com rental server

Onamae.com rental server comes standard with an SSL server certificate free of charge. We also offer a wide range of products depending on the certification level. After comparing prices and charges, you can easily...

In the case of our store, we chose the original ALPHASSL function option, so duplicate use is not possible.

alphassl

So, I took the above method and set it myself.

Oh my god, I'm relieved that the message "Secure connection" is displayed.

 

However, it does not immediately become a "key mark".The display is as shown below.

Image search results for "key mark HTTPS"

For linked images etc., you need to find the script and change it to "https".Only this is manual.

From Chrome86 it seems to be as above.