web development

How to Migrate from WordPress to Drupal?


Choosing a Content Management System (CMS) is a sensitive issue. Newbies usually prefer WordPress as the simplest CMS. But sooner or later the system’s capabilities can become insufficient for providing both ultimate performance and a perfect look, at least at a desirable rate. An administrator with some practical experience would come to the conclusion that they need to level up. And here's the question — how do you switch from WordPress to Drupal ? Let’s figure it out!

What is Drupal and why is it different from other CMS

Drupal is one of the most popular CMS on the web globally. The overall rating is not so important here, however. Even though WordPress is an indisputable leader, that is not a one-size-fits-all solution. WP is great for simple and small websites owing to its functions and user-friendly admin panel.

Although, if you want up and running a complex website with a large database, powerful security settings, and complex infrastructure, like, for instance, the project that we did for Projekt Magazin, you can hardly bring it to life on WordPress. Our team is engaged in different projects, but we really adore Drupal projects for their almost unlimited technological possibilities and freedom for creativity. 

One more awesome thing about Drupal is its open-source community. That means that thousands of enthusiasts stand behind the code and any interested person can add changes to enhance the CMS or set up complementary modules. There are more than 7000 modules that you can use for various purposes of your business. The eighth and newest version of Drupal is extremely flexible, having numerous resources for developers as well as an abundance of boxed solutions.

drupal migrate wordpress

Both WP and Drupal are PHP-based open-source content management systems, which are distributed and used freely. Still, every so often users go from WordPress to Drupal when they need to push the limits of their web resources. 

When you run a content-heavy website with high traffic don’t expect fast loading from WordPress. In fact, Drupal is more powerful and offers more features than any other analogues. Websites with a host of additional functions are based on this platform: community sites designed for intensive page traffic, heavy web pages with huge amounts of content, advanced sites with complex functioning. 

Read also: The Battle of Mighty. Drupal vs Wordpress

Overall, WordPress and Joomla! are best for creating simple and “light” websites without any special crafts. When you need a web page with a thousand and one extra functions and options, unique design, etc., it should be either self-modifying or Drupal-based. But what can be done if the website is already created and functioning? When you need development or want the functionality to be extended beyond the previous CMS? How do you move a WordPress site to Drupal, and is it essential?

Drupal’s Advantages over WordPress

It’s time to sort through Drupal's specific features, how to use them, and what clear advantages they offer to developers.  If two or more of the reasons listed below apply to you, it makes sense to consider a move.

  • Improved SЕО. The system has been developed to take into account all the best and neoteric SEO-tendencies. For example, it's got inlined coaching and numerous other useful functions. Moreover, there are dozens of extensions for optimization efficiency, such as Yoast SEO.
  • Speed. Drupal is the leader in this option. It allows the user to develop a high-performing page with a high speed index. Owing to relatively small resource intensity, it's easy to connect to the server immediately and get maximum response speed. The system does a great job with multi-page webforms, and has additional extensions for processing improvement, such as website caching.
  • Security. This is actually one of the main reasons to transition from WordPress to Drupal. Drupal is the least vulnerable to criminal hacking. This is why the White House's official website is based on it. All the minor errors in SQL performance that were a problem before have been resolved completely.
  • Flexibility. While WordPress employs themes and plugins, Drupal uses modules and extensions for configuration processing. This allows for delicate detailing to make your site unique. Most packs must be installed and set up by the user, which is not that easy with WordPress. An experienced developer can achieve better results! In Drupal there is an option to integrate such useful functions as Shopify, Twitter, Yoast and others through the vast variety of modules.
  • Language selection. Drupal's system supports more than one hundred languages (though some are only partially adapted). So even in base settings Drupal is the best solution for polylingual pages.
  • Deep taxonomy system. Drupal is so convenient and flexible that it can be adapted for almost any demands and requirements. It is capable of storing a large amount of data. All possible content types — from forum messages to news articles to blogs etc. — will be categorized in the common data catalogue. Nesting of any depth is available.
  • Drupal's expanded system of extensions control that simplifies user administration is more effective than in WordPress. It is possible to differentiate user access to certain data by role models.

drupal advantages wordpress

How to Migrate from WordPress to Drupal: a Practical Guide 

Let’s have a look at the whole Wordexpress XML to Drupal migration:

  1. First we go to the WordPress admin panel, Tools > Export and choose "All Content", then click "Download Export File" and save this file on your computer’s  hard drive.
  2. Create a backup copy of the project site in case something goes wrong and you need to discard changes. You will be able to delete all Drupal files and download the copy with the initial parameters restored.
  3. Install Drupal in the same folder as WordPress. This way, you can still access administrative functions when the website stops working. Now the Drupal-based resource will be on the website address.
  4. Next, check the server's systemic characteristics: PHP version (5.2.5 and higher), MySQL (at least 5.0.15) or MariaDB (from 5.1.44), Apache (from 1.3).
  5. Download and unzip the installation package. Connect to the server by SSH and go into the root directory. The actual version is downloaded on the sudo wget [download URL] request. To find the right address, visit the Drupal download page and continue with "Recommended Release." Right-click on download button, choose "Copy Link Location", and insert the address by pressing Shift + Insert.
  6. Unpack the installation package and set Apache ownership. Then delete the .tar.gz file through the sudo rm [file name] command.
  7. Now create a database. Using SSH, connect to the server and enter MySQL/MariaDB CMS with the sudo mysql –u root –p option. As is probably obvious, we create a database through CREATE DATABASE [base name].
  8. Create the first user and provide it with maximum authorization. GRANT all ON [base name].* TO [user nickname]@localhost IDENTIFIED BY '[password]'.
  9. Quit the CMS application by executing the command quit.
  10. To complete the installation, go to your browser and open your site. When the installation page is displayed, it will give you different options. Choose the "Standard" installation and click "Save and Continue". Do the same on the next installation page.
  11. The next step will be to select the needed CMS: specify the connection parameters by entering the user’s name and password that you've created. Click "Save and Continue".
  12. Insert the site’s info and create an administrative account. Specify data in all the necessary boxes and click "Save and Continue".
  13. Right-click on the download link .tar.gz "Modules", then click "Install New Module" and insert the copied address to  "Install From a URL". Click "Install".
  14. All the actions above are repeated to install the WordPress Migrate module. We go back to the modules page and enter the Migration section. Check the boxes to all required options (Migration, Migrate UI, Migrate Example and Migrate) and save the configuration.
  15. Create a private folder in the website root. Now enter the Drupal administrative panel and click "Content". Switch to the "Migrate" tab and click "Import from WordPress". Set the path to the files you intend to download by going to Configuration > Media and inserting the full path for folders. Save the configuration.
  16. From here, you’ll be pinged back to the transition page, where you’ll click "Browse" and select XML of WordPress export (WXR), which was stored on your computer’s hard drive. Click "Next".
  17. Decide whether to import WordPress users or create a new Drupal user with all post objectives. Choose and click "Next".
  18. Select the content import method. The best option is to mark posts as "Article" and pages as "Basic Page". This allows the importer to start converting blog posts. Set the parameters and move to step 6, which converts the webpage.
  19. The last step is to make sure that all the import parameters are set correctly. Check the data once again and click "Save Import Settings and Run Import".

Depending on the imported file weight and connection speed, the entire import process may take from a few seconds, to a couple of minutes. The window should be kept open until the import is over. After it has finished the move from Wordpress to Drupal, it is considered complete!

wordpress drupal

Wordpress To Drupal Migration: Find Experts

As is clear from the previous chapter, Wordpress to Drupal migration is not a piece of cake. It requires PHP rudiment at the very least. The guidelines mentioned above are not a full treatment of the subject. Various issues can arise during the transition process, and they may be a great challenge for the amateur user.

One customer of AnyforSoft encountered difficulties in the transition of Books & Quizz content. Our experts helped them to create the corresponding posts. They also completed some complementary measures, creating custom connections to express the links through additional fields. Moreover, all question types were customized in the WP Pro Quizz plugin, allowing XML generation for inquiry topics and categories, while 'multichoice' and 'yes or no' answer options were added.

The team at AnyforSoft is eager to give you assistance with any possible issues that can take place during transitions.  Another option is to perform the whole process of transition from Wordpress to Drupal, customize your website and get it ready for application. We’ve got highly qualified IT-experts ready to deal with tasks of any complexity, provide maximum functioning speed, connect any execution modules and, as a result, provide the highest functioning, fastest speed, and best appearance to your Drupal-based web page. Contact us with your project description to get a custom quote.

Want to work with us?

Get a full-scale analysis of your business and recommended solutions to increase your profits.