Migrating from drupal 7 to drupal 8 - A brief guide.

  • By :Shefali
  • Date :28-02-2017

You have to agree that nobody migrates to another place if they find no advantages in doing so. Migrating is always a tedious and complex task but that is nothing compared to the benefits it offers. When you migrate your website from Drupal 7 to Drupal 8, you will have a website that performs better, has a more user-friendly UI and UX, better support, improvised security and many more amazing features.

Here are a few reasons why you should upgrade to Drupal 8 CMS:

  • You get most of the functionalities out-of-the-box which means you don’t need to install and use additional contributed modules to take care of some major important tasks.
  • Responsiveness is also out-of-the-box – So you don’t have to worry about how your website will look like on different devices.
  • Content authors will love it as Drupal 8 provides a more organized, clean and user-friendly interface to manage content.
  • A lot of documentation is available to help developers in having a better and a more knowledgeable experience.
  • Drupal 8 theming is powered with ‘Twig’, which is a PHP-based template engine. It is less complex than PHP template and also provides a more secure theming layer.
  • ...and there are a lot more.

So, how complex is it?

Well, that depends on the complexity of your website. The more stuff you have on your website, the more problems you are likely to run into. By “stuff”, I mean modules – both Custom modules and Contributed modules, content types, vocabularies, etc. Many modules from Drupal 7 have been replaced by new modules in Drupal 8 and some inactive modules that have no support or are obsolete, are going to be unavailable. For such modules, you might need to do some manual upgrading.

Methods of migration

Drupal 8 not only makes website building more powerful and easy, it also makes migration simple and quick. With Drupal 8 core, comes three modules that can help you migrate from Drupal 6 or 7 to Drupal 8 easily. You will first need to create a fresh new website on Drupal 8 and enable the core migration modules. Using the browser user-interface you can now start the migration process. That’s it! Once done, you can review migration messages and make changes as required. You might notice some errors messages at this stage. Let’s say, if you have some modules that also need to be migrated to Drupal 8, unless you enable and configure them in your Drupal 8 site, it will not get migrated and you may run into ‘Missing path’ errors. If you have a large database and a highly complex Drupal website to be migrated, using some contributed modules that use Drush commands are recommended. Let us look at some migration modules:

Core Drupal 8 Modules:

Migrate – This module provides the framework for content migration to Drupal 8.
Migrate Drupal – This module provides classes and functions to migrate content and configuration to Drupal 8.
Migrate Drupal UI – This module provides a user-interface and tools that are needed to perform an upgrade to Drupal 8.

Contributed Drupal Modules:

Migrate Upgrade – Provides Drush support for migrating or upgrading to Drupal 8.
Migrate Tools – Provides tools to manage migrations, like listing migrations and statuses, performing imports, performing rollbacks, stopping an operation, etc.
Migrate UI – Provides a user interface for editing and configuring migrations to Drupal 8.
Drupal Module Upgrader – Provides Drush scripts for converting module code from Drupal 7 to Drupal 8.

Recent blogs

I always had good feeling about mobile ecommerce; the best practices to make shopping (on mobile) simple, easy, quick &...
Ecommerce Site Search
I always thought it was just me (maybe a few others) who would directly head for the small magnifying glass or the search menu on...
What are Top eCommerce Companies doing to get it right?
Here’s some bitter truth – about 8 out of 10 eCommerce companies fail within the first two years, even when the eCommerce market is...