25 October 2017
Comments 0
25 October 2017, Comments 0

Most Effective Way To Overcome your Website Migration Problem

 

When you initially choose to begin a WordPress site, there are a couple of things you should do.

At long last, you decide to take a shot at creating a website. You have to set up a facilitating account, purchase a domain name, introduce WordPress into it, and set up your site.

A year cruises by. Your site has been doing great. You are currently happy with your work. Too early, you get a mail asking you to restore your facilitating account. There is one issue however: reestablishment costs are substantially higher than joining over again for another record. The best way out of this circumstance is WordPress relocation- also known as WordPress Migration.

Relocating a WordPress site individually can be an extremely difficult process, particularly in case you’re new to the framework. Dealing with a site migration incorporates routine undertakings. For example, re-inserting content, and redoing your site, while additionally performing reinforcements. Since these assignments are altogether different as far as the specialized know-how required is concerned, it might be problematic to move a WordPress site.

What makes WordPress relocation such an intricate assignment, is the way that various things can turn out badly amid the procedure. (This is the reason it’s critical to have a backup reinforcement of the site before the relocation starts). The site additionally should be continually checked through the procedure.

How to move your WordPress site

There are a few factors which could help determine what your migration experience is like:

  • Skills required
  • Work required
  • Time taken
  • Efficiency (or accuracy)

Based on these factors, you can choose to perform a WordPress migration in two ways:

  1. Migrate WordPress site manually
  2. Migrate using a WordPress plugin such as Migrate Guru.

 

Each of these methods has their own advantages and disadvantages. Of course, the situation depends on how important the above factors are to you.

To Migrate WordPress site manually

To manually migrate your WordPress site, you need to perform the following steps (as explained in the WordPress codex):

  1. Backup your whole site
    You can either do this manually, or via a tool, like a WordPress backup plugin like BlogVault. WordPress sites consist of 2 primary parts: files records, and a database. Both these parts are similarly essential and must be backed up before you move your WordPress site.To backup the site manually, you need to copy of the files via FTP, and the database, imported via phpMyAdmin.

 

2. Backup the database

On carefully placing your files on your local computer, you must export the WordPress database. You will need access to cPanels as well.

  1. Log in to your cPanel
  2. Navigate to Databases section
  3. Open phpMyAdmin
  4. Choose the Export tab
  5. Select a method
  6. Pick a format
  7. Click Go button to save the database on your computer

 

3. On the new host, create a new database. Here’s how. Open cPanel on new host

  1. Navigate to MySQL Database
  2. Create a new database
  3. Create a new MySQL user
  4. Add new user account to the newly created database with all privileges selected
  5. Copy database name, username, and password

 

You will have to move your site to a new domain, you’ll need to create a new database on the hosting service you’re moving to. This also means creating a new MySQL user with a secure password.  

Note: Once this has been done, keep the database name, new MySQL username and its password safe.

4. Rearrange the wp-config.php file to reflect the new database changes
Here, you will need to change the database name, the database username, and the database user password.

  1. Open the WordPress folder you backed up previously.
  2. Produce a copy of wp-config.php file just in case you do something wrong
  3. Open the wp-config.php file and search for this code:
    define(‘DB_NAME’, ‘your_database_name’);
    /*The MySQL database username */
    define(‘DB_USER’, ‘your_user_name’);
    /*The MySQL database password */
    define(‘DB_PASSWORD’, ‘your_password’);
  4. Alter the database name, username, and password to newly created ones
  5. Save changes

5. Create another backup
Ensure that this backup doesn’t overwrite the past one. It ought to contain all the new implementations made to the database. Follow the steps specified in Step 1 afterwards.

6. Import the Backup on the new domain

After this, you’ll have to move the files and database to the new domain via FTP and phpMyAdmin, respectively. Follow the below steps:
a.  Login to your FTP account
b.  Find WordPress or public_html folder
c.  Upload the entire WordPress folder from your computer

7. Link your site to the new domain
When you’ve got external links on your site, they might break when you move them to a new domain. This is why it’s important that you update the links to point to the new domain. You can do this either manually, or via a plugin like Better Search and Replace or Search and Replace.

8. Update (or repoint) your DNS
You’ll have to update your DNS settings so they point to the new server instead of the old one. You can get the details required from your domain registrar.

Highlights and Challenges of a manual WordPress migration

Pros:

  • Better option if you’re acquainted with WordPress
  • Free
  • You have control

Cons:

  • Takes time
  • Needs physical work
  • Can be daunting for a first-timer to do
  • You need to be very cautious at every step of the process

This is also why other options exist.There are migration services provided by web hosts, and WordPress migration plugins.

Migrate WordPress site with Migrate Guru

Migration plugins then again, are tools that altogether improve the manual migration process for you. There are many WordPress migration plugins accessible in the vault. While their procedures fluctuate marginally, they all work on the fundamental rule of playing out a backup mechanism, moving it to the new area, and naturally offering a Find and Replace function with the goal that URLs can be revised.

For delineation, we will take you through the way toward relocating your WordPress site with Migrate Guru, a WordPress migration module that is extraordinary for moving huge WordPress locales.

Pros:

  • Free
  • Needs minimal manual work

Cons:

  • Takes less time

The Preconditions for using Migrate Guru

Migrating a site with Migrate Guru comes with a few simple prerequisites:

  1. A new hosting account with a domain that has WordPress installed and knowledge of the directory in which you installed WordPress (You would have selected this when you set up a domain on your new hosting account)
  2. Migrate Guru WordPress plugin installed on the site you want to move

You can do this by logging in to the site you want to move (the source site), navigating to ‘Plugins’ and clicking on ‘Add new’. Type in ‘Migrate Guru’ in the search bar, and click on ‘Install Now’.

Once installed, activate the plugin.

Using Migrate Guru

Step 1: Choose the host you want to migrate to, via Migrate Guru

a) If your destination host is on Migrate Guru’s list of hosts, choose one of them.

b) If you can’t see your host in the list, you can choose to move your site via FTP or cPanel, depending on which option you have the credentials for.

If you select FTP instead of a host, this is what you should see:

You’ll be asked for the following details:

  • Email address: The email address to which you’ll be receiving emails detailing the progress of your migration
  • Destination site URL: the URL of the domain you’re moving your site to
  • FTP type: Make sure you know which protocol your host uses – FTP, SFTP, or FTPS. If you enter the wrong protocol, Migrate Guru will prompt you to change it.
  • Host/Server Address: This should be on your hosting account’s cPanel.
  • FTP Username and Password

If you select cPanel instead of a host, these are the details you will be asked for:

  • Email address: The email address to which you’ll be receiving emails detailing the progress of your migration)
  • Destination site URL: The URL of the domain you’re moving your site to
  • cPanel Username and password

Note:

If your site is HTTP Authenticated, click on ‘Advanced options’ and enter the username and password for the source and destination site. They are needed ONLY if either the site being moved or the destination site is ‘https://’ instead of ‘http://’. If the URLs of either one begin with ‘https://’, they are HTTP authenticated. These credentials can be retrieved from the site’s server logs. Some website hosts offer apps in cPanel that make it easier to browse those logs.

Step 2: Fill up the form, click ‘Migrate’

Once you have all the details required, fill up the Migrate Guru form, and click on the ‘Migrate’ button.

Accordingly you will receive notifications with real-time progress screen where you can see how much of the migration process is over, and how much is left out still.

Migrate Guru will send you an email notification confirming that the process of migration has begun. Meanwhile, you will also be taken to a screen that portrays the real-time progress of your website migration. The link for the same can also be found in the mail notification.

Once the migration process is completed, you will receive another email from Migrate Guru notifying about the successful migration, and the link to the migrated site.

Now that you have moved your site…

After your migration is over, it’s important that you repoint the DNS of your site to the location it’s been moved to. It takes about 4 hours for this to happen.

For most hosting accounts, you can edit your DNS settings from the cPanel, under a option of ‘DNS settings’.

Note:

This link should help you with the details for Bluehost

In conclusion, WordPress migration can be troubling especially if you’re new to the ecosystem or are unfamiliar with the processes required. However, having a WordPress migration plugin like Migrate Guru considerably reduces the time and effort required to move your site without any downtime.

Comments are closed.