{"id":6333,"date":"2024-10-08T23:19:42","date_gmt":"2024-10-08T14:19:42","guid":{"rendered":"https:\/\/code-plus.jp\/gp\/?p=6333"},"modified":"2026-01-08T11:16:30","modified_gmt":"2026-01-08T02:16:30","slug":"post-6333","status":"publish","type":"post","link":"https:\/\/code-plus.jp\/gp\/post-6333\/","title":{"rendered":"\u3010\u5099\u5fd8\u9332\u3011WordPress\u3067\u8a18\u4e8b\u304c\u6d88\u3048\u305f\u5834\u5408\u306e\u78ba\u8a8d\u30dd\u30a4\u30f3\u30c8\u3068\u5fa9\u5143\u65b9\u6cd5"},"content":{"rendered":"<p>WordPress\u3067\u8a18\u4e8b\u304c\u7a81\u7136\u6d88\u3048\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u3001\u30d1\u30cb\u30c3\u30af\u306b\u306a\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u78ba\u8a8d\u3068\u5fa9\u5143\u3092\u8a66\u307f\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\r\n<h2>1. WordPress\u306e\u7ba1\u7406\u753b\u9762\u3067\u78ba\u8a8d<\/h2>\r\n<h3>\u30b4\u30df\u7bb1\u306e\u78ba\u8a8d<\/h3>\r\n<ul>\r\n<li>\u7ba1\u7406\u753b\u9762 &gt; \u6295\u7a3f &gt; \u30b4\u30df\u7bb1 \u3092\u78ba\u8a8d<\/li>\r\n<li>\u8a18\u4e8b\u304c\u898b\u3064\u304b\u3063\u305f\u5834\u5408\u306f\u300c\u5fa9\u5143\u300d\u3092\u30af\u30ea\u30c3\u30af<\/li>\r\n<\/ul>\r\n<h3>\u4e0b\u66f8\u304d\u306e\u78ba\u8a8d<\/h3>\r\n<ul>\r\n<li>\u7ba1\u7406\u753b\u9762 &gt; \u6295\u7a3f &gt; \u4e0b\u66f8\u304d \u3092\u78ba\u8a8d<\/li>\r\n<li>\u72b6\u614b\u304c\u8aa4\u3063\u3066\u300c\u4e0b\u66f8\u304d\u300d\u306b\u5909\u66f4\u3055\u308c\u3066\u3044\u308b\u53ef\u80fd\u6027\u3042\u308a<\/li>\r\n<\/ul>\r\n<h2>2. \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u78ba\u8a8d<\/h2>\r\n<h3>phpMyAdmin\u3092\u4f7f\u7528<\/h3>\r\n<ol>\r\n<li><p>\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u7ba1\u7406\u30d1\u30cd\u30eb\u304b\u3089phpMyAdmin\u306b\u30a2\u30af\u30bb\u30b9<\/p>\r\n<\/li>\r\n<li><p>WordPress\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u9078\u629e<\/p>\r\n<\/li>\r\n<li><p><code>wp_posts<\/code>\u30c6\u30fc\u30d6\u30eb\u3092\u78ba\u8a8d\uff08\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u304c\u7570\u306a\u308b\u5834\u5408\u3042\u308a\uff09<\/p>\r\n<\/li>\r\n<li><p>\u4ee5\u4e0b\u306eSQL\u30af\u30a8\u30ea\u3092\u5b9f\u884c\uff1a<\/p>\r\n<pre><code class=\"language-sql\">SELECT * FROM wp_posts \r\nWHERE post_type = &#39;post&#39; \r\nAND (post_status = &#39;trash&#39; OR post_status = &#39;draft&#39; OR post_status = &#39;pending&#39;) \r\nORDER BY post_modified DESC\r\n<\/code><\/pre>\r\n<\/li>\r\n<li><p>\u898b\u3064\u304b\u3063\u305f\u8a18\u4e8b\u3092\u5fa9\u5143\u3059\u308b\u5834\u5408\uff1a<\/p>\r\n<pre><code class=\"language-sql\">UPDATE wp_posts \r\nSET post_status = &#39;publish&#39; \r\nWHERE ID = [\u8a72\u5f53\u3059\u308b\u6295\u7a3f\u306eID]\r\n<\/code><\/pre>\r\n<\/li>\r\n<\/ol>\r\n<h2>3. \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304b\u3089\u306e\u5fa9\u5143<\/h2>\r\n<h3>.wpress\u30d5\u30a1\u30a4\u30eb\u306e\u5229\u7528<\/h3>\r\n<ol>\r\n<li>\u6700\u65b0\u306e.wpress\u30d5\u30a1\u30a4\u30eb\uff08All-in-one-Wp-Migration\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\uff09\u3092\u898b\u3064\u3051\u308b<\/li>\r\n<li>WordPress\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u6a5f\u80fd\u3092\u4f7f\u7528\u3057\u3066\u5fa9\u5143<\/li>\r\n<\/ol>\r\n<h3>Time Machine\uff08Mac\uff09\u304b\u3089\u306e\u5fa9\u5143<\/h3>\r\n<ol>\r\n<li>Finder\u3092\u958b\u304d\u3001.wpress\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u3063\u305f\u5834\u6240\u306b\u79fb\u52d5<\/li>\r\n<li>\u6642\u9593\u8868\u793a\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\uff08\u307e\u305f\u306f <code>Cmd + Y<\/code>\uff09<\/li>\r\n<li>\u30bf\u30a4\u30e0\u30e9\u30a4\u30f3\u3067\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3057\u305f\u6642\u70b9\u307e\u3067\u623b\u308b<\/li>\r\n<li>\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3057\u3066\u300c\u5fa9\u5143\u300d\u3092\u30af\u30ea\u30c3\u30af<\/li>\r\n<\/ol>\r\n<h3>Windows\u306e\u30d5\u30a1\u30a4\u30eb\u5c65\u6b74\u6a5f\u80fd<\/h3>\r\n<ol>\r\n<li>\u8a2d\u5b9a &gt; \u66f4\u65b0\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3 &gt; \u30d0\u30c3\u30af\u30a2\u30c3\u30d7 \u306b\u79fb\u52d5<\/li>\r\n<li>\u300c\u30d5\u30a1\u30a4\u30eb\u5c65\u6b74\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u3092\u5fa9\u5143\u300d\u3092\u9078\u629e<\/li>\r\n<li>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u305f\u6642\u70b9\u3092\u9078\u3073\u3001.wpress\u30d5\u30a1\u30a4\u30eb\u3092\u898b\u3064\u3051\u3066\u5fa9\u5143<\/li>\r\n<\/ol>\r\n<h2>4. \u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u5229\u7528<\/h2>\r\n<h3>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d7\u30e9\u30b0\u30a4\u30f3<\/h3>\r\n<ul>\r\n<li>All-in-One WP Migration\u3001UpdraftPlus\u3001BackWPup\u306a\u3069\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u305d\u3053\u304b\u3089\u76f4\u63a5\u5fa9\u5143\u53ef\u80fd<\/li>\r\n<\/ul>\r\n<h2>\u4e88\u9632\u7b56<\/h2>\r\n<ol>\r\n<li>\u5b9a\u671f\u7684\u306a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u5b9f\u65bd<\/li>\r\n<li>\u8907\u6570\u306e\u5834\u6240\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u4fdd\u5b58\uff08\u30ed\u30fc\u30ab\u30eb\u3001\u30af\u30e9\u30a6\u30c9\u7b49\uff09<\/li>\r\n<li>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u5229\u7528<\/li>\r\n<li>\u91cd\u8981\u306a\u66f4\u65b0\u524d\u306b\u306f\u5fc5\u305a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308b<\/li>\r\n<\/ol>\r\n<h2>\u307e\u3068\u3081<\/h2>\r\n<p>WordPress\u306e\u8a18\u4e8b\u304c\u6d88\u3048\u305f\u5834\u5408\u3001\u30d1\u30cb\u30c3\u30af\u306b\u306a\u3089\u305a\u51b7\u9759\u306b\u5bfe\u5fdc\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u4e0a\u8a18\u306e\u624b\u9806\u3092\u9806\u756a\u306b\u8a66\u3059\u3053\u3068\u3067\u3001\u591a\u304f\u306e\u5834\u5408\u3001\u8a18\u4e8b\u3092\u5fa9\u5143\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u65e5\u9803\u304b\u3089\u306e\u9069\u5207\u306a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u7ba1\u7406\u304c\u3001\u4e07\u304c\u4e00\u306e\u969b\u306e\u5f37\u3044\u5473\u65b9\u3068\u306a\u308a\u307e\u3059\u3002\u5b9a\u671f\u7684\u306a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u91cd\u8981\u6027\u3092\u518d\u8a8d\u8b58\u3057\u3001\u9069\u5207\u306a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u6226\u7565\u3092\u7acb\u3066\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\r\n","protected":false},"excerpt":{"rendered":"WordPress\u3067\u8a18\u4e8b\u304c\u7a81\u7136\u6d88\u3048\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u3001\u30d1\u30cb\u30c3\u30af\u306b\u306a\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u78ba\u8a8d\u3068\u5fa9\u5143\u3092\u8a66\u307f\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 1. WordPress\u306e\u7ba1\u7406\u753b\u9762\u3067\u78ba\u8a8d \u30b4\u30df\u7bb1\u306e\u78ba\u8a8d \u7ba1\u7406\u753b\u9762 &gt; \u6295\u7a3f &gt;[...]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","footnotes":"","vk-ltc-link":"","vk-ltc-target":"0"},"categories":[13],"tags":[],"class_list":["post-6333","post","type-post","status-publish","format-standard","category-wordpress"],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/6333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/comments?post=6333"}],"version-history":[{"count":0,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/6333\/revisions"}],"wp:attachment":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media?parent=6333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/categories?post=6333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/tags?post=6333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}