wordpress to drupal migration using drush commands made easy

I migrated some wordpress sites into drupal very easily.  With drupal 7 it is very easy. There are some drupal modules which are really helpful to migrate the wordpress posts and pages in drupal site. Drupal is more famous and usable in people and developers. Many clients demands for doing there site in drupal. With my simple steps you can easily migrate the wordpress sites to drupal.

wordpress to drupal migration

If you are drupal developer then you just need to use following drush commands with plain drupal installation. Many people are moving there sites to drupal now.

Following commands will install all related drupal modules which are helpful to do the wordpress to drupal migration.

#drush pm-enable migrate_extras -y
#drush pm-enable wordpress_migrate -y
#drush pm-enable pathauto -y
#drush pm-disable ckeditor -y
#drush pm-enable media -y
#drush pm-enable token -y
#drush pm-enable imce -y

Above commands will download the module and install it in your drupal application. Modules will be activated also. Now you just need to import your wordpress blog into drupal application.

Login to drupal admin and go to “admin/content/wordpress”.  Add the wordpress URL, username and password. Then click on “Import wordpress blog” button. That sit.

wordpress migration to new hosting service or domain

how to do wordpress migration to new hosting service – This question always came to web developers. After searching on Internet I really did not found satisfied answer for this question. Using our steps wordpress migration to new hosting service or domain made easy

wordpress migration to new hosting service or domain

Earlier I did wordpress migration to new hosting service or new domain so many times. It was like 5 minutes job for any web developer. Don’t be afraid about wordpress migration at all.

Many people suggest to use wordpress utility which import and export xml. This is given by wordpress itself. But I strongly say don’t use that tool. that is not really full proof.

Just follow my steps to do wordpress migration to new hosting or domain.

1. First take backup of file system of your wordpress website using FTP credential.

2. Open wp-config.php file and change database name(what you want)

3. wp_options -Table name
option_name column – change(siteurl and home)

4. wp_blogs- Table name
domain column – change to your domain name

5. wp_site- Table name
domain column – change to your domain name

6. wp_usermeta
meta_key column – change(source_domain)

Most important part of migration. Fixing the image path of wordpress website

7. Just run following query using phpmyadmin or command prompt and any sql editor.

UPDATE wp_posts SET post_content = REPLACE(post_content, ’NEW_DOMAIN.com’, ‘OLD_DOMAIN.com’);

For changing the mysql queries you can use the following URL:

https://purabtech.in/mysql-queries-wordpress-website-migration/

Follow above steps and your are done with migration.

wordpress migration to new hosting service or domain
wordpress migration to new hosting, question always came to web developers. Using our steps wordpress migration to new hosting service or domain made easy

That sit!