{"id":229237,"date":"2018-08-03T17:13:18","date_gmt":"2018-08-03T08:13:18","guid":{"rendered":"https:\/\/ja.wordpress.org\/support\/topic\/%e8%a1%a8%e7%a4%ba%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%97%e3%81%9f%e6%99%82%e3%81%ab%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%8c%e7%99%ba%e7%94%9f\/"},"modified":"2018-08-03T17:13:18","modified_gmt":"2018-08-03T08:13:18","slug":"%e8%a1%a8%e7%a4%ba%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%97%e3%81%9f%e6%99%82%e3%81%ab%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%8c%e7%99%ba%e7%94%9f","status":"publish","type":"topic","link":"https:\/\/ja.wordpress.org\/support\/topic\/%e8%a1%a8%e7%a4%ba%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%97%e3%81%9f%e6%99%82%e3%81%ab%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%8c%e7%99%ba%e7%94%9f\/","title":{"rendered":"\u8868\u793a\u8a2d\u5b9a\u3092\u3057\u305f\u6642\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30d7\u304c\u767a\u751f"},"content":{"rendered":"<p>\u25a0\u767a\u751f\u6761\u4ef6<br \/>\n\u7ba1\u7406\u753b\u9762\u2192\u4e00\u822c\u8a2d\u5b9a\u2192wordpress\u30a2\u30c9\u30ec\u30b9\u3068\u30b5\u30a4\u30c8\u30a2\u30c9\u30ec\u30b9\u3092example.com\u306b\u8a2d\u5b9a\u3001<br \/>\n\u3053\u306e\u6642\u70b9\u3067\u306f\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30d7\u767a\u751f\u305b\u305a\u3001<br \/>\n\u7ba1\u7406\u753b\u9762\u2192\u8a2d\u5b9a\u2192\u8868\u793a\u8a2d\u5b9a\u2192\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u306e\u8868\u793a\u3092\u56fa\u5b9a\u30da\u30fc\u30b8\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u30d7\u30eb\u30c0\u30a6\u30f3\u3092\u9078\u629e\u3059\u308b\u3068301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u304c\u767a\u751f\u3057\u307e\u3059\u3002<br \/>\n\u3053\u3053\u3092\u6700\u65b0\u306e\u6295\u7a3f\u306b\u623b\u3059\u3068\u6b63\u5e38\u306b\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u25a0\u72b6\u6cc1<br \/>\n\u30b5\u30a4\u30c8\u306e\u5f15\u3063\u8d8a\u3057\u3092\u884c\u3063\u3066\u3044\u308b\u4e2d\u3067\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30d7\u304c\u767a\u751f\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u3059\u3079\u3066\u505c\u6b62\u3057\u3066\u78ba\u8a8d\u3092\u884c\u3063\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30fbhttp:\/\/example.com\u306e\u3088\u3046\u306a\u30c9\u30e1\u30a4\u30f3\u306e\u307f\u306eURL\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3068\u304d\u306b301\u304c\u767a\u751f\u3059\u308b\u3002<br \/>\n\u30fbhttp:\/\/example.com\/\u56fa\u5b9a\u30da\u30fc\u30b8\u3084http:\/\/example.com\/\u6295\u7a3f\u30da\u30fc\u30b8\u306e\u3088\u3046\u306a\u30c9\u30e1\u30a4\u30f3\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u306f\u554f\u984c\u306a\u304f\u8868\u793a\u3067\u304d\u308b\u3002<br \/>\n\u30fb\u7ba1\u7406\u753b\u9762\u3082\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u3001\u66f4\u65b0\u3082\u3067\u304d\u308b\u3002<br \/>\n\u30fbexample.com\u306b\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u3066\u3044\u308bexample.com\/\u30c8\u30c3\u30d7\u3082\u8868\u793a\u3067\u304d\u308b\u3002\uff08\/\u30c8\u30c3\u30d7\u3092\u4ed8\u3051\u308b\u3068\uff09<\/p>\n<p>\u25a0\u74b0\u5883<br \/>\nRoute53\u2192Cloudfront\u2192EC2\uff08nginx\uff09\u2192rds<\/p>\n<p>\u2191\u3068\u3044\u3046\u74b0\u5883\u304b\u3089\u2193\u3068\u3044\u3046\u74b0\u5883\u3078\u79fb\u884c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Route53\u2192Cloudfront\u2192beanstalk(ELB\u2192EC2\uff08apache\uff09\u2192rds)<\/p>\n<p>\u30c9\u30e1\u30a4\u30f3\u306f\u5909\u66f4\u3057\u3066\u304a\u3089\u305a\u30ec\u30b8\u30b9\u30c8\u30e9\u3082\u3055\u304f\u3089\u3055\u3093\u3067\u79fb\u884c\u524d\u5f8c\u3067\u540c\u3058\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u25a0\u8abf\u67fb\u3057\u305f\u3053\u3068<br \/>\n\u25cf\u30b5\u30a4\u30c8URL\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<br \/>\n<code><\/code>`checkeddb.sql<\/p>\n<p>mysql&gt; SELECT * FROM example_options WHERE option_name IN (&#8216;home&#8217;,&#8217;siteurl&#8217;);<br \/>\n+&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;-+<br \/>\n| option_id | option_name | option_value                 | autoload |<br \/>\n+&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;-+<br \/>\n|         2 | home        | http:\/\/www.example.com       | yes      |<br \/>\n|         1 | siteurl     | http:\/\/www.example.com       | yes      |<br \/>\n+&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;-+<\/p>\n<p><code><\/code>`<\/p>\n<p>\u25cfwp_options\u30c6\u30fc\u30d6\u30eb\u3082\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<br \/>\n<code><\/code>`<\/p>\n<p>MariaDB [ebdb]&gt; SELECT * FROM wp_options WHERE option_name IN (&#8216;page_on_front&#8217;);<br \/>\n+&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;-+<br \/>\n| option_id | option_name   | option_value | autoload |<br \/>\n+&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;-+<br \/>\n|        84 | page_on_front | 2            | yes      |<br \/>\n+&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;-+<\/p>\n<p><code><\/code>`<\/p>\n<p>\u25cf.htaccess<br \/>\nwp\u30eb\u30fc\u30c8\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<p><code><\/code>`.htaccess<\/p>\n<p># BEGIN WordPress<br \/>\n\uff1cIfModule mod_rewrite.c\uff1e<br \/>\nRewriteEngine On<br \/>\nRewriteBase \/<br \/>\nRewriteCond %{REQUEST_FILENAME} !-f<br \/>\nRewriteCond %{REQUEST_FILENAME} !-d<br \/>\nRewriteRule . \/index.php [L]<br \/>\n\uff1c\/IfModule\uff1e<br \/>\n# END WordPress<\/p>\n<p>php_value memory_limit 50M<br \/>\nphp_value post_max_size 40M<br \/>\nphp_value upload_max_filesize 30M<\/p>\n<p><code><\/code>`<\/p>\n<p>\u25a0\u8cea\u554f\u5185\u5bb9<br \/>\n\u539f\u56e0\u3068\u3057\u3066DNS\u3001CDN\u3001\u30d5\u30a1\u30a4\u30e4\u30fc\u30a6\u30a9\u30fc\u30eb\u306a\u3069\u306e\u5074\u9762\u304b\u3089\u3082<br \/>\n\u8abf\u67fb\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304cwordpress\u306e\u8868\u793a\u8a2d\u5b9a\u3092\u5909\u3048\u308b\u3068<br \/>\n\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30d7\u304c\u767a\u52d5\u3059\u308b\u3053\u3068\u304b\u3089\u3053\u3061\u3089\u3067\u8cea\u554f\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6295\u7a3f\u30da\u30fc\u30b8\u304b\u3089\u56fa\u5b9a\u30da\u30fc\u30b8\u3092\u6307\u5b9a\u3057\u305f\u3068\u304d\u306b<br \/>\n\u524d\u8ff0\u306eoption_value\u306f\uff10\u304b\u3089\uff12\u306b\u5909\u308f\u308b\u3060\u3051\u3067\u3057\u305f\u304c<br \/>\n\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30d7\u306e\u539f\u56e0\u306b\u306a\u308a\u305d\u3046\u306a\u539f\u56e0\u304c\u898b\u3064\u3051\u3089\u308c\u3066\u304a\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u4e0a\u8a18\u4ee5\u5916\u3067\u3001\u78ba\u8a8d\u3059\u3079\u304d\u30dd\u30a4\u30f3\u30c8\u306a\u3069\u4f3a\u3048\u307e\u3057\u305f\u3089\u5e78\u3044\u3067\u3059\u3002<br \/>\n\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"template":"","class_list":["post-229237","topic","type-topic","status-publish","hentry","topic-tag-20909","topic-tag-wordpress"],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/229237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/229237\/revisions"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=229237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}