diary

Website enabled HTTPS

The rule is
Listen 443

ServerName blog.isoyu.com, please change your domain name here. If there is only one website, you can delete this line.
DocumentRoot "C:/php/WWW0". Here is your website directory.
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite AESGCM:ALL:! DH:! EXPORT:! RC4:+HIGH:! MEDIUM:! LOW:! ANULL:! ENULL!
SSLCertificateFile "C:/php/ssl/2_blog.isoyu.com.crt", here is your certificate public key, usually about 2.01KB.
SSLCertificateKeyFile "C:/php/ssl/3_blog.isoyu.com.key", here is your certificate private key.
SSLCertificateChainFile "C:/php/ssl/1_root_bundle.crt", here is your certificate chain, usually about 1.88KB.

There are several sites that write several such pieces of code.

Pseudo static
301 jump

RewriteEngine On

RewriteBase /

RewriteCond%{REQUEST_FILENAME}! -f

RewriteCond%{REQUEST_FILENAME}! -d

RewriteRule ^ (. *) $index.php [L, E=PATH_INFO:$1]

RewriteCond%{SERVER_PORT} 80

RewriteRule ^ (. *) $https://blog.isoYu.com/$1 [R=301, L]

Database replacement
UPDATE wp_posts SET post_content = replace (post_content, 'old domain name', 'new domain name');

Fabulous ( One )

This article is composed of Ji Chang Xin Creation, article address: Https://blog.isoyu.com/archives/https.html
Use Knowledge sharing signature 4 The international license agreement is licensed. In addition to the reprint / provenance, all originals or translations of this site must be signed before retransmission. The final editing time is July, 7, 2017 at 09:46 afternoon.

Key word:

Hot articles

Commentary:

17 comments, visitors: 2, blogger: 0
    •  Autumn
      Autumn Published in:

      Are you there? Something urgent! Please hurry back to the mailbox!

      •  Ji Chang Xin
        Ji Chang Xin Published in:

        Back.

  1.  Zhao Li
    Zhao Li Published in:

    Um, useful.

  2.  Ji Chang Xin
    Ji Chang Xin Published in:

    UPDATE typecho_contents SET TEXT= replace (TEXT, 'http://blog.isoyu.com', 'https://blog.isoyu.com');

Comment

[required]

Invisibility?

Please wait three seconds after submission, so as not to cause unsuccessful successes and duplication.