{"id":202,"date":"2012-07-07T04:30:50","date_gmt":"2012-07-07T03:30:50","guid":{"rendered":"http:\/\/pgregg.com\/blog\/?p=202"},"modified":"2012-07-07T04:30:50","modified_gmt":"2012-07-07T03:30:50","slug":"blog-change-to-wordpress","status":"publish","type":"post","link":"https:\/\/blog.pgregg.com\/blog\/2012\/07\/blog-change-to-wordpress\/","title":{"rendered":"Blog change to WordPress"},"content":{"rendered":"<p>Well, I thought after calling out Menshn for security flaws, I ought to check if my Movable Type was up to date. It wasn&#8217;t and one of the changelogs suggested I should upgrade.<\/p>\n<p>However, the upgrade went badly leaving me unable to login at the blog level, or anyone to comment. Admin area was fine.<\/p>\n<p>My upgrade path to Movable Type 5 was blocked because they decided to remove Postgres support. So it put it into the same camp as WordPress. Conveniently there is a <a title=\"PostgreSQL for WordPress\" href=\"http:\/\/www.hawkix.net\/pgsql-for-wordpress\/\" target=\"_blank\">PG4WP<\/a> &#8220;plugin&#8221; (hack) that lets (most of) WordPress work on Postgres, yay!<\/p>\n<p>Cut to the chase, WP + PG4WP installed. Blog exported\/imported. Comments migrated &#8211; however I lost a few comments because of a bug in the WP Import incorrectly creating SQL for some articles. Didn&#8217;t like the &lt;span\u00a0style=&#8221;color: rgb(0, 0, 187);&#8221;&gt; one little bit.I recreated the 4 missing entries manually, but the comments from the originals refused to import.<\/p>\n<p>A mod_rewrite rule to strip the .html from the old MT page urls, and things should be up and running.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, I thought after calling out Menshn for security flaws, I ought to check if my Movable Type was up to date. It wasn&#8217;t and one of the changelogs suggested I should upgrade. However, the upgrade went badly leaving me unable to login at the blog level, or anyone to comment. Admin area was fine. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.pgregg.com\/blog\/2012\/07\/blog-change-to-wordpress\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Blog change to WordPress&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-202","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pbQOUu-3g","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/blog.pgregg.com\/blog\/wp-json\/wp\/v2\/posts\/202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pgregg.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pgregg.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pgregg.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pgregg.com\/blog\/wp-json\/wp\/v2\/comments?post=202"}],"version-history":[{"count":0,"href":"https:\/\/blog.pgregg.com\/blog\/wp-json\/wp\/v2\/posts\/202\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pgregg.com\/blog\/wp-json\/wp\/v2\/media?parent=202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pgregg.com\/blog\/wp-json\/wp\/v2\/categories?post=202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pgregg.com\/blog\/wp-json\/wp\/v2\/tags?post=202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}