{"id":7636,"date":"2025-03-06T08:30:13","date_gmt":"2025-03-05T23:30:13","guid":{"rendered":"https:\/\/code-plus.jp\/gp\/?p=7636"},"modified":"2026-01-08T11:16:45","modified_gmt":"2026-01-08T02:16:45","slug":"post-7636","status":"publish","type":"post","link":"https:\/\/code-plus.jp\/gp\/post-7636\/","title":{"rendered":"PHPMyAdmin\u3068FTP\u3092\u4f7f\u7528\u3057\u305fWordPress\u306e\u5f15\u3063\u8d8a\u3057\u4f5c\u696d"},"content":{"rendered":"<p>WordPress \u30b5\u30a4\u30c8\u306e\u79fb\u884c\u306f\u3001\u5f15\u3063\u8d8a\u3057\u3092\u691c\u8a0e\u3057\u3066\u3044\u308b\u591a\u304f\u306e\u30b5\u30a4\u30c8\u904b\u55b6\u8005\u306b\u3068\u3063\u3066\u91cd\u8981\u306a\u4f5c\u696d\u3067\u3059\u3002\u4eca\u56de\u306f\u3001PHPMyAdmin \u3068 FTP \u3092\u4f7f\u3063\u3066WordPress\u30b5\u30a4\u30c8\u3092\u79fb\u884c\u3059\u308b\u624b\u9806\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\r\n<h2 class=\"fz-xl\">\u4e8b\u524d\u6e96\u5099<\/h2>\r\n<p>\u79fb\u884c\u4f5c\u696d\u3092\u59cb\u3081\u308b\u524d\u306b\u3001\u4ee5\u4e0b\u306e\u60c5\u5831\u3092\u6574\u7406\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\uff1a<\/p>\r\n<p><strong>\u79fb\u884c\u5143\uff08\u65e7\u30b5\u30fc\u30d0\u30fc\uff09\u306e\u60c5\u5831\uff1a<\/strong><\/p>\r\n<ul style=\"list-style-type:bullet;\">\r\n<li>\u30b5\u30a4\u30c8URL<\/li>\r\n<li>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d<\/li>\r\n<li>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30e6\u30fc\u30b6\u30fc\u540d\u30fb\u30d1\u30b9\u30ef\u30fc\u30c9<\/li>\r\n<li>\u30c6\u30fc\u30d6\u30eb\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9<\/li>\r\n<\/ul>\r\n<p><strong>\u79fb\u884c\u5148\uff08\u65b0\u30b5\u30fc\u30d0\u30fc\uff09\u306e\u60c5\u5831\uff1a<\/strong><\/p>\r\n<ul style=\"list-style-type:bullet;\">\r\n<li>\u30b5\u30a4\u30c8URL<\/li>\r\n<li>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d<\/li>\r\n<li>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30e6\u30fc\u30b6\u30fc\u540d\u30fb\u30d1\u30b9\u30ef\u30fc\u30c9<\/li>\r\n<li>\u30c6\u30fc\u30d6\u30eb\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9<\/li>\r\n<\/ul>\r\n<p>\u307e\u305f\u3001\u4f5c\u696d\u3092\u59cb\u3081\u308b\u524d\u306b\u5fc5\u305a<strong>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7<\/strong>\u3092\u53d6\u3063\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\r\n<h2 class=\"fz-xl\">1. \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3068\u30a4\u30f3\u30dd\u30fc\u30c8<\/h2>\r\n<h3 class=\"fz-lg\">\u79fb\u884c\u5143\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u624b\u9806<\/h3>\r\n<ol style=\"list-style-type:decimal;\">\r\n<li>\u79fb\u884c\u5143\u30b5\u30fc\u30d0\u30fc\u306ePHPMyAdmin\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059<\/li>\r\n<li>\u5de6\u5074\u306e\u30b5\u30a4\u30c9\u30d0\u30fc\u304b\u3089\u79fb\u884c\u5143\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u9078\u629e\u3057\u307e\u3059<\/li>\r\n<li>\u4e0a\u90e8\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300c\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u300d\u3092\u9078\u629e\u3057\u307e\u3059<\/li>\r\n<li>\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u65b9\u6cd5\u306f\u300c\u30af\u30a4\u30c3\u30af\u300d\u307e\u305f\u306f\u300c\u30ab\u30b9\u30bf\u30e0\u300d\u3092\u9078\u629e\uff08\u5927\u62b5\u306f\u300c\u30af\u30a4\u30c3\u30af\u300d\u3067\u5341\u5206\u3067\u3059\uff09<\/li>\r\n<li>SQL\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059<\/li>\r\n<\/ol>\r\n<h3 class=\"fz-lg\">SQL\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6<\/h3>\r\n<p>\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\uff08\u30b5\u30af\u30e9\u30a8\u30c7\u30a3\u30bf\u3084VSCode\u306a\u3069\uff09\u3067SQL\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u3001\u4ee5\u4e0b\u306e\u7f6e\u63db\u3092\u884c\u3044\u307e\u3059\uff1a<\/p>\r\n<ol style=\"list-style-type:decimal;\">\r\n<li><p>\u65e7\u30b5\u30a4\u30c8URL\u3092\u65b0\u30b5\u30a4\u30c8URL\u306b\u7f6e\u63db\r\n\u4f8b\uff1a<code>https:\/\/old-domain.com<\/code> \u2192 <code>https:\/\/new-domain.com<\/code><\/p>\r\n<\/li>\r\n<li><p>\u30c6\u30fc\u30d6\u30eb\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u306e\u7f6e\u63db\uff08\u5fc5\u8981\u306a\u5834\u5408\uff09\r\n\u4f8b\uff1a<code>wp_<\/code> \u2192 <code>irqv_<\/code><\/p>\r\n<\/li>\r\n<\/ol>\r\n<h4 class=\"fz-sl\">\u30c6\u30fc\u30d6\u30eb\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u5909\u66f4\u3059\u308b\u7406\u7531<\/h4>\r\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3054\u3068\u306b\u7570\u306a\u308b\u30c6\u30fc\u30d6\u30eb\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u8a2d\u5b9a\u3059\u308b\u4e3b\u306a\u7406\u7531\u306f\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u3067\u3059\u3002\u3053\u308c\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\r\n<ol style=\"list-style-type:decimal;\">\r\n<li><p><strong>\u81ea\u52d5\u5316\u653b\u6483\u306e\u9632\u6b62<\/strong>:\r\n\u591a\u304f\u306e\u653b\u6483\u306f\u300cwp_\u300d\u3068\u3044\u3046\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u72d9\u3044\u307e\u3059\u3002\u30e9\u30f3\u30c0\u30e0\u306a\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u4e00\u822c\u7684\u306a\u653b\u6483\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u52b9\u679c\u3092\u8efd\u6e1b\u3067\u304d\u307e\u3059\u3002<\/p>\r\n<\/li>\r\n<li><p><strong>SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u5bfe\u7b56<\/strong>:\r\n\u653b\u6483\u8005\u304c\u30c6\u30fc\u30d6\u30eb\u540d\u3092\u63a8\u6e2c\u3057\u306b\u304f\u304f\u306a\u308b\u305f\u3081\u3001SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u653b\u6483\u306e\u30ea\u30b9\u30af\u304c\u4f4e\u6e1b\u3057\u307e\u3059\u3002<\/p>\r\n<\/li>\r\n<li><p><strong>\u30de\u30eb\u30c1\u30b5\u30a4\u30c8\u74b0\u5883\u306e\u4fdd\u8b77<\/strong>:\r\n\u540c\u3058\u30b5\u30fc\u30d0\u30fc\u4e0a\u306b\u8907\u6570\u306eWordPress\u30b5\u30a4\u30c8\u304c\u3042\u308b\u5834\u5408\u3001\u5404\u30b5\u30a4\u30c8\u304c\u7570\u306a\u308b\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u30011\u3064\u306e\u30b5\u30a4\u30c8\u304c\u4fb5\u5bb3\u3055\u308c\u3066\u3082\u4ed6\u306e\u30b5\u30a4\u30c8\u3078\u306e\u5f71\u97ff\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\r\n<\/li>\r\n<\/ol>\r\n<h3 class=\"fz-lg\">\u79fb\u884c\u5148\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u30a4\u30f3\u30dd\u30fc\u30c8<\/h3>\r\n<ol style=\"list-style-type:decimal;\">\r\n<li>\u79fb\u884c\u5148\u30b5\u30fc\u30d0\u30fc\u306ePHPMyAdmin\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059<\/li>\r\n<li>\u5de6\u5074\u306e\u30b5\u30a4\u30c9\u30d0\u30fc\u304b\u3089\u79fb\u884c\u5148\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u9078\u629e\u3057\u307e\u3059<\/li>\r\n<li>\u65e2\u5b58\u306e\u30c6\u30fc\u30d6\u30eb\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u524a\u9664\u3057\u307e\u3059<\/li>\r\n<li>\u4e0a\u90e8\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300c\u30a4\u30f3\u30dd\u30fc\u30c8\u300d\u3092\u9078\u629e\u3057\u307e\u3059<\/li>\r\n<li>\u300c\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u7de8\u96c6\u6e08\u307f\u306eSQL\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3057\u307e\u3059<\/li>\r\n<li>\u300c\u5b9f\u884c\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30a4\u30f3\u30dd\u30fc\u30c8\u3092\u958b\u59cb\u3057\u307e\u3059<\/li>\r\n<\/ol>\r\n<h2 class=\"fz-xl\">2. \u30d5\u30a1\u30a4\u30eb\u306e\u79fb\u884c<\/h2>\r\n<h3 class=\"fz-lg\">WordPress \u30d5\u30a1\u30a4\u30eb\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h3>\r\n<p><strong>\u65b9\u6cd51: FTP\u7d4c\u7531\uff08\u6642\u9593\u304c\u304b\u304b\u308b\u5834\u5408\u3042\u308a\uff09<\/strong><\/p>\r\n<ol style=\"list-style-type:decimal;\">\r\n<li>FileZilla\u306a\u3069\u306eFTP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u79fb\u884c\u5143\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3057\u307e\u3059<\/li>\r\n<li>WordPress\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5185\u5bb9\u3092\u30ed\u30fc\u30ab\u30ebPC\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059<\/li>\r\n<\/ol>\r\n<p><strong>\u65b9\u6cd52: cPanel\u306e\u30d5\u30a1\u30a4\u30eb\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092\u4f7f\u7528\uff08\u63a8\u5968\uff09<\/strong><\/p>\r\n<ol style=\"list-style-type:decimal;\">\r\n<li>cPanel\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092\u958b\u304d\u307e\u3059<\/li>\r\n<li>WordPress\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u9078\u629e\u3057\u3001\u300c\u5727\u7e2e\u300d\u6a5f\u80fd\u3092\u4f7f\u7528\u3057\u3066ZIP\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059<\/li>\r\n<li>\u4f5c\u6210\u3055\u308c\u305fZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\uff08\u500b\u5225\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3088\u308a\u5927\u5e45\u306b\u9ad8\u901f\u3067\u3059\uff09<\/li>\r\n<\/ol>\r\n<h3 class=\"fz-lg\">\u30d5\u30a1\u30a4\u30eb\u5185\u306eURL\u306e\u7f6e\u63db\uff08\u30aa\u30d7\u30b7\u30e7\u30f3\uff09<\/h3>\r\n<p>\u5927\u898f\u6a21\u306a\u30b5\u30a4\u30c8\u3084\u8907\u96d1\u306a\u30c6\u30fc\u30de\u30fb\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u5185\u306b\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3055\u308c\u305fURL\u3092\u7f6e\u63db\u3059\u308b\u3068\u3088\u3044\u3067\u3057\u3087\u3046\uff1a<\/p>\r\n<ol style=\"list-style-type:decimal;\">\r\n<li>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u958b\u304d\u307e\u3059<\/li>\r\n<li>\u691c\u7d22\u30fb\u7f6e\u63db\u6a5f\u80fd\u3092\u4f7f\u7528\u3057\u3066\u65e7\u30b5\u30a4\u30c8URL\u3092\u65b0\u30b5\u30a4\u30c8URL\u306b\u7f6e\u63db\u3057\u307e\u3059<\/li>\r\n<\/ol>\r\n<h3 class=\"fz-lg\">\u65b0\u30b5\u30fc\u30d0\u30fc\u3078\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/h3>\r\n<ol style=\"list-style-type:decimal;\">\r\n<li>FTP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u79fb\u884c\u5148\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3057\u307e\u3059<\/li>\r\n<li>\u79fb\u884c\u5148\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30fb\u7de8\u96c6\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059<\/li>\r\n<\/ol>\r\n<h2 class=\"fz-xl\">3. \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6<\/h2>\r\n<h3 class=\"fz-lg\">wp-config.php \u306e\u4fee\u6b63<\/h3>\r\n<p>\u79fb\u884c\u5148\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f <code>wp-config.php<\/code> \u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u3001\u4ee5\u4e0b\u306e\u60c5\u5831\u3092\u66f4\u65b0\u3057\u307e\u3059\uff1a<\/p>\r\n<pre><code class=\"language-php\">\/\/ \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\r\ndefine(&#39;DB_NAME&#39;, &#39;\u65b0\u30b5\u30fc\u30d0\u30fc\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d&#39;);\r\n\r\n\/\/ \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30e6\u30fc\u30b6\u30fc\r\ndefine(&#39;DB_USER&#39;, &#39;\u65b0\u30b5\u30fc\u30d0\u30fc\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30e6\u30fc\u30b6\u30fc\u540d&#39;);\r\n\r\n\/\/ \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30d1\u30b9\u30ef\u30fc\u30c9\r\ndefine(&#39;DB_PASSWORD&#39;, &#39;\u65b0\u30b5\u30fc\u30d0\u30fc\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30d1\u30b9\u30ef\u30fc\u30c9&#39;);\r\n\r\n\/\/ \u30c6\u30fc\u30d6\u30eb\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\r\n$table_prefix = &#39;\u65b0\u30b5\u30fc\u30d0\u30fc\u306e\u30c6\u30fc\u30d6\u30eb\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9&#39;;\r\n<\/code><\/pre>\r\n<h3 class=\"fz-lg\">.htaccess \u30d5\u30a1\u30a4\u30eb\u306e\u78ba\u8a8d\u30fb\u4fee\u6b63<\/h3>\r\n<p><code>.htaccess<\/code> \u30d5\u30a1\u30a4\u30eb\u304c\u79fb\u884c\u5148\u30b5\u30fc\u30d0\u30fc\u3068\u4e92\u63db\u6027\u304c\u3042\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002\u554f\u984c\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u6700\u5c0f\u9650\u306e\u8a2d\u5b9a\u3067\u65b0\u305f\u306b\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u691c\u8a0e\u3057\u307e\u3059\uff1a<\/p>\r\n<pre><code># BEGIN WordPress\r\n&lt;IfModule mod_rewrite.c&gt;\r\nRewriteEngine On\r\nRewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]\r\nRewriteBase \/\r\nRewriteRule ^index\\.php$ - [L]\r\nRewriteCond %{REQUEST_FILENAME} !-f\r\nRewriteCond %{REQUEST_FILENAME} !-d\r\nRewriteRule . \/index.php [L]\r\n&lt;\/IfModule&gt;\r\n# END WordPress\r\n<\/code><\/pre>\r\n<p>\u203b <code>RewriteBase<\/code> \u306f\u30b5\u30a4\u30c8\u306e\u30d1\u30b9\u306b\u5408\u308f\u305b\u3066\u8abf\u6574\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u306f <code>\/\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\/<\/code> \u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\r\n<h2 class=\"fz-xl\">4. \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5185\u306eURL\u66f4\u65b0<\/h2>\r\n<p>\u79fb\u884c\u5f8c\u306bURL\u3092\u66f4\u65b0\u3059\u308b\u305f\u3081\u306b\u3001PHPMyAdmin\u306eSQL\u30bf\u30d6\u3067\u4ee5\u4e0b\u306e\u30af\u30a8\u30ea\u3092\u5b9f\u884c\u3057\u307e\u3059\uff1a<\/p>\r\n<pre><code class=\"language-sql\">UPDATE [prefix]_options SET option_value = replace(option_value, &#39;https:\/\/old-domain.com&#39;, &#39;https:\/\/new-domain.com&#39;) WHERE option_name = &#39;home&#39; OR option_name = &#39;siteurl&#39;;\r\nUPDATE [prefix]_posts SET guid = replace(guid, &#39;https:\/\/old-domain.com&#39;, &#39;https:\/\/new-domain.com&#39;);\r\nUPDATE [prefix]_posts SET post_content = replace(post_content, &#39;https:\/\/old-domain.com&#39;, &#39;https:\/\/new-domain.com&#39;);\r\nUPDATE [prefix]_postmeta SET meta_value = replace(meta_value, &#39;https:\/\/old-domain.com&#39;, &#39;https:\/\/new-domain.com&#39;);\r\n<\/code><\/pre>\r\n<p>\u203b <code>[prefix]<\/code> \u306f\u5b9f\u969b\u306e\u30c6\u30fc\u30d6\u30eb\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\r\n<h2 class=\"fz-xl\">5. \u52d5\u4f5c\u78ba\u8a8d\u3068\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/h2>\r\n<h3 class=\"fz-lg\">\u78ba\u8a8d\u4e8b\u9805<\/h3>\r\n<ol style=\"list-style-type:decimal;\">\r\n<li>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u8868\u793a<\/li>\r\n<li>\u5185\u90e8\u30ea\u30f3\u30af\u306e\u52d5\u4f5c<\/li>\r\n<li>\u753b\u50cf\u3084\u30e1\u30c7\u30a3\u30a2\u30d5\u30a1\u30a4\u30eb\u306e\u8868\u793a<\/li>\r\n<li>\u7ba1\u7406\u753b\u9762\u3078\u306e\u30a2\u30af\u30bb\u30b9<\/li>\r\n<li>\u30d7\u30e9\u30b0\u30a4\u30f3\u30fb\u30c6\u30fc\u30de\u306e\u52d5\u4f5c<\/li>\r\n<\/ol>\r\n<h3 class=\"fz-lg\">\u3088\u304f\u3042\u308b\u30c8\u30e9\u30d6\u30eb\u3068\u89e3\u6c7a\u6cd5<\/h3>\r\n<ol style=\"list-style-type:decimal;\">\r\n<li><p><strong>500\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u5834\u5408<\/strong><\/p>\r\n<ul style=\"list-style-type:bullet;\">\r\n<li><code>.htaccess<\/code> \u30d5\u30a1\u30a4\u30eb\u306e\u524a\u9664\u307e\u305f\u306f\u6700\u5c0f\u9650\u306e\u8a2d\u5b9a\u306b\u5909\u66f4<\/li>\r\n<\/ul>\r\n<\/li>\r\n<li><p><strong>\u753b\u50cf\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u5834\u5408<\/strong><\/p>\r\n<ul style=\"list-style-type:bullet;\">\r\n<li>\u30e1\u30c7\u30a3\u30a2\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u304c\u6b63\u3057\u3044\u304b\u78ba\u8a8d<\/li>\r\n<li>\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u8a2d\u5b9a\u306e\u66f4\u65b0<\/li>\r\n<\/ul>\r\n<\/li>\r\n<li><p><strong>\u7ba1\u7406\u753b\u9762\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u3044\u5834\u5408<\/strong><\/p>\r\n<ul style=\"list-style-type:bullet;\">\r\n<li>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5185\u306e\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u306e\u78ba\u8a8d<\/li>\r\n<li>Cookie\u8a2d\u5b9a\u306e\u78ba\u8a8d<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ol>\r\n<h2 class=\"fz-xl\">\u307e\u3068\u3081<\/h2>\r\n<p>WordPress \u30b5\u30a4\u30c8\u306e\u79fb\u884c\u306f\u8907\u96d1\u306b\u898b\u3048\u307e\u3059\u304c\u3001\u624b\u9806\u3092\u9806\u306b\u8ffd\u3063\u3066\u3044\u3051\u3070\u554f\u984c\u306a\u304f\u5b8c\u4e86\u3067\u304d\u307e\u3059\u3002\u7279\u306b\u6e96\u5099\u3068\u4e8b\u524d\u8a08\u753b\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\r\n<p>\u79fb\u884c\u4f5c\u696d\u306e\u624b\u9806\u3092\u307e\u3068\u3081\u308b\u3068\uff1a<\/p>\r\n<ol style=\"list-style-type:decimal;\">\r\n<li>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3068\u30a4\u30f3\u30dd\u30fc\u30c8<\/li>\r\n<li>\u30d5\u30a1\u30a4\u30eb\u306e\u79fb\u884c<\/li>\r\n<li>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6<\/li>\r\n<li>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5185\u306eURL\u66f4\u65b0<\/li>\r\n<li>\u52d5\u4f5c\u78ba\u8a8d\u3068\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/li>\r\n<\/ol>\r\n<p>\u30b5\u30a4\u30c8\u898f\u6a21\u306b\u3088\u3063\u3066\u306f\u79fb\u884c\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u614e\u91cd\u306b\u4f5c\u696d\u3092\u9032\u3081\u308c\u3070\u3001\u30c0\u30a6\u30f3\u30bf\u30a4\u30e0\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u305f\u30b5\u30a4\u30c8\u79fb\u884c\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\r\n","protected":false},"excerpt":{"rendered":"WordPress \u30b5\u30a4\u30c8\u306e\u79fb\u884c\u306f\u3001\u5f15\u3063\u8d8a\u3057\u3092\u691c\u8a0e\u3057\u3066\u3044\u308b\u591a\u304f\u306e\u30b5\u30a4\u30c8\u904b\u55b6\u8005\u306b\u3068\u3063\u3066\u91cd\u8981\u306a\u4f5c\u696d\u3067\u3059\u3002\u4eca\u56de\u306f\u3001PHPMyAdmin \u3068 FTP \u3092\u4f7f\u3063\u3066WordPress\u30b5\u30a4\u30c8\u3092\u79fb\u884c\u3059\u308b\u624b\u9806\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002 \u4e8b\u524d\u6e96\u5099 [...]","protected":false},"author":1,"featured_media":7657,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","footnotes":"","vk-ltc-link":"","vk-ltc-target":"0"},"categories":[13],"tags":[],"group":[],"pg":[],"class_list":["post-7636","post","type-post","status-publish","format-standard","has-post-thumbnail","category-wordpress"],"acf":[],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/7636","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=7636"}],"version-history":[{"count":0,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/7636\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media\/7657"}],"wp:attachment":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media?parent=7636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/categories?post=7636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/tags?post=7636"},{"taxonomy":"group","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/group?post=7636"},{"taxonomy":"pg","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/pg?post=7636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}