{"id":131,"date":"2022-01-21T14:40:51","date_gmt":"2022-01-21T05:40:51","guid":{"rendered":"http:\/\/gaku-on.com\/?p=131"},"modified":"2024-07-10T09:29:19","modified_gmt":"2024-07-10T00:29:19","slug":"%e3%83%af%e3%83%bc%e3%83%89%e3%83%97%e3%83%ac%e3%82%b9%e3%82%a2%e3%83%89%e3%83%ac%e3%82%b9%e5%a4%89%e6%9b%b4","status":"publish","type":"post","link":"http:\/\/gaku-on.com\/?p=131","title":{"rendered":"\u30ef\u30fc\u30c9\u30d7\u30ec\u30b9\u30a2\u30c9\u30ec\u30b9\u5909\u66f4"},"content":{"rendered":"\n<p>\u2460\u8a2d\u5b9a\u753b\u9762\u3092\u5909\u66f4\u3059\u308b<br>\u2461index.php\u3092\u5909\u66f4\u3059\u308b<br>\u2462htaccess\u3092\u5909\u66f4\u3059\u308b<\/p>\n\n\n\n<p><a href=\"http:\/\/obakenote.com\/wp\/1250\/\">http:\/\/obakenote.com\/wp\/1250\/<\/a><\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001\u300c\/wordpress\/\u300d\u5185\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306eWordPress\u306eURL\u306f\u300c<a href=\"http:\/\/www.hogehoge.com\/wordpress\">www.hogehoge.com\/wordpress<\/a>\u300d\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u304c\u3001\u3053\u306eWordPress\u306eURL\u3092\u300c<a href=\"http:\/\/www.hogehoge.com\/\">www.hogehoge.com\/<\/a>\u300d\u306b\u79fb\u52d5\u3057\u305f\u3044\u5834\u5408\u306e\u30e1\u30e2\u3002<\/p>\n\n\n\n<p><br>\u8a2d\u5b9a\u304b\u3089\u300c<strong><span class=\"has-inline-color has-vivid-red-color\">\u30b5\u30a4\u30c8\u30a2\u30c9\u30ec\u30b9<\/span><\/strong>\u300d\u306e\u307f\u3092\u5909\u66f4\u3057<\/p>\n\n\n\n<p>\u6b21\u306b\u3001wordpress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306b\u3042\u308bindex.php\u30d5\u30a1\u30a4\u30eb\uff08\u3053\u306e\u4f8b\u3067\u306f\u300c\/wordpress\/index.php\u300d\uff09\u3092\u8907\u88fd\u3057\u3001\u8907\u88fd\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u5148\u307b\u3069\u8a2d\u5b9a\u3057\u305f\u30d6\u30ed\u30b0\u306eURL\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u3053\u306e\u4f8b\u3067\u306f\u300c\/index.php\u300d\uff09\u3078\u3068\u79fb\u52d5\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u305d\u306eindex.php\u306e\u4e2d\u306e<\/p>\n\n\n\n<p>require(\u2018.\/wp-blog-header.php\u2019);<\/p>\n\n\n\n<p>\u3092<\/p>\n\n\n\n<p>require(\u2018.\/wordpress\/wp-blog-header.php\u2019);<\/p>\n\n\n\n<p>\u3068\u66f8\u304d\u63db\u3048\u308c\u3070OK\u3002<\/p>\n\n\n\n<p>\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u6848\u4ef6\u7b49\u3067WordPress\u3092\u65b0\u898f\u306b\u8a2d\u7f6e\u3059\u308b\u5834\u5408\u7b49\u3001\u4e00\u65e6WordPress\u3092\u9055\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u9003\u304c\u3057\u3066\u4f5c\u696d\u304c\u51fa\u6765\u308b\u306e\u3067\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u7d9a\u3044\u3066htaccess<br>&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">.htaccess\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p>\u201c.htaccess\u201d\u304c<strong>\u306a\u3044\u5834\u5408<\/strong>\u201d.htaccess\u201d\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br>\u203b\u81ea\u52d5\u751f\u6210\u3055\u308c\u308b\u5834\u5408\u3082\u3051\u3063\u3053\u3046\u3042\u308b\u306e\u3067\u3001\u3082\u3057\u306a\u3044\u5834\u5408<\/p>\n\n\n\n<p>\u30d1\u30bd\u30b3\u30f3\u3067\u65b0\u898f\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u3001<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u3010\u5909\u66f4\u5f8c\u3011\u306e\u5185\u5bb9\u3092\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p>.htaccess<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># BEGIN WordPress\n\nRewriteEngine On\nRewriteBase \/\nRewriteRule ^index.php$ - &#91;L]\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteRule . \/index.php &#91;L]\n\n# END WordPress<\/code><\/pre>\n\n\n\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u5f8c\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u300chtaccess.txt\u300d\u306a\u3069\u306e\u4eee\u306e\u540d\u524d\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3067\u201d.htaccess\u201d\u306e\u4eee\u30d5\u30a1\u30a4\u30eb\u306e\u5b8c\u6210\u3067\u3059\u3002<br>\u5909\u66f4\u5f8c\u3001\uff32\uff2f\uff2f\uff34\u306b\u30a2\u30c3\u30d7<\/p>\n\n\n\n<p><strong>\u304a\u304b\u3057\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3089\u30fb\u30fb\u30fb<\/strong><\/p>\n\n\n\n<p><a href=\"http:\/\/www.nishi2002.com\/4207.html\">http:\/\/www.nishi2002.com\/4207.html<\/a><br>&nbsp;<\/p>\n\n\n\n<p>\u5bfe\u51e6\u3068\u3057\u3066\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08wp-config.php\uff09\u306b\u6b21\u306e1\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u300c<a href=\"http:\/\/localhost\/wptest\">http:\/\/localhost\/wptest<\/a>\u300d\u306f\u3001WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fURL\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>define(<\/code><code>'WP_SITEURL'<\/code><code>,&nbsp;<\/code><code>'<a href=\"http:\/\/localhost\/wptest\"><\/a><a href=\"http:\/\/localhost\/wptest\">http:\/\/localhost\/wptest<\/a>'<\/code><code>);<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u3053\u308c\u3067\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\uff08<a href=\"http:\/\/wordpress\/\">http:\/\/WordPress<\/a>\u30a2\u30c9\u30ec\u30b9\/wp-admin\/\uff09\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5909\u66f4\u3059\u308b\u306e\u306f\u30b5\u30a4\u30c8\u30a2\u30c9\u30ec\u30b9\u306e\u307f\u306a\u306e\u3060\u304c\u3001\u9593\u9055\u3048\u3066wordpress\u30a2\u30c9\u30ec\u30b9\u3092\u5909\u66f4\u3057\u3066\u3057\u307e\u3046\u3068\u8d85\u3081\u3093\u3069\u3044\u4e8b\u306b\u306a\u308b<br>CSS\u304c\u306f\u305a\u308c\u305f\u3088\u3046\u306a\u611f\u3058\u3000\u3042\u3068\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u3044\u30cf\u30e1\u306b\u306a\u308b<br>\u4ee5\u4e0b\u30b5\u30a4\u30c8\u3067DB\u3092\u76f4\u63a5\u3055\u308f\u308b\u4e8b\u3067\u89e3\u6c7a<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/bibabosi-rizumu.com\/wordpress-url-error\/#toc8\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u3061\u3087\u3063\u3068\u56f0\u3063\u305f\u4e8b<\/h2>\n\n\n\n<p>\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u306e\u306b\u30c8\u30c3\u30d7\u306b\u9ed2\u3044\u30d0\u30fc\u304c\u8868\u308c\u306a\u3044\u3000\u3068\u304b\u3000\u7de8\u96c6\u3057\u3066\u3082\u66f4\u65b0\u30dc\u30bf\u30f3\u304c\u3050\u308b\u3050\u308b\u3057\u3063\u3071\u306a\u3057\u30fb\u30fb\u3068\u304b\u767a\u751f\u3057\u305f<br><br>\u4e00\u5ea6\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u3001\u3057\u3070\u3089\u304f\u305f\u3063\u3066\u3082\u3046\u4e00\u5ea6\u30ed\u30b0\u30a4\u30f3\u3000\u3067\u76f4\u3063\u305f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2460\u8a2d\u5b9a\u753b\u9762\u3092\u5909\u66f4\u3059\u308b\u2461index.php\u3092\u5909\u66f4\u3059\u308b&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-131","post","type-post","status-publish","format-standard","hentry","category-4"],"_links":{"self":[{"href":"http:\/\/gaku-on.com\/index.php?rest_route=\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/gaku-on.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gaku-on.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gaku-on.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gaku-on.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=131"}],"version-history":[{"count":6,"href":"http:\/\/gaku-on.com\/index.php?rest_route=\/wp\/v2\/posts\/131\/revisions"}],"predecessor-version":[{"id":369,"href":"http:\/\/gaku-on.com\/index.php?rest_route=\/wp\/v2\/posts\/131\/revisions\/369"}],"wp:attachment":[{"href":"http:\/\/gaku-on.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gaku-on.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gaku-on.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}