How to Transfer Your Drupal Website to WordPress
Depending on your knowledge you can use multiple ways to migrate from Drupal to WordPress. Some of them are having specific needs while others are easy to follow.
Choose the method that is more convenient for your, but first don’t forget to backup your website.
Ok, so let’s see what are the different methods you can use to move your Drupal website to WordPress.
Migrate Drupal to WordPress Using tools
You can migrate Drupal using a method and with the help of additional tools. You can follow the next steps:
In order to migrate Drupal to WordPress, you will need multiple resources starting with a web host for both websites, two domain names, and some technical knowledge in order to install Drupal and WordPress.
Also, you need some extensions and plugins such as Drupal Views module and Drupal Views Bonus Pack which you can install them from the official Drupal website and JC Importer Plugin for WordPress which you can install it through the WordPress dashboard. You can also use All Import plugin for WordPress instead of JC Importer plugin if you really want.
2. Download process
The download process should start soon after you analyzed all the requirements for migration. You can create a new view inside the Views module and add a feed display. Next, modify it by changing the style to an XML file and at basic settings you should choose to display all items. Also, under data export, you need to change the path to the URL you want to download your content from. At Fields, you should add the taxonomy, save settings and go to download the feed.XML file. Be sure to check the tags in the XML document because you need to have a proper syntax.
3. Import process
At this part, you need to import authors to WordPress so using the XML document install and activate the JC Importer plugin on WordPress. Next, you should name the import and choose the user template, also upload the XML. Check the display name and the enable password field together with the generate password. Don’t forget to edit the author name. Click save and run.
4. Export process
Now, at feeds you need to turn live preview off for the view you have created at step two. At fields, you need to add the post information such as node title, author name, and date created, body of the node and note path while at filters you need to add a new filter and you need to filter duplicates.
You need to see if your data download limit is a 1000 or 300 as usually. Also, make sure your XML syntax is good enough and it does not have errors. After you downloaded and imported the XML file with the nodes you can jump back to step 3 where you should import posts into WordPress with the JC Importer plugin on WordPress. Just name a new import choose the post template and upload the XML file selecting the node options and checking the box for post author. Don’t forget to edit the fields and click saves and run.
Transfer Druapl to WordPress Using CiviCRM
You can use this software to migrate from Drupal to WordPress, but first, you need to follow the proper steps.
1. CiviCRM requirements
To use this software you need PHP 5.3.10 or greater but not PHP7. Also, you should have PHP Curl Extension, PHP SOAP Extension, and PHP DOM XML Extension. Also, you need to not enable open_basedir.
First, you need to backup your WordPress, your Drupal, and your CiviCRM databases. Next, you should set up CiviCRM and the WordPress admin account which needs to be the same with the Drupal administrator account.
To start migration you need first to restore the CiviCRM using the new tables and you can move it somewhere else. You also need to empty the civicrm_uf_match table using the SQL command Truncate. Additionally, you need to relocate custom files from your old website at Administer, System Settings and then Directories and Administer at System Settings and Resources URLS. Don’t forget to copy them in WordPress at the wp-content folder and at the subfolders plugins/files and CiviCRM while at Drupal you can find it at sites and at the default/files subfolder.
Next, you definitely need to update the base directory path and the resource URLS. Also, you should rebuild menus using multiple SQL commands. Don’t forget to modify CiviCRM for WordPress table prefixes and to update the changed URL in your data.
Move Drupal to WordPress Using plugins
Using the proper WordPress plugins you can migrate users and posts to your WordPress website from the Drupal one.
For users, you need to access the Drupal database via phpMyAdmin and select the users table where you go on Export and at CSV in order to save the users from Drupal. Next, you should install the Import users from CSV for WordPress and activate it. Also, you need to access the users menu and choose import from CSV. Import them and you have all the Drupal users on your WordPress platform.
For posts, you need to access again the Drupal database and to go at SQL section where you should run the following code:
INNER JOIN field_revision_body
Next, you need to install the WP All Import WordPress plugin and activate it. Go to its settings and select upload and then next. After the process is over you just need to use the Broken Link Checker to see if you have broken links and other problems.
Copy and Paste your Drupal site to WordPress
You can manually migrate your Drupal to WordPress by installing WordPress using either Softaculous or manually using FTP and cPanel to manage both files and database. Next, you enter on each content type including modules and users and copy them using the mouse or the CTRL+C and CTRL+V combinations from Drupal to WordPress.
This method is the easiest one, offering you full control and it is also totally free, but it take a lot of time to finished it and there are some companies which make this process for your if you pay the proper sum of money.
So you can think twice if you want to pay for a manual migration, an automate one using one of the methods presented or you can follow the steps and try to migrate the Drupal website to WordPress alone.