{"id":9639,"date":"2018-08-21T11:13:24","date_gmt":"2018-08-21T02:13:24","guid":{"rendered":"https:\/\/www.itblog.jp\/?p=9639"},"modified":"2018-08-21T11:13:24","modified_gmt":"2018-08-21T02:13:24","slug":"wordpressssl%e5%8c%96%e5%be%8c%e3%81%ae%e7%ae%a1%e7%90%86%e7%94%bb%e9%9d%a2%e3%81%ae%e3%83%aa%e3%83%80%e3%82%a4%e3%83%ac%e3%82%af%e3%83%88%e3%83%ab%e3%83%bc%e3%83%97%e3%81%ae%e5%af%be%e5%87%a6","status":"publish","type":"post","link":"https:\/\/www.itblog.jp\/?p=9639","title":{"rendered":"WordPressSSL\u5316\u5f8c\u306e\u7ba1\u7406\u753b\u9762\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30d7\u306e\u5bfe\u51e6\u6cd5"},"content":{"rendered":"<p>WordPress\u306e\u30b5\u30a4\u30c8URL\u3092HTTP\u304b\u3089HTTPS\u306b\u5909\u66f4\u3057\u305f\u5f8c\u306b\u7ba1\u7406\u753b\u9762\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068\u3001500\u30a8\u30e9\u30fc\u3067\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30d7\u304c\u767a\u751f\u3057\u3066\u3044\u308b\u3068\u8868\u793a\u3055\u308c\u3001\u7ba1\u7406\u753b\u9762\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u3001\u5bfe\u51e6\u3057\u305f\u65b9\u6cd5\u306e\u30e1\u30e2\u3067\u3059<\/p>\n<h2>wp-config.php\u306b\u4ee5\u4e0b\u3092\u8ffd\u8a18<\/h2>\n<p>wp-config.php\u306b\u4ee5\u4e0b\u306e\u7b87\u6240\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \" >\/*\u3000\u3053\u3053\u304b\u3089\u8ffd\u8a18 *\/\r\nif ( ! empty( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) &amp;&amp; $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https' ) {\r\n\t$_SERVER['HTTPS']='on';\r\n}\r\n\/* \u3053\u3053\u307e\u3067\u8ffd\u8a18 *\/\r\n\r\n\/* \u7de8\u96c6\u304c\u5fc5\u8981\u306a\u306e\u306f\u3053\u3053\u307e\u3067\u3067\u3059 ! WordPress \u3067\u30d6\u30ed\u30b0\u3092\u304a\u697d\u3057\u307f\u304f\u3060\u3055\u3044\u3002 *\/\r\n\r\n\/** Absolute path to the WordPress directory. *\/\r\nif ( !defined('ABSPATH') )\r\n\tdefine('ABSPATH', dirname(__FILE__) . '\/');\r\n\r\n\/** Sets up WordPress vars and included files. *\/\r\nrequire_once(ABSPATH . 'wp-settings.php');\r\n<\/pre>\n<p>\u8ffd\u8a18\u3059\u308b\u7b87\u6240\u304c\u30dd\u30a4\u30f3\u30c8\u3067\u3001wp-settings.php\u3092\u8aad\u307f\u8fbc\u3080\u524d\u306b\u8a18\u8ff0\u3057\u306a\u3044\u3068\u3001\u7ba1\u7406\u753b\u9762\u306b\u30ed\u30b0\u30a4\u30f3\u5f8c\u306b\u300c\u3053\u306e\u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u6a29\u9650\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u300d\u3068\u8868\u793a\u3055\u308c\u3066\u5225\u306e\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>wp-config.php\u306e\u672b\u5c3e\u306b\u8ffd\u8a18\u3057\u3066\u3057\u307e\u3046\u3068\u4e0a\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u305f\u306e\u3067\u3001\u8a18\u8ff0\u4f4d\u7f6e\u306b\u306f\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u306e\u30b5\u30a4\u30c8URL\u3092HTTP\u304b\u3089HTTPS\u306b\u5909\u66f4\u3057\u305f\u5f8c\u306b\u7ba1\u7406\u753b\u9762\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068\u3001500\u30a8\u30e9\u30fc\u3067\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30d7\u304c\u767a\u751f\u3057\u3066\u3044\u308b\u3068\u8868\u793a\u3055\u308c\u3001\u7ba1\u7406\u753b\u9762\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002 \u4ee5\u4e0b\u306f\u3001\u5bfe\u51e6\u3057\u305f\u65b9\u6cd5\u306e\u30e1\u30e2 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[136,131],"tags":[],"class_list":["post-9639","post","type-post","status-publish","format-standard","hentry","category-wordpress","category-131"],"_links":{"self":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9639"}],"version-history":[{"count":0,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9639\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}