{"id":981,"date":"2011-04-21T08:48:06","date_gmt":"2011-04-21T15:48:06","guid":{"rendered":"http:\/\/www.laurenwood.org\/anyway\/?p=981"},"modified":"2011-04-21T08:48:06","modified_gmt":"2011-04-21T15:48:06","slug":"moving-blog-homes","status":"publish","type":"post","link":"https:\/\/www.laurenwood.org\/anyway\/2011\/04\/moving-blog-homes\/","title":{"rendered":"Moving Blog&nbsp;Homes"},"content":{"rendered":"<p>Giv\u00aden the cur\u00adrent state of OpenSol\u00adar\u00adis (pre\u00adcari\u00adous, judging by vari\u00adous posts I\u2019ve seen over the last few months) I decided to move the base\u00adment devel\u00adop\u00adment and blog host\u00ading machine back to Debi\u00adan. I mostly use it for a couple of small Word\u00adPress blogs, and try\u00ading out vari\u00adous things (the odd Django pro\u00adject, Ruby on Rails, etc), so Debi\u00adan is emin\u00adently suit\u00adable for&nbsp;that.<\/p>\n<p>Step one: move the Word\u00adPress blogs on to an inter\u00adim host\u00ading solu\u00adtion, namely the same host where I cur\u00adrently host this blog. My pack\u00adage allows infin\u00adite add-on domains, so that works. To start with, I made sure I had no broken links on the blogs in their old home \u2014 I did\u00adn\u2019t want to try to hunt down errors in the new blogs that already exis\u00adted on the old&nbsp;ones.<\/p>\n<p>The whole pro\u00adcess worked fairly well (install new Word\u00adPress sys\u00adtem on new host, export the old blog, import to the new one) except for a couple of wrinkles, which I\u2019m detail\u00ading here for next time I need to do&nbsp;this.<\/p>\n<ol>\n<li>when set\u00adting up the new blog, before you\u2019ve switched the <span class=\"caps\">DNS<\/span>, don\u2019t put the final <span class=\"caps\">URL<\/span> in the set\u00adtings dia\u00adlog. This just means you can\u00ad\u2019t log in to the tem\u00adpor\u00adary site and you have to go into PHPMy\u00adAd\u00admin and fix the <span class=\"caps\">URL<\/span> back to the tem\u00adpor\u00adary ver\u00adsion. Get the site set up prop\u00aderly first, then switch the blog <span class=\"caps\">URL<\/span> and the <span class=\"caps\">DNS<\/span> settings.<\/li>\n<li>The image attach\u00adment prob\u00adably won\u2019t work. If you import the posts and check the \u201cimport file attach\u00adment\u201d box, some of them will attach prop\u00aderly, but not all, and you\u2019ll have to manu\u00adally upload a cer\u00adtain pro\u00adpor\u00adtion of your images using <span class=\"caps\">SFTP<\/span> or some\u00adthing sim\u00adil\u00adar. If you don\u2019t check that box, none of the images will be attached to the right posts and you\u2019ll have to manu\u00adally upload all of them. If you\u2019ve used stand\u00adard markup to show pho\u00adtos, that works any\u00adway, but if you\u2019ve used the gal\u00adlery short\u00adcode, you\u2019ll have to manu\u00adally attach the images to the post. The best plu\u00adgin I\u2019ve found to help with this is the Add From Serv\u00ader plu\u00adgin, where you can attach the images after you\u2019ve uploaded them all. It\u2019s still a lot of work if you have a lot of images.<\/li>\n<\/ol>\n<p>Apart from that, step one went well. Now I have to make sure I have all the oth\u00ader use\u00adful files saved some\u00adwhere, and get on with the <span class=\"caps\">OS<\/span> install.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Giv\u00aden the cur\u00adrent state of OpenSol\u00adar\u00adis (pre\u00adcari\u00adous, judging by vari\u00adous posts I\u2019ve seen over the last few months) I decided to move the base\u00adment devel\u00adop\u00adment and blog host\u00ading machine back to Debi\u00adan. I mostly use it for a couple of small Word\u00adPress blogs, and try\u00ading out vari\u00adous things (the odd Django pro\u00adject, Ruby on Rails, \u2026 <a href=\"https:\/\/www.laurenwood.org\/anyway\/2011\/04\/moving-blog-homes\/\" class=\"more-link\">Con\u00adtin\u00adue read\u00ading<span class=\"screen-reader-text\"> \u201cMov\u00ading Blog&nbsp;Homes\u201d<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wp_typography_post_enhancements_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"","activitypub_status":"","footnotes":""},"categories":[6,4],"tags":[],"class_list":["post-981","post","type-post","status-publish","format-standard","hentry","category-technology","category-wp-mechanics"],"_links":{"self":[{"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/posts\/981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/comments?post=981"}],"version-history":[{"count":3,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/posts\/981\/revisions"}],"predecessor-version":[{"id":984,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/posts\/981\/revisions\/984"}],"wp:attachment":[{"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/media?parent=981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/categories?post=981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/tags?post=981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}