{"id":140,"date":"2021-10-07T17:31:18","date_gmt":"2021-10-07T08:31:18","guid":{"rendered":"https:\/\/software.satoshis.jp\/?p=140"},"modified":"2021-10-07T17:31:18","modified_gmt":"2021-10-07T08:31:18","slug":"wordpress%e3%81%aessl%e5%8c%96%e5%be%8c%e3%81%ab%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8f%e3%81%aa%e3%81%a3%e3%81%9f%e3%81%a8%e3%81%8d%e3%81%ae%e5%af%be%e5%87%a6","status":"publish","type":"post","link":"https:\/\/software.satoshis.jp\/?p=140","title":{"rendered":"WordPress\u306eSSL\u5316\u5f8c\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u3068\u304d\u306e\u5bfe\u51e6\u65b9\u6cd5"},"content":{"rendered":"<p>\u3000\u3064\u3044\u3055\u304d\u307b\u3069\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u3000\u3042\u308bWordPress\u306e\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3057\u305f\u3042\u3068\u306bSSL\u5316\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3000\u3059\u308b\u3068\u3001\u7ba1\u7406\u753b\u9762\u306b\u5165\u308c\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u3000WordPress\u753b\u9762\u306e\u30d8\u30c3\u30c0\u306b\u306f\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u3068\u304d\u306e\u30e1\u30cb\u30e5\u30fc\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u305f\u3051\u3069\u3001\u3053\u308c\u306f\u30ed\u30b0\u30a4\u30f3\u60c5\u5831\u304c\u30af\u30c3\u30ad\u30fc\u304b\u306a\u306b\u304b\u3067\u6b8b\u3063\u3066\u3044\u308b\u306e\u304c\u539f\u56e0\u3060\u308d\u3046\u3068\u601d\u3063\u3066\u3001\u30af\u30c3\u30ad\u30fc\u3092\u524a\u9664\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3002<\/p>\n<p>\u3000\u30af\u30c3\u30ad\u30fc\u3092\u524a\u9664\u3059\u308b\u306b\u306f\u3001Chrome\u306e\u8a2d\u5b9a\u304b\u3089\u3001\u300cCookie \u3068\u4ed6\u306e\u30b5\u30a4\u30c8\u30c7\u30fc\u30bf\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p>\u3000\u6b21\u306e\u753b\u9762\u3067\u300c\u3059\u3079\u3066\u306e Cookie \u3068\u30b5\u30a4\u30c8\u30c7\u30fc\u30bf\u3092\u8868\u793a\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p>\u3000\u53f3\u4e0a\u306e\u300cCookie\u3092\u691c\u7d22\u300d\u306e\u3068\u3053\u308d\u306b\u30b5\u30a4\u30c8\u306eURL\u3092\u5165\u529b\u3057\u307e\u3059\u3002URL\u306e\u4e00\u90e8\u3060\u3051\u3067\u3082\u3060\u3044\u3058\u3087\u3046\u3076\u3067\u3059\u3002<\/p>\n<p>\u3000\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30bf\u30eb\u30b5\u30fc\u30c1\u3067\u30b5\u30a4\u30c8\u304c\u7d5e\u308a\u8fbc\u307e\u308c\u307e\u3059\u306e\u3067\u3001\u3059\u3050\u306b\u898b\u3064\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3000\u8a72\u5f53\u306eURL\u306e\u53f3\u5074\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30b4\u30df\u7bb1\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u78ba\u8a8d\u3082\u306a\u304fCookie\u304c\u524a\u9664\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3000\u5f53\u8a72\u30b5\u30a4\u30c8\u3067\u518d\u8aad\u307f\u8fbc\u307f\u3059\u308b\u3068\u3001\u30d8\u30c3\u30c0\u30fc\u306e\u30e1\u30cb\u30e5\u30fc\u304c\u6d88\u3048\u3066\u3001\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u306a\u3044\u72b6\u614b\u306b\u306a\u3063\u305f\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3000\/wp-admin \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\/login_xxxxx?redirect_to=https%3A%2F%2F(\u30c9\u30e1\u30a4\u30f3\u540d)%2Fwp-login.php \u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u3001\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000\u3050\u3050\u3063\u3066\u89e3\u6c7a\u65b9\u6cd5\u3092\u63a2\u3057\u3066\u307f\u305f\u3068\u3053\u308d\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e wp_options \u30c6\u30fc\u30d6\u30eb\u306b siteurl \u3068 home \u306b \u30b5\u30a4\u30c8\u306eURL\u304c\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u3053\u3092\u66f8\u304d\u76f4\u305b\u3070\u3044\u3044\u307f\u305f\u3044\u306a\u611f\u3058\u3002<\/p>\n<p>\u3000\u66f8\u304d\u63db\u3048\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><code><br \/>\n# mysql -u root<br \/>\n> use databasename;<br \/>\n> select option_id, option_value from wp_options where option_value like '%http:\/\/%';<br \/>\n(\u691c\u7d22\u7d50\u679c)<br \/>\n> update wp_options set option_value = 'https:\/\/(\u30c9\u30e1\u30a4\u30f3\u540d)' where option_id < 3;\nQuery OK, 2 rows affected (0.002 sec)\nRows matched: 2  Changed: 2  Warnings: 0\n<\/code><\/p>\n<p>\u3000\u3053\u308c\u3067\u5fa9\u6d3b\u3059\u308b\u3068\u601d\u3063\u305f\u3089\u3001\u307e\u3060\u30c0\u30e1\u3067\u3057\u305f\u3002<\/p>\n<p>\u3000\u3055\u3089\u306b\u3050\u3050\u3063\u3066\u307f\u305f\u3089\u3001 wp-config.php \u3092\u66f8\u304d\u63db\u3048\u308c\u3070\u3044\u3044\u3068\u3044\u3046\u65b9\u6cd5\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u305d\u3061\u3089\u3082\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n\u3000wp-config.php \u306b\u3001\u4ee5\u4e0b\u306e\u5185\u5bb9\u3092\u66f8\u304d\u8db3\u3057\u307e\u3059\u3002<\/p>\n<p><code><br \/>\ndefine( 'WP_HOME', 'https:\/\/(\u30c9\u30e1\u30a4\u30f3\u540d)' );<br \/>\ndefine( 'WP_SITEURL', 'https:\/\/(\u30c9\u30e1\u30a4\u30f3\u540d)' );<br \/>\n<\/code><\/p>\n<p>\u3000\u7d50\u679c\u3001\u3053\u308c\u3067\u3082\u5fa9\u6d3b\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u3000\u3055\u3089\u306b\u3050\u3050\u3063\u3066\u307f\u305f\u3089\u3001.htaccess \u30d5\u30a1\u30a4\u30eb\u304c\u306a\u3093\u305f\u3089\u304b\u3093\u305f\u3089\u3002<\/p>\n<p>\u3000.htaccess \u30d5\u30a1\u30a4\u30eb\u3092\u898b\u305f\u3089\u3001SITEGUARD_RENAME_LOGIN_SETTING_START \u3068\u3044\u3046\u30b3\u30e1\u30f3\u30c8\u304c\u3002<\/p>\n<p>\u3000wp-login.php \u304c\u542b\u307e\u308c\u308b RewriteRule \u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3002<\/p>\n<p>\u3000\u305d\u3057\u3066\u3001SiteGuard\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30d5\u30a9\u30eb\u30c0\u3092\u30ea\u30cd\u30fc\u30e0\u3057\u3066\u3001\u4e00\u65e6\u306f\u52d5\u304b\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><code><br \/>\n#\u3000mv wp-content\/plugins\/siteguard wp-content\/plugins\/siteguardxx<br \/>\n<\/code><\/p>\n<p>\u3000\u3053\u308c\u3067\u30b5\u30a4\u30c8\u3092\u518d\u8aad\u8fbc\u3057\u3066\u3000\/wp-admin \u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3089\u3001\u7121\u4e8b\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u3000.htaccess \u306e\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3092\u5fa9\u6d3b\u3055\u305b\u3001SiteGuard\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30d5\u30a9\u30eb\u30c0\u540d\u3092\u623b\u3057\u3066\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u3064\u3044\u3055\u304d\u307b\u3069\u306e\u3053\u3068\u3067\u3059\u3002 \u3000\u3042\u308bWordPress\u306e\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3057\u305f\u3042\u3068\u306bSSL\u5316\u3057\u307e\u3057\u305f\u3002 \u3000\u3059\u308b\u3068\u3001\u7ba1\u7406\u753b\u9762\u306b\u5165\u308c\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002 \u3000WordPress\u753b\u9762\u306e\u30d8\u30c3\u30c0\u306b\u306f\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u3068 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":141,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[48,44,47,46,45],"class_list":["post-140","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-siteguard","tag-wordpress","tag-47","tag-46","tag-45"],"nelio_content":{"autoShareEndMode":"never","automationSources":{"useCustomSentences":false,"customSentences":[]},"efiAlt":"","efiUrl":"","followers":[1],"highlights":[],"isAutoShareEnabled":true,"networkImageIds":[],"permalinkQueryArgs":[],"series":[],"suggestedReferences":[]},"views":670,"_links":{"self":[{"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=140"}],"version-history":[{"count":1,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/140\/revisions"}],"predecessor-version":[{"id":142,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/140\/revisions\/142"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/media\/141"}],"wp:attachment":[{"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}