{"id":824,"date":"2009-06-05T08:01:38","date_gmt":"2009-06-05T14:01:38","guid":{"rendered":"http:\/\/bililite.nfshost.com\/blog\/?p=824"},"modified":"2009-06-05T08:28:17","modified_gmt":"2009-06-05T14:28:17","slug":"moving-the-blog","status":"publish","type":"post","link":"https:\/\/bililite.com\/blog\/2009\/06\/05\/moving-the-blog\/","title":{"rendered":"Moving the Blog"},"content":{"rendered":"<p>I decided that this blog is mine, rather than Young Israel's, so I wanted to move it to a domain that I personally own. Thus, it is no longer at youngisrael-stl.org\/wordpress, but at bililite.com\/blog. Moving the blog intact was non-trivial, so I'm recording how I did it, based on <a href=\"http:\/\/www.mydigitallife.info\/2007\/10\/01\/how-to-move-wordpress-blog-to-new-domain-or-location\/\">mydigitallife's instructions<\/a>:<\/p>\r\n<ol>\r\n<li>Create the new folder, bililite.com\/blog\/<\/li>\r\n<li>Create a new mySQL database on bililite.com\r\n<li>Copy all of youngisrael-stl.org\/wordpress\/ into bililite.com\/blog\/<\/li>\r\n<li>Edit the wp-config.php file to reflect the new database name\/user\/password<\/li>\r\n<li>Backup the youngisrael-stl.org database into an SQL file with <a href=\"http:\/\/www.phpmyadmin.net\/\">phpMyAdmin<\/a> or <a href=\"\/blog\/2009\/02\/10\/the-agony-of-unicode-and-backing-up-mysql\/\">some other tool<\/a><\/li>\r\n<li>In a text editor, change all the \"http:\/\/youngisrael-stl.org\/wordpress\" to \"http:\/\/bililite.nfshost.com\/blog\" and \"\/wordpress\" to \"\/blog\". note that there are both absolute and relative URL's in there, and I was changing both the domain and the subdirectory, so I had to do two replacements. I couldn't just change \"http:\/\/youngisrael-stl.org\" because I didn't want to change links to the actual site.<\/li>\r\n<li>Run the edited SQL file on the bililite.com database<\/li>\r\n<li>In the youngisrael-stl.org\/.htaccess , add the line \"<a href=\"http:\/\/httpd.apache.org\/docs\/2.2\/mod\/mod_alias.html#redirect\">Redirect<\/a> permanent \/wordpress http:\/\/bililite.nfshost.com\/blog\" to let browsers know I've moved<\/li>\r\n<li>Actually announce the change on mailing lists of <a href=\"http:\/\/groups.google.com\/group\/jquery-ui-dev\/topics?hl=en\">people who actually read the site<\/a><\/li>\r\n<\/ol>","protected":false},"excerpt":{"rendered":"I decided that this blog is mine, rather than Young Israel's, so I wanted to move it to a domain that I personally own. Thus, it is no longer at youngisrael-stl.org\/wordpress, but at bililite.com\/blog. Moving the blog intact was non-trivial, so I'm recording how I did it, based on mydigitallife's instructions: Create the new folder, [&hellip;]","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,20],"tags":[],"_links":{"self":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts\/824"}],"collection":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/comments?post=824"}],"version-history":[{"count":6,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts\/824\/revisions"}],"predecessor-version":[{"id":831,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts\/824\/revisions\/831"}],"wp:attachment":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/media?parent=824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/categories?post=824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/tags?post=824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}