The way to migrate a WordPress web site to a brand new host

New WordPress Website Host

There are occasions when you will have emigrate a WordPress web site to a brand new host or a distinct server. Maybe you need to change an internet site’s construction, optimize it for cell or it’s possible you’ll simply be dissatisfied along with your present server’s service and efficiency.

Migrating can resolve your drawback and go easily – so long as you are taking the mandatory steps to keep away from information loss and downtime. Like every venture, understanding what to do earlier than leaping in is vital. Right here’s what it is advisable to know:

What to do earlier than you migrate an internet site 

As with every net venture, success begins with advance prep. So, what must you do earlier than you migrate an internet site? Earlier than you roll up your sleeves and get began, observe these three steps:

The dimensions of your database will decide how shortly your migration will occur. Regardless of in case you have a mega ecommerce web site or a web site with only some plugins, take the time to make your file and database dimension as small as doable. You are able to do that by eradicating all backups, cache directories from previous plugins, unused themes, plugins and movies.

Subsequent, do some advance prep. You don’t need to lose orders, visibility or performance. Take these steps:

  • Take stock of all of the content material so you’ve got a guidelines of every thing that should migrate from level A to level B. When you establish content material that doesn’t have to migrate, remove it. You need to switch solely the content material that’s present.
  • Word your present themes. Evaluation your theme recordsdata and word any additions you made to code.
  • Take stock of your community sources and configurations together with IP info, domains, firewall entry management lists, inside and exterior DNS entries.
  • Evaluation your JavaScript frameworks and variations on your web site so you’ve got a easy transition.
  • Contact the supplier who issued your SSL certificates to know the phrases and circumstances associated to migrating your web site.
  • Perceive the dimensions of your web site. Some are too large (over 1GB) to manually or mechanically migrate. Fairly than guessing based mostly on dimension of tables, variety of posts or stock of orders, export a compressed SQL file to know the precise dimension of your database. For giant databases, plan on migrating utilizing SSH instructions.

Are you migrating a big ecommerce web site? Take some additional steps to ensure your product information, buyer information and order histories switch. Set up all of your consumer, product and catalog information and spotlight what ought to be migrated.

Lastly, as a part of your preparation, allow a upkeep web page that may present a user-friendly message to customers with various hyperlinks to go to when the positioning is present process migration.

Step 1: Again up your web site recordsdata

Backup is vital as a result of in the event you run into an issue throughout migration — like corrupted or lacking recordsdata — you’ll be capable to restore that information out of your backup.

Begin by retrieving your web site recordsdata from the unique host. You should utilize file switch protocol (FTP) to obtain them to your native pc. Then, log in to your net host and replica all the recordsdata out of your web site’s root listing to a folder in your native pc.

Step 2: Export the database

As soon as the switch is full, you may transfer on to copying the database. The database is an important piece of your WordPress web site — it’s the mind that holds all your pages and posts.

Much like the file backup, you’ll begin by making a replica of the database. Most hosts provide entry to a database via phpMyAdmin. To repeat the database:

  • Log in to your host management panel and entry phpMyAdmin.
  • Choose your web site’s database from the left column after which click on Export from the highest menu bar. The export technique ought to default to Fast, which is suitable for these functions. You’ll additionally need to ensure that the format is SQL. This can make sure that your backup is universally acceptable for MySQL.
  • Click on Go, and also you’ll be prompted to obtain the .sql file. Transfer this file into the identical folder as your web site to maintain observe of it when you full the migration.

When migrating your consumer’s WordPress web site, concentrate on database dimension. Database export or import may fail on account of database dimension. Some large databases can solely be imported by way of SSH. It’s best to test your prospects’ database dimension, which one is the most important desk, what number of posts there are, and what number of orders for WooCommerce installations. The solutions to those questions can decide in case your consumer’s web site is an effective match for the internet hosting which you are attempting emigrate it to.

Selecting between a guide web site migration or an computerized web site migration

With migration prep accomplished, you may proceed to the subsequent step and determine if you wish to migrate your web site manually or mechanically.

Handbook migration is simply what it feels like: copying and pasting your present web site information by hand. With a guide migration, you will have to be comfy accessing databases, transferring them after which modifying the wp-config.php file. You are able to do all of it via the file supervisor in your internet hosting management panel or you should utilize an FTP consumer. When you select guide migration, take into accout the professionals and cons:


  • You may evaluation the content material throughout the complete course of. You’ll be capable to guarantee each bit of content material is positioned and linked appropriately as you migrate it.


  • Handbook migration isn’t appropriate for big websites.
  • You have to some expertise in coding.
  • Handbook migration can take up much more time in comparison with computerized migration.
  • Handbook migration leaves extra room for human error. You have to to construct in additional time for testing and verification after migration.

For an automatic WordPress migration, you employ customized purposes, extensions developed by CMS platform distributors or common migration instruments that may transfer all of your web site information from one platform to a different. When you select automated migration, take into accout the professionals and cons:


  • Automated WordPress migration is an environment friendly technique for big websites.
  • You do not want coding expertise to do automated migration.
  • In comparison with guide migration, automated migration is far sooner.


  • Although most hosts provide free migration, generally there’s a price related to buying or growing the instruments wanted to automate migration.
  • Regardless of in the event you do an automatic or guide migration, custom-made information or content material could not migrate relying on the instrument used.

For both course of, you will have to pick a plugin, a software program add-on that offers you the performance to do a migration. Choices abound, however it’s possible you’ll need to test GoDaddy’s free migration on Managed WordPress, or choose the free Duplicator or All-in-One WP Migration instrument. For both, you merely arrange the plugin and use the Import perform.

The way to mechanically migrate a WordPress web site

When you select to mechanically migrate your WordPress web site, be sure you have the brand new web site’s login particulars together with username and password in addition to the hyperlink to the previous web site. There are a lot of plugins and instruments that you should utilize to do it, reminiscent of:

All-in-One WP Migration

Duplicator – WordPress Migration Plugin

Many hosts additionally provide straightforward automated migrations.

With Managed WordPress by GoDaddy, you may simply enter your WordPress web site and credentials to get your web site migrated.

  • Go to the GoDaddy product web page, within the Managed WordPress part, choose Handle All.
  • Subsequent to Managed WordPress, choose + Create Website.
  • From the checklist of Your present plans, choose the Managed WordPress plan you need to use for the positioning you’re shifting, after which choose Subsequent.
  • Choose Migrate an present WordPress web site.
  • Fill out the remaining fields to get your web site migrated.
  • It might take some time earlier than the migration is accomplished, bigger and extra advanced websites might take extra time. We’ll ship an e mail after we’re completed migrating your web site.

The way to manually migrate a WordPress web site

When you select to manually migrate your WordPress web site, observe these steps:

  • Step 1: To add your web site recordsdata, log in to the vacation spot account utilizing FileZilla and browse to the online root of the vacation spot internet hosting account. In case you are utilizing cPanel, that is usually the public_html/ folder. Then, drag your web site recordsdata out of your native pc to the brand new host’s net root. Relying on the dimensions of your uploads folder and plugins, this course of could take a while.
  • Step 2: Create a database within the new vacation spot by logging in to the vacation spot account’s management panel. In case you are utilizing cPanel, you’re searching for the choice MySQL® Databases. Create a brand new database and title it appropriately on your web site.

When you’ve created the database, create a brand new database consumer after which add the brand new consumer to the brand new database with ALL PRIVILEGES. Make sure that to write down down the database title, username, and password — you’ll want them for later.

  • Step 3: Import the database by logging in to phpMyAdmin on the vacation spot account and click on on the title of the brand new database that you simply simply created. Then on the highest bar click on Import. Click on the browse button and choose your .sql file that you simply made earlier. Click on Go, and the database will start importing. Relying on the dimensions of your web site, this course of may take a while to finish.
  • Step 4: Subsequent, repair the wp-config.php file to meld the recordsdata and database. You may edit this file in FileZilla by right-clicking on it and choosing Edit (cPanel additionally supplies a file supervisor the place you can also make edits to this file). What you’re searching for are the next settings on this file:
outline('DB_NAME', 'new_db');

outline('DB_USER', 'new_db_username');

outline('DB_PASSWORD', 'new_db_password');

outline('DB_HOST', 'localhost');

Take the database info that you simply wrote down earlier and exchange the previous database info in these strains of code with the brand new credentials.

What to do after migrating an internet site

So, what must you do after migrating an internet site?

At this level, your web site ought to be in working order if the area has remained the identical throughout the transfer and DNS is already arrange. But when it is advisable to do a website change, the positioning URL and residential URL will must be modified to mirror the brand new area.

You are able to do this quickly by including the next strains to your wp-config.php file along with your area changing the textual content “”:



When you don’t need to add short-term domains, you should utilize a bunch file to preview your consumer’s web site on a brand new internet hosting earlier than going stay with DNS change. You are able to do this by including entries to the host’s file in your native pc.

You must also do a common “discover and exchange” to seek out all situations of the previous URL. Usually, these URLs find yourself in lots of extra locations than simply the configuration. Plugins such because the Higher Search Exchange will be useful in dashing up this course of.

If the area will stay the identical after the migration, you’ll solely want to vary the A document on your area to level to the IP tackle of your new internet hosting account. This course of varies between registrars, so it’s greatest to find how to do that half with whomever you bought your area from.

Moreover, some WordPress themes additionally require extra steps after you full the beforehand talked about steps. For instance, in the event you’re utilizing the Avada theme, you will have to clear the Avada Fusion Builder cache after migration.

Publish-migration guidelines

At this level in your migration, do some high quality management and double-check that the migration went properly. Comply with these steps:

Step 1: Make sure that your permalinks to your posts and pages are up to date. In WordPress, go to Settings > Permalinks, and click on Save (you don’t want to vary the rest on this web page). This makes positive all of the permalinks are refreshed to match the brand new host since they generally get tousled throughout a migration.

Step 2: Now, test to ensure pages, posts and hyperlinks are displaying up and dealing correctly. Examine for lacking photographs, damaged hyperlinks, and different indicators that issues could be damaged. When you discover any issues, be sure you repair them in WordPress. Some widespread areas to troubleshoot embody:

  • Contact type not sending emails after migration
  • Modify management recordsdata accordingly in web site builder
  • PHP model variations on web site supply and internet hosting vacation spot
  • Examine for remnants from earlier hosts in WordPress recordsdata (for instance, WP Engine and BlueHost)

Step 3: Delete the installer and archive recordsdata from the instrument you used, since they’ll pose a safety danger. Preserve the native backup copy of your recordsdata and the database export, together with the unique wp-config.php file in case it is advisable to reverse the migration.

Step 4: Cancel your account along with your previous internet hosting supplier so that you don’t get charged twice.

Step 5: Make sure that your web site has SSL, CDN and Firewall configuration.

Professional tip: Replace your IP in your Firewall settings after migrating to a brand new host.

In search of a brilliant straightforward method to migrate your WordPress web site? Study GoDaddy’s 1-Click on WordPress Migration. or take a look at the Hub by GoDaddy Professional for streamlined migration and backups for WordPress websites plus precedence assist everytime you want it.

Source link