{"id":55765,"date":"2024-10-10T05:58:18","date_gmt":"2024-10-09T21:58:18","guid":{"rendered":"https:\/\/server.hk\/cnblog\/55765\/"},"modified":"2024-10-10T05:58:18","modified_gmt":"2024-10-09T21:58:18","slug":"wordpress-%e6%95%99%e7%a8%8b%ef%bc%9assl-%e7%9a%84%e5%b7%a5%e4%bd%9c%e5%8e%9f%e7%90%86%e5%8f%8a%e5%85%b6%e9%87%8d%e8%a6%81%e6%80%a7","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/55765\/","title":{"rendered":"WordPress \u6559\u7a0b\uff1aSSL \u7684\u5de5\u4f5c\u539f\u7406\u53ca\u5176\u91cd\u8981\u6027"},"content":{"rendered":"<h1 id=\"wordpress-%e6%95%99%e7%a8%8b%ef%bc%9assl-%e7%9a%84%e5%b7%a5%e4%bd%9c%e5%8e%9f%e7%90%86%e5%8f%8a%e5%85%b6%e9%87%8d%e8%a6%81%e6%80%a7-aXwaWCozzH\">WordPress \u6559\u7a0b\uff1aSSL \u7684\u5de5\u4f5c\u539f\u7406\u53ca\u5176\u91cd\u8981\u6027<\/h1>\n<p>\u5728\u7576\u4eca\u7684\u7db2\u7d61\u74b0\u5883\u4e2d\uff0c\u7db2\u7ad9\u5b89\u5168\u6027\u8b8a\u5f97\u8d8a\u4f86\u8d8a\u91cd\u8981\u3002\u7121\u8ad6\u662f\u500b\u4eba\u535a\u5ba2\u9084\u662f\u5546\u696d\u7db2\u7ad9\uff0c\u4fdd\u8b77\u7528\u6236\u6578\u64da\u548c\u96b1\u79c1\u90fd\u662f\u6bcf\u500b\u7db2\u7ad9\u64c1\u6709\u8005\u7684\u9996\u8981\u4efb\u52d9\u3002SSL\uff08\u5b89\u5168\u5957\u63a5\u5b57\u5c64\uff09\u8b49\u66f8\u662f\u5be6\u73fe\u9019\u4e00\u76ee\u6a19\u7684\u95dc\u9375\u5de5\u5177\u4e4b\u4e00\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eSSL\u7684\u5de5\u4f5c\u539f\u7406\u53ca\u5176\u5728WordPress\u7db2\u7ad9\u4e2d\u7684\u91cd\u8981\u6027\u3002<\/p>\n<h2 id=\"%e4%bb%80%e9%ba%bc%e6%98%afssl%ef%bc%9f-aXwaWCozzH\">\u4ec0\u9ebc\u662fSSL\uff1f<\/h2>\n<p>SSL\uff08Secure Sockets Layer\uff09\u662f\u4e00\u7a2e\u52a0\u5bc6\u5354\u8b70\uff0c\u7528\u65bc\u5728\u4e92\u806f\u7db2\u4e0a\u5b89\u5168\u5730\u50b3\u8f38\u6578\u64da\u3002\u5b83\u901a\u904e\u5728\u7528\u6236\u7684\u700f\u89bd\u5668\u548c\u7db2\u7ad9\u4e4b\u9593\u5efa\u7acb\u4e00\u500b\u5b89\u5168\u7684\u52a0\u5bc6\u9023\u63a5\uff0c\u4f86\u4fdd\u8b77\u6578\u64da\u7684\u50b3\u8f38\u904e\u7a0b\u3002\u7576\u7528\u6236\u8a2a\u554f\u4e00\u500b\u4f7f\u7528SSL\u7684\u7db2\u7ad9\u6642\uff0c\u7db2\u5740\u524d\u6703\u986f\u793a\u201chttps:\/\/\u201d\u800c\u975e\u201chttp:\/\/\u201d\uff0c\u9019\u8868\u793a\u8a72\u7db2\u7ad9\u5df2\u7d93\u555f\u7528\u4e86SSL\u8b49\u66f8\u3002<\/p>\n<h2 id=\"ssl%e7%9a%84%e5%b7%a5%e4%bd%9c%e5%8e%9f%e7%90%86-aXwaWCozzH\">SSL\u7684\u5de5\u4f5c\u539f\u7406<\/h2>\n<p>SSL\u7684\u5de5\u4f5c\u539f\u7406\u53ef\u4ee5\u5206\u70ba\u4ee5\u4e0b\u5e7e\u500b\u6b65\u9a5f\uff1a<\/p>\n<ol>\n<li><strong>\u5efa\u7acb\u9023\u63a5\uff1a<\/strong>\u7576\u7528\u6236\u7684\u700f\u89bd\u5668\u8acb\u6c42\u8207\u7db2\u7ad9\u7684\u9023\u63a5\u6642\uff0c\u7db2\u7ad9\u6703\u767c\u9001\u5176SSL\u8b49\u66f8\u7d66\u700f\u89bd\u5668\u3002<\/li>\n<li><strong>\u9a57\u8b49\u8b49\u66f8\uff1a<\/strong>\u700f\u89bd\u5668\u6703\u6aa2\u67e5\u8a72\u8b49\u66f8\u7684\u6709\u6548\u6027\uff0c\u5305\u62ec\u8b49\u66f8\u662f\u5426\u7531\u53d7\u4fe1\u4efb\u7684\u8b49\u66f8\u9812\u767c\u6a5f\u69cb\u7c3d\u767c\u3002<\/li>\n<li><strong>\u751f\u6210\u6703\u8a71\u5bc6\u9470\uff1a<\/strong>\u5982\u679c\u8b49\u66f8\u6709\u6548\uff0c\u700f\u89bd\u5668\u548c\u7db2\u7ad9\u6703\u751f\u6210\u4e00\u500b\u6703\u8a71\u5bc6\u9470\uff0c\u4e26\u4f7f\u7528\u8a72\u5bc6\u9470\u9032\u884c\u52a0\u5bc6\u901a\u4fe1\u3002<\/li>\n<li><strong>\u52a0\u5bc6\u6578\u64da\u50b3\u8f38\uff1a<\/strong>\u6240\u6709\u5728\u9019\u500b\u6703\u8a71\u4e2d\u50b3\u8f38\u7684\u6578\u64da\u90fd\u6703\u88ab\u52a0\u5bc6\uff0c\u5f9e\u800c\u4fdd\u8b77\u7528\u6236\u7684\u654f\u611f\u4fe1\u606f\uff0c\u5982\u767b\u9304\u6191\u8b49\u548c\u652f\u4ed8\u4fe1\u606f\u3002<\/li>\n<\/ol>\n<h2 id=\"ssl%e7%9a%84%e9%87%8d%e8%a6%81%e6%80%a7-aXwaWCozzH\">SSL\u7684\u91cd\u8981\u6027<\/h2>\n<p>SSL\u5c0d\u65bcWordPress\u7db2\u7ad9\u7684\u91cd\u8981\u6027\u4e0d\u5bb9\u5ffd\u8996\uff0c\u4e3b\u8981\u9ad4\u73fe\u5728\u4ee5\u4e0b\u5e7e\u500b\u65b9\u9762\uff1a<\/p>\n<h3 id=\"1-%e6%8f%90%e5%8d%87%e7%b6%b2%e7%ab%99%e5%ae%89%e5%85%a8%e6%80%a7-aXwaWCozzH\">1. \u63d0\u5347\u7db2\u7ad9\u5b89\u5168\u6027<\/h3>\n<p>SSL\u80fd\u6709\u6548\u9632\u6b62\u6578\u64da\u5728\u50b3\u8f38\u904e\u7a0b\u4e2d\u88ab\u7aca\u53d6\u6216\u7be1\u6539\uff0c\u7279\u5225\u662f\u5728\u7528\u6236\u63d0\u4ea4\u654f\u611f\u4fe1\u606f\uff08\u5982\u5bc6\u78bc\u548c\u4fe1\u7528\u5361\u865f\u78bc\uff09\u6642\uff0cSSL\u63d0\u4f9b\u4e86\u5fc5\u8981\u7684\u4fdd\u8b77\u3002<\/p>\n<h3 id=\"2-%e5%a2%9e%e5%bc%b7%e7%94%a8%e6%88%b6%e4%bf%a1%e4%bb%bb-aXwaWCozzH\">2. \u589e\u5f37\u7528\u6236\u4fe1\u4efb<\/h3>\n<p>\u7576\u7528\u6236\u770b\u5230\u7db2\u7ad9\u4f7f\u7528SSL\u6642\uff0c\u4ed6\u5011\u6703\u611f\u5230\u66f4\u5b89\u5168\uff0c\u9019\u6709\u52a9\u65bc\u63d0\u9ad8\u7528\u6236\u5c0d\u7db2\u7ad9\u7684\u4fe1\u4efb\u5ea6\u3002\u8a31\u591a\u7528\u6236\u5728\u9078\u64c7\u7db2\u7ad9\u6642\u6703\u512a\u5148\u8003\u616e\u662f\u5426\u6709SSL\u8b49\u66f8\u3002<\/p>\n<h3 id=\"3-%e6%94%b9%e5%96%84seo%e6%8e%92%e5%90%8d-aXwaWCozzH\">3. \u6539\u5584SEO\u6392\u540d<\/h3>\n<p>Google\u5df2\u7d93\u660e\u78ba\u8868\u793a\uff0c\u4f7f\u7528SSL\u7684\u7db2\u7ad9\u5728\u641c\u7d22\u5f15\u64ce\u6392\u540d\u4e2d\u6703\u7372\u5f97\u512a\u52e2\u3002\u9019\u610f\u5473\u8457\uff0c\u64c1\u6709SSL\u8b49\u66f8\u7684WordPress\u7db2\u7ad9\u66f4\u6709\u53ef\u80fd\u5728\u641c\u7d22\u7d50\u679c\u4e2d\u6392\u540d\u66f4\u9ad8\u3002<\/p>\n<h3 id=\"4-%e7%ac%a6%e5%90%88%e5%90%88%e8%a6%8f%e8%a6%81%e6%b1%82-aXwaWCozzH\">4. \u7b26\u5408\u5408\u898f\u8981\u6c42<\/h3>\n<p>\u8a31\u591a\u884c\u696d\u5c0d\u6578\u64da\u4fdd\u8b77\u6709\u56b4\u683c\u7684\u6cd5\u5f8b\u8981\u6c42\uff0c\u4f7f\u7528SSL\u53ef\u4ee5\u5e6b\u52a9\u7db2\u7ad9\u7b26\u5408\u9019\u4e9b\u5408\u898f\u8981\u6c42\uff0c\u907f\u514d\u6f5b\u5728\u7684\u6cd5\u5f8b\u98a8\u96aa\u3002<\/p>\n<h2 id=\"%e5%a6%82%e4%bd%95%e5%9c%a8wordpress%e4%b8%ad%e5%ae%89%e8%a3%9dssl%e8%ad%89%e6%9b%b8-aXwaWCozzH\">\u5982\u4f55\u5728WordPress\u4e2d\u5b89\u88ddSSL\u8b49\u66f8<\/h2>\n<p>\u5728WordPress\u4e2d\u5b89\u88ddSSL\u8b49\u66f8\u7684\u904e\u7a0b\u76f8\u5c0d\u7c21\u55ae\uff0c\u4ee5\u4e0b\u662f\u57fa\u672c\u6b65\u9a5f\uff1a<\/p>\n<ol>\n<li>\u9078\u64c7\u4e26\u8cfc\u8cb7SSL\u8b49\u66f8\uff0c\u8a31\u591a\u4e3b\u6a5f\u63d0\u4f9b\u5546\u90fd\u63d0\u4f9b\u6b64\u670d\u52d9\u3002<\/li>\n<li>\u6839\u64da\u4e3b\u6a5f\u63d0\u4f9b\u5546\u7684\u6307\u793a\u5b89\u88ddSSL\u8b49\u66f8\u3002<\/li>\n<li>\u5728WordPress\u5100\u8868\u677f\u4e2d\uff0c\u5b89\u88dd\u4e26\u555f\u7528\u4e00\u500bSSL\u63d2\u4ef6\uff0c\u5982Really Simple SSL\u3002<\/li>\n<li>\u66f4\u65b0\u7db2\u7ad9\u7684URL\uff0c\u5c07\u6240\u6709\u7684http:\/\/\u66f4\u6539\u70bahttps:\/\/\u3002<\/li>\n<\/ol>\n<h2 id=\"%e7%b8%bd%e7%b5%90-aXwaWCozzH\">\u7e3d\u7d50<\/h2>\n<p>SSL\u8b49\u66f8\u5728\u7576\u4eca\u7684\u7db2\u7d61\u74b0\u5883\u4e2d\u626e\u6f14\u8457\u81f3\u95dc\u91cd\u8981\u7684\u89d2\u8272\uff0c\u7121\u8ad6\u662f\u63d0\u5347\u7db2\u7ad9\u5b89\u5168\u6027\u3001\u589e\u5f37\u7528\u6236\u4fe1\u4efb\uff0c\u9084\u662f\u6539\u5584SEO\u6392\u540d\uff0c\u90fd\u662f\u6bcf\u500bWordPress\u7db2\u7ad9\u64c1\u6709\u8005\u5fc5\u9808\u8003\u616e\u7684\u56e0\u7d20\u3002\u5c0d\u65bc\u5e0c\u671b\u5728\u9999\u6e2f\u5e02\u5834\u4e0a\u5efa\u7acb\u7a69\u56fa\u7db2\u7d61\u5b58\u5728\u7684\u4f01\u696d\u4f86\u8aaa\uff0c\u9078\u64c7\u5408\u9069\u7684<a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a>\u6216<a href=\"https:\/\/server.hk\">\u9999\u6e2f\u4f3a\u670d\u5668<\/a>\u4f86\u652f\u6301SSL\u7684\u5b89\u88dd\u548c\u904b\u884c\uff0c\u5c07\u662f\u660e\u667a\u4e4b\u8209\u3002\u78ba\u4fdd\u60a8\u7684\u7db2\u7ad9\u5b89\u5168\uff0c\u8b93\u7528\u6236\u653e\u5fc3\u8a2a\u554f\uff0c\u9019\u5c07\u662f\u60a8\u6210\u529f\u7684\u95dc\u9375\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e86\u89e3SSL\u5728WordPress\u4e2d\u7684\u5de5\u4f5c\u539f\u7406\u53ca\u5176\u91cd\u8981\u6027\uff0c\u786e\u4fdd\u7f51\u7ad9\u5b89\u5168\u6027\u548c\u7528\u6237\u4fe1\u4efb\uff0c\u63d0\u5347\u641c\u7d22\u5f15\u64ce\u6392\u540d\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4925],"tags":[],"class_list":["post-55765","post","type-post","status-publish","format-standard","hentry","category-4925"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/55765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=55765"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/55765\/revisions"}],"predecessor-version":[{"id":55766,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/55765\/revisions\/55766"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=55765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=55765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=55765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}