{"id":2034,"date":"2018-08-08T17:49:07","date_gmt":"2018-08-08T08:49:07","guid":{"rendered":"https:\/\/xn--w8jyfva.jp\/box\/?p=2034"},"modified":"2018-10-06T03:01:07","modified_gmt":"2018-10-05T18:01:07","slug":"redirect","status":"publish","type":"post","link":"https:\/\/xn--w8jyfva.jp\/box\/redirect\/","title":{"rendered":"\u3010.htaccess\u3011\u7c21\u5358\u306bhttp\u3092https\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u305b\u308b\u30b7\u30f3\u30d7\u30eb\u306a\u30b3\u30fc\u30c9"},"content":{"rendered":"<p>\u305b\u3063\u304b\u304fSSL\u5316\u3057\u305f\u306e\u306bhttp\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u3066\u3057\u307e\u3046\u306e\u306f\u3088\u304f\u306a\u3044\u3002<\/p>\n<p>\u3042\u3068\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306fhttps\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u308b\u306e\u306b\u3001\u500b\u5225\u8a18\u4e8b\u3084\u30ab\u30c6\u30b4\u30ea\u30fc\u30da\u30fc\u30b8\u306a\u3069\u4e0b\u5c64\u30da\u30fc\u30b8\u306fhttp\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u3066\u3057\u307e\u3063\u305f\u308a\u3059\u308b\u3002<\/p>\n<p>\u305d\u3046\u306a\u3063\u3066\u3057\u307e\u308f\u306a\u3044\u3088\u3046\u306b\u3001.htaccess\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067http\u304c\u5168\u3066https\u306b301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n# BEGIN https redirect\r\n&lt;IfModule mod_rewrite.c&gt;\r\nRewriteEngine On\r\nRewriteCond %{HTTPS} off\r\nRewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}%{REQUEST_URI} &#x5B;R=301,L]\r\n&lt;\/IfModule&gt;\r\n# END https redirect\r\n<\/pre>\n<h2>.htaccess\u306e\u3069\u3053\u306b\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u304b<\/h2>\n<p>\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u5834\u6240\u3082\u5927\u5207\u3002<\/p>\n<p>WordPress\u3067php\u3084css\u3092\u89e6\u3063\u3066\u3044\u308b\u3068\u30b3\u30fc\u30c9\u3092\u4e0b\u306b\u66f8\u3044\u305f\u65b9\u304c\u3044\u3044\u6c17\u304c\u3059\u308b\u3051\u3069\u3001.htaccess\u306e\u5834\u5408\u306f\u4e0a\u306b\u66f8\u3044\u305f\u30b3\u30fc\u30c9\u304c\u512a\u5148\u3055\u308c\u308b\u3002<\/p>\n<p>\u5177\u4f53\u7684\u306a\u5834\u6240\u3067\u8a00\u3046\u3068\u3001WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u81ea\u52d5\u7684\u306b\u8a18\u8f09\u3055\u308c\u308b\u300c#BEGIN WordPress\u300d\u304b\u3089\u59cb\u307e\u308b\u30b3\u30fc\u30c9\u306e\u4e0a\u306b\u66f8\u3044\u3066\u304a\u3051\u3070\u5927\u4e08\u592b\u3002<\/p>\n<p>\u3064\u307e\u308a\u3053\u3093\u306a\u611f\u3058\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n# BEGIN https redirect\r\n&lt;IfModule mod_rewrite.c&gt;\r\nRewriteEngine On\r\nRewriteCond %{HTTPS} off\r\nRewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}%{REQUEST_URI} &#x5B;R=301,L]\r\n&lt;\/IfModule&gt;\r\n# END https redirect\r\n\r\n# BEGIN WordPress\r\n&lt;IfModule mod_rewrite.c&gt;\r\nRewriteEngine On\r\nRewriteBase \/\r\nRewriteRule ^index\\.php$ - &#x5B;L]\r\nRewriteCond %{REQUEST_FILENAME} !-f\r\nRewriteCond %{REQUEST_FILENAME} !-d\r\nRewriteRule . \/index.php &#x5B;L]\r\n&lt;\/IfModule&gt;\r\n\r\n# END WordPress\r\n<\/pre>\n<p>Mixhost\u3068\u304b\u5b8c\u5168\u306bSSL\u5316\u5bfe\u5fdc\u3057\u3066\u304f\u308c\u3066\u308b\u306e\u306b\u306a\u3093\u3067\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u3053\u306e\u30b3\u30fc\u30c9\u5165\u308c\u3066\u304f\u308c\u306a\u3044\u3093\u3060\u308d\u3046\uff1f<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"ZNWlkoyhU4\"><p><a href=\"https:\/\/xn--w8jyfva.jp\/box\/server-mixhost\/\">WordPress\u304a\u3059\u3059\u3081\u30b5\u30fc\u30d0\u30fc\u3010Mixhost\u3011\u304c\u6700\u65b0\u3067\u6700\u5f37\uff01\uff01<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;WordPress\u304a\u3059\u3059\u3081\u30b5\u30fc\u30d0\u30fc\u3010Mixhost\u3011\u304c\u6700\u65b0\u3067\u6700\u5f37\uff01\uff01&#8221; &#8212; \u3084\u308b\u304dBOX\" src=\"https:\/\/xn--w8jyfva.jp\/box\/server-mixhost\/embed\/#?secret=8fryS0FMtp#?secret=ZNWlkoyhU4\" data-secret=\"ZNWlkoyhU4\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u305b\u3063\u304b\u304fSSL\u5316\u3057\u305f\u306e\u306bhttp\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u3066\u3057\u307e\u3046\u306e\u306f\u3088\u304f\u306a\u3044\u3002 \u3042\u3068\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306fhttps\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u308b\u306e\u306b\u3001\u500b\u5225\u8a18\u4e8b\u3084\u30ab\u30c6\u30b4\u30ea\u30fc\u30da\u30fc\u30b8\u306a\u3069\u4e0b\u5c64\u30da\u30fc\u30b8\u306fhttp\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u3066\u3057\u307e\u3063\u305f\u308a\u3059\u308b\u3002 \u305d\u3046\u306a\u3063\u3066\u3057 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":925,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-2034","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-it-literacy"],"_links":{"self":[{"href":"https:\/\/xn--w8jyfva.jp\/box\/wp-json\/wp\/v2\/posts\/2034","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xn--w8jyfva.jp\/box\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xn--w8jyfva.jp\/box\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xn--w8jyfva.jp\/box\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xn--w8jyfva.jp\/box\/wp-json\/wp\/v2\/comments?post=2034"}],"version-history":[{"count":0,"href":"https:\/\/xn--w8jyfva.jp\/box\/wp-json\/wp\/v2\/posts\/2034\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xn--w8jyfva.jp\/box\/wp-json\/wp\/v2\/media\/925"}],"wp:attachment":[{"href":"https:\/\/xn--w8jyfva.jp\/box\/wp-json\/wp\/v2\/media?parent=2034"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xn--w8jyfva.jp\/box\/wp-json\/wp\/v2\/categories?post=2034"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xn--w8jyfva.jp\/box\/wp-json\/wp\/v2\/tags?post=2034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}