- WordPress Website Migration?
- When to Move a Website to a New Host Manually?
- Does Website Migration Differ Depending on the Hosting?
- 3 Ways to Migrate a WordPress Website to a New Host
- What to Pay Special Attention to When Migrating a Website to a New Host?
WordPress Website Migration
First the good news: moving a website to another hosting isn't as complex as it might seem. In fact, it's simpler than moving a page to another CMS or migrating content in general.When to Move a Website to a New Host Manually?
The answer to this question is simple. When you’re well prepared, you have a strategy and you’re able to do it in the shortest possible time. As far as the time of day is concerned, it's best to move a WordPress site to a new host when users aren’t active. What does it mean? Usually, you can do it during night hours, but the specific data can be found in Google Analytics. The time of year doesn't matter much here, because it's not a very demanding type of migration. However, it's advisable to migrate your website off the season. If your current hosting is giving you sleepless nights and slowing down your site, it's better to do it right away (note how important site speed is according to Core Web Vitals).Does Website Migration Differ Depending on the Hosting?
How to migrate a WordPress website to a new host? Does hosting matter here? While the type of CMS has a big impact on the migration (in the case of WordPress you'll often use plugins), hosting isn't important. Of course, there will be some differences. However, the changes will rather consider the design of the client panel. Nevertheless, it's crucial to remember that each hosting combines some of the most important aspects that affect website migration:- MySQL database,
- Access to an FTP account,
- Possibility of uploading files to the server,
- Possibility of installing WordPress (manually or automatically).
3 Ways to Migrate a WordPress Website to a New Host
Option 1 - Help from the Service Provider
Sometimes it turns out that you don't really have to do much. As hosting providers want new customers, they often offer to take care of most of the paperwork for you. Moving a website to a new server is one of the most complicated tasks. Therefore, if you are afraid that your skills aren't good enough to move your WordPress site to a new host manually, check if your provider doesn't offer to do it for you. Often this service is free, but check if there are any hidden costs.Option 2 - Moving the Site with the Help of a Plugin
If you decide to migrate the website on your own, with the use of WordPress plug-ins, prepare the right environment. This is what you’ll need:- new hosting;
- a plugin to back up WordPress, such as all-in-one WP Migration, WP Vivid, or Duplicator;
- a file to install WordPress on the new server
Tip: Read about the site copy size limitations of each plugin. If you are migrating a very large site, instead of Duplicator/All-in-one WP Migration, for example, you can use the UpdraftPlus plugin, which has no site size restrictions.
3. When you go to the "Export" tab, you will see the possible options for exporting a page. Select "click to expand" to see them all. You can decide that you don't want to export plugins or the site theme. However, you don't have to select anything here for the export to work properly.
4. Below that you can see the green "Export." The plugin has dozens of different export destinations. It's convenient to simply select a "file" you then upload to the plugin on the landing page.
Tip: For proper export and import, disable page cache plugins such as W3 Total Cache.
5. Save the copy on your computer by clicking the download button. You'll see it when the export is complete.
6. Go to the landing page and open the same plugin in your WordPress dashboard. Open the Import tab - the one where you upload the file from your drive.
7. Add (drag) a drive file to the appropriate area or click Import from -> File.
8. Once you have finished uploading your files to the server, you should get a message that everything is ready. You should also see a warning about overwriting data. Continue and let the plugin complete the entire process for you.
Remember - if something goes wrong, it may be caused by your website being too heavy, not having enough server space, or having a poor internet connection. Remember that every WordPress plugin has its own manual and a FAQ section. Use the help you can find there.
9. The final step is to update your permalinks. From within WordPress on your new server, go to Settings -> Direct Links. You don't have to change anything here. Select "Save changes". Don't skip this step, even if you don't have to change anything in the settings. Clicking "save" is necessary to ensure that your page has the correct, updated URL structure.
Need help with SEO migration? We have dedicated migration services that will be perfect in this situation. Try them out!
Option 3 - Manual Migration
If you prefer to perform actions on your site without using advanced plugins and you aren't terrified by FTP, there is also the third option. Again, we'll start with preparing the environment. Be prepared for more work, as this option requires exporting a copy of the MySQL database to the new hosting. It's about transferring a copy of the files to the new server (via FTP), updating the wp-config.php file, and redirecting the domain to the new server. What will you need?- New hosting and all access data to the new FTP account;
- access to the FTP account of the current hosting;
- access to WordPress panel;
- access to the database via phpMyAdmin software (login details can be found in wp-config.php file) or the WP Migrate DB plugin
/** The name of the database for WordPress */
define( ‚DB_NAME’, ‚database_name’ );
/** MySQL database username */
define( ‚DB_USER’, ‚user_name’ );
/** MySQL database password */
define( ‚DB_PASSWORD’, ‚password’ );
/** MySQL hostname */
define( ‚DB_HOST’, ‚host’ )What to Pay Special Attention to When Migrating a Website to a New Host?
- Eliminate the risk of site downtime. This is a situation where your website becomes inaccessible to customers. This situation results in a loss of traffic and can even take a toll on your SEO results.
- Make sure that the new server and WordPress are compatible with each other, e.g. in terms of the required PHP version.
- Check if moving your site to a new hosting didn't affect its speed. If it did, look for the source of the problem. It may be the PHP version or the server's fault.
- Check if all forms work, and the purchase process can run smoothly. Check the server compatibility against the CMS, such as the required PHP version.
- If you're migrating an e-commerce store, make sure that all data is merged and consistent. In a situation where the site didn't experience a technical break, some of the orders may have been duplicated and executed on both the old and the new version of the site.
- A site load test is a good idea. It helps to see how the increased traffic affects the loading speed of the site on the new hosting.