{"id":2669,"date":"2008-11-30T15:23:18","date_gmt":"2008-11-30T13:23:18","guid":{"rendered":"http:\/\/www.roumazeilles.net\/news\/en\/wordpress\/?p=2669"},"modified":"2008-11-09T15:39:44","modified_gmt":"2008-11-09T13:39:44","slug":"wordpress-transfer","status":"publish","type":"post","link":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/2008\/11\/30\/wordpress-transfer\/","title":{"rendered":"WordPress transfer"},"content":{"rendered":"<p><img decoding=\"async\" src=\"\/images\/2007\/wordpress21.gif\" alt=\"WordPress v2.3.2\" align=\"left\"\/>In the end, transfering a WordPress installation from one server to the next will not have been a simple task. As a matter of fact, moving the files, moving the database, seemed to be the easiest. But I could no longer upload images in WordPress.<\/p>\n<p>Here is what I had to do (and you may have to do) to get back full features and operations:<\/p>\n<ul>\n<li>Check that PHP was in <code>safe_mode<\/code> (not obvious, you&#8217;d have access to the server or its administrator).<\/li>\n<li>Ensure that access rights to the image upload directory (<code>wp-content\/uploads\/*<\/code>) were clearly set to <code>777<\/code> (here again, you&#8217;ll need to get support from the adminstrator, or a Telnet\/SSH access to your account on the server).<\/li>\n<li>Since I did not re-install WordPress from scratch, but transfered the full config, I did not notice that the setting for storing of images was now bogus (the directory used on the previous server was not existing on the new server). So, I went back to the admin interface of WordPress > Settings > Miscellaneous and set again <code>wp-content\/uploads<\/code> as the upload directory (first option on this page and default value as shown\/written under it).<\/li>\n<\/ul>\n<p>I hope that you will not be stung like me&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the end, transfering a WordPress installation from one server to the next will not have been a simple task. As a matter of fact, moving the files, moving the database, seemed to be the easiest. But I could no longer upload images in WordPress. Here is what I had to do (and you may [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57,2],"tags":[],"class_list":["post-2669","post","type-post","status-publish","format-standard","hentry","category-php","category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/posts\/2669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/comments?post=2669"}],"version-history":[{"count":0,"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/posts\/2669\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/media?parent=2669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/categories?post=2669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.roumazeilles.net\/news\/en\/wordpress\/wp-json\/wp\/v2\/tags?post=2669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}