Moving from Drupal to WordPress
Step-by-Step Site Migration Guide–
WordPress has become the most popular content management system across the globe. Though other content management systems are equally good. WordPress has become the most sought after CMS because of the variety of themes and plugins it offers.
It is an open-source website creation platform that is quite simple and hassle-free. If you have a website built on Drupal and want to migrate from Drupal to WordPress theme, this article will help you do just that with a step by step guide.
Before moving any content to the new site, few things need to be taken care of.
Since you already have a website on Drupal, you have a hosting account. But it is advisable that you switch to a host that specializes in WordPress.
Once you decide which host you want to use, the next step is to set up a temporary domain. It is where you will ultimately install WordPress and move your content from drupal.
When all the content has been transferred, you can point your URL at the permanent domain.
Drupal to WordPress Migration–
With the temporary domain in place, you are all set to install WordPress and migrate your content.
After completing the migration, you can move your website from temporary to the permanent domain.
Installing the FG Drupal to WordPress plugin–
In the WordPress dashboard, go to plugins >add new and search for FG Drupal to WordPress and click on install now button and activate it once the installation is complete.
Getting the Drupal Database Details–
Once the plugin has been activated, you will have to get the Drupal database parameters, which will be used to import the site data into WordPress. The details required are hostname, database name, user name, password, and drupal table prefix.
To extract these details, you have to go to settings.php file using an FTP client. The following steps will guide you to get your database parameters:
download and install FTP client> site’s default directory>open the settings.php file> copy the hostname, database name, username, password, and drupal table prefix. Paste in a text file and save for later use.
Importing Drupal content to WordPress–
On the WordPress dashboard, click on tools> import.
Though there are several import tools included with WordPress, none of them is for drupal. So, we will use the FG Drupal to WordPress plugin that we had installed earlier.
In the drupal table, click on the run importer to move the database from Drupal to WordPress.
Once the migration process is complete, you can add different themes. However, it is advisable that you use the default theme initially.
Also, it is advised that you make an entirely new installation for the migration. If you have added content, create a back-up before you click on the empty WordPress button.
Drupal Web Site Parameters Section-
In the Drupal web site parameters section, enter the URL of your Drupal website. It is used to get media items from your current site. You will also need to paste the information about your old database that you copied from your settings.php file.
You will need to enter the details such as hostname, database name, username, password, and drupal table prefix. Then click on test database connection to check whether everything is functioning correctly.
Moving on to the behavior section, you need to specify what items you want to import and the drupal pages.
Here you have to specify where you want to import your posts, but you can leave the default setting to the content.
There are many options for importing media items. However, you can ignore it totally, which would increase the speed of the migration process.
Option 1: Manual–
If you want to optimize your media images fully, it is advisable to download everything from your drupal site manually. You only have to drag the media items and save them on your computer.
After that, you have to size them to fit your new theme and give them proper names.
Option 2: Automated–
If your site is extensive with several pages, then manually importing the images can be cumbersome. In such a situation, you can import the media items during migration itself.
Irrespective of which method you chose, you should use image optimization plugins such as EWWW Image Optimizer or Imagify Image Optimizer to reduce file sizes.
Once everything has been configured, click on the start resume button to start the migration.
There is a bar at the bottom of the page that allows you to check the migration process, and any problem will appear in the dialog box.
Migration from Drupal to WordPress theme and the process to convert website to cms is complete now.