{"id":104,"date":"2013-02-06T18:26:26","date_gmt":"2013-02-06T18:26:26","guid":{"rendered":"http:\/\/info.ffteixeira.net\/2013\/02\/06\/migrate-from-wordpress-to-drupal\/"},"modified":"2013-02-06T18:26:26","modified_gmt":"2013-02-06T18:26:26","slug":"migrate-from-wordpress-to-drupal","status":"publish","type":"post","link":"https:\/\/blog.ffteixeira.net\/?p=104","title":{"rendered":"Migrate from WordPress to Drupal"},"content":{"rendered":"<p><span style=\"font-size: 1.385em;font-weight: bold;font-family: PTSansBold, 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;line-height: 30px\">Step by Step Instructions<\/span><\/p>\n<ol style=\"margin-top: 0px;margin-bottom: 20px;margin-left: 0px;font-family: PTSansRegular, 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;line-height: 19px\">\n<li style=\"margin-left: 20px;background-color: transparent;line-height: 20px\">Login to your WordPress Admin\n<ul style=\"margin-top: 0px;margin-bottom: 20px;margin-left: 0px;background-color: transparent\">\n<li style=\"margin-left: 20px;background-color: transparent\">Navigate to Tools &rarr; Export<\/li>\n<li style=\"margin-left: 20px;background-color: transparent\">Download WXR File containing &quot;All content&quot;<\/li>\n<\/ul>\n<\/li>\n<li style=\"margin-left: 20px;background-color: transparent;line-height: 20px\">Make sure your XML file is valid using&nbsp;<a href=\"http:\/\/xmlsoft.org\/xmllint.html\" style=\"background-color: transparent\">xmllint<\/a>&nbsp;on the command line (WordPress Migrate is particular about having valid XML)\n<ul style=\"margin-top: 0px;margin-bottom: 20px;margin-left: 0px;background-color: transparent\">\n<li style=\"margin-left: 20px;background-color: transparent\">xmllint comes preinstalled on OSX<\/li>\n<li style=\"margin-left: 20px;background-color: transparent\">Open terminal and type&nbsp;<strong style=\"background-color: transparent;font-family: PTSansBold, 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;font-weight: normal\">xmllint mywordpressexport.xml<\/strong><\/li>\n<li style=\"margin-left: 20px;background-color: transparent\">All XML errors will be shown (line number and exact location)<\/li>\n<li style=\"margin-left: 20px;background-color: transparent\">Make appropriate fixes to the XML<\/li>\n<li style=\"margin-left: 20px;background-color: transparent\">If you run&nbsp;<strong style=\"background-color: transparent;font-family: PTSansBold, 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;font-weight: normal\">xmllint mywordpressexport.xml<\/strong>&nbsp;and the entire file prints to the screen, your XML is valid!<\/li>\n<\/ul>\n<\/li>\n<li style=\"margin-left: 20px;background-color: transparent;line-height: 20px\">Install the appropriate Drupal modules\n<ul style=\"margin-top: 0px;margin-bottom: 20px;margin-left: 0px;background-color: transparent\">\n<li style=\"margin-left: 20px;background-color: transparent\"><a href=\"http:\/\/drupal.org\/project\/migrate\" style=\"background-color: transparent\">Migrate<\/a>&nbsp;&#8211; robust Drupal module for migrating all sorts of content<\/li>\n<li style=\"margin-left: 20px;background-color: transparent\"><a href=\"http:\/\/drupal.org\/project\/wordpress_migrate\" style=\"background-color: transparent\">WordPress Migrate<\/a>&nbsp;&#8211; Migrate submodule that allows you to perform a WordPress migration without writing code!<\/li>\n<li style=\"margin-left: 20px;background-color: transparent\"><a href=\"http:\/\/drupal.org\/project\/migrate_extras\" style=\"background-color: transparent\">Migrate Extras<\/a>&nbsp;&#8211; provides functionality to import clean URLs using Pathauto<\/li>\n<li style=\"margin-left: 20px;background-color: transparent\"><a href=\"http:\/\/drupal.org\/project\/pathauto\" style=\"background-color: transparent\">Pathauto<\/a>&nbsp;&#8211; provides functionality to have clean URLs in Drupal<\/li>\n<\/ul>\n<\/li>\n<li style=\"margin-left: 20px;background-color: transparent;line-height: 20px\">After logging into Drupal navigate to the&nbsp;<strong style=\"background-color: transparent;font-family: PTSansBold, 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;font-weight: normal\">Find Content<\/strong>&nbsp;screen &amp; click the&nbsp;<strong style=\"background-color: transparent;font-family: PTSansBold, 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;font-weight: normal\">WordPress Migration<\/strong>&nbsp;tab in the upper right<\/li>\n<li style=\"margin-left: 20px;background-color: transparent;line-height: 20px\">Choose&nbsp;<strong style=\"background-color: transparent;font-family: PTSansBold, 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;font-weight: normal\">Import from a File<\/strong>\n<ul style=\"margin-top: 0px;margin-bottom: 20px;margin-left: 0px;background-color: transparent\">\n<li style=\"margin-left: 20px;background-color: transparent\">Select your valid XML file from your computer<\/li>\n<li style=\"margin-left: 20px;background-color: transparent\">If necessary, adjust import settings below<\/li>\n<li style=\"margin-left: 20px;background-color: transparent\">Choose&nbsp;<strong style=\"background-color: transparent;font-family: PTSansBold, 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;font-weight: normal\">immediate<\/strong>&nbsp;import method unless you have a really large dataset (they have options for using&nbsp;<a href=\"http:\/\/drupal.org\/project\/drush\" style=\"background-color: transparent\">Drush<\/a>&nbsp;for a &quot;background&quot; import)<\/li>\n<\/ul>\n<\/li>\n<li style=\"margin-left: 20px;background-color: transparent;line-height: 20px\">Migration Complete!\n<ul style=\"margin-top: 0px;margin-bottom: 20px;margin-left: 0px;background-color: transparent\">\n<li style=\"margin-left: 20px;background-color: transparent\">Navigate to&nbsp;<strong style=\"background-color: transparent;font-family: PTSansBold, 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;font-weight: normal\">Find Content<\/strong>&nbsp;to ensure your data was properly imported.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p style=\"background-color: transparent;margin-left: 20px\">Powered by <a href=\"http:\/\/atendesigngroup.com\/blog\/painlessly-migrate-wordpress-drupal\" target=\"_blank\" rel=\"noopener noreferrer\">aten<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step by Step Instructions Login to your WordPress Admin Navigate to Tools &rarr; Export Download WXR File containing &quot;All content&quot; Make sure your XML file is valid using&nbsp;xmllint&nbsp;on the command line (WordPress Migrate is particular about having valid XML) xmllint &hellip; <a href=\"https:\/\/blog.ffteixeira.net\/?p=104\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-104","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=104"}],"version-history":[{"count":0,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/104\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}