{"id":5044,"date":"2013-02-04T21:48:46","date_gmt":"2013-02-05T02:48:46","guid":{"rendered":"https:\/\/hendersonbrook.net\/?p=5044"},"modified":"2013-02-04T22:06:21","modified_gmt":"2013-02-05T03:06:21","slug":"how-not-to-port-a-wordpress-site","status":"publish","type":"post","link":"https:\/\/hendersonbrook.net\/?p=5044","title":{"rendered":"How NOT to Port a WordPress Site"},"content":{"rendered":"<p>Oh my gosh, this has been a career.  I&#8217;ve been working on moving the O-F site since January 8, first psyching myself for days because I knew it was going to be horrible, and it was.<\/p><p>Following some bad online advice, I copied everything off by hand, but that didn&#8217;t work.  My content directory was fine, but not the WordPress files themselves.<\/p><p>I&#8217;m pretty sure that there was problem with versions.  I think the old site may have needed to be updated.  Whether for that reason or another, the WordPress files themselves were not correct, and there were a slew of missing files.<\/p><p>I tried a plugin to copy the files and generate the script.  That worked okay except that I had no idea where the backup files were on the old server, and the plugin didn&#8217;t create a compressed archive.<\/p><p>I ended up using the GoDaddy WordPress install.  That worked like a champ, so I only had to copy over the content files, which the plugin did copy very well, and run the database script.<\/p><p>I had to revise the script, though, since it was a create database, and the GoDaddy install had already put a WordPress db on the server.<\/p><p>I messed things up by editing the wp_option records incorrectly (I mimicked the actual directory structure, setting two key records to &#8220;www.capecoder.com\/occupyfalmouth&#8221;) and forwarding and aliasing the domain.  I fixed the first and GoDaddy Tech Support did the second.<\/p><p>I had to clear not only the browser cache but the cookies cache to get the GoDaddy File Manager to work.  I had to reset permissions to FTP over Windows.<\/p><p>I had to create an .htaccess file to enable permalinks.<\/p><p>Unlike the problem I had with this blog, I was able to see images on the posts and pages where they belong.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oh my gosh, this has been a career. I&#8217;ve been working on moving the O-F site since January 8, first psyching myself for days because I knew it was going to be horrible, and it was.Following some bad online advice, &hellip; <a href=\"https:\/\/hendersonbrook.net\/?p=5044\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5044","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/hendersonbrook.net\/index.php?rest_route=\/wp\/v2\/posts\/5044","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hendersonbrook.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hendersonbrook.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hendersonbrook.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hendersonbrook.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5044"}],"version-history":[{"count":7,"href":"https:\/\/hendersonbrook.net\/index.php?rest_route=\/wp\/v2\/posts\/5044\/revisions"}],"predecessor-version":[{"id":5051,"href":"https:\/\/hendersonbrook.net\/index.php?rest_route=\/wp\/v2\/posts\/5044\/revisions\/5051"}],"wp:attachment":[{"href":"https:\/\/hendersonbrook.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5044"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hendersonbrook.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5044"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hendersonbrook.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}