In the past, when HTML websites were the norm, you just had to move your website files, and voilà, your website was working properly from the new location. Nowadays, most websites use PHP and MySQL, which makes the process of moving a website slightly more complex. To avoid any configuration mistakes, it is very good to have a step-by-step guide that is easy to follow. Since WordPress is the most widely used website software application, we will explain the different types of "moving" a WordPress website and provide step-by-step guides for each of them.
In general, the process of "moving" a WordPress website may refer to any of the following actions:
- Switch hosts and keep the domain
- Switch hosts and change the domain
- Change the domain of WordPress
- Move WordPress from one ICDSoft hosting account to another
- Move WordPress to a subdomain or a different directory
- Move WordPress to HTTPS
We offer free website migration for new hosting accounts. To move your WordPress from another hosting provider to us, all you need to do is to send us a request through a support ticket and provide access to your account at your old hosting provider. We will take care of the rest.
If you do not want to take advantage of our free website migration service, you can move your WordPress website to another host on your own and keep the same domain name. Here are the steps that you need to perform:
To move your site to a new host and change your WordPress domain, you have to complete the steps of the "Switch hosts and keep the domain" process, as well as one extra step at your new hosting provider:
To change the domain (Site Address/URL) of WordPress, you need to update all records in your WordPress database that are associated with your domain. You can do this in a lot of ways. We advise against changing your domain (Site Address/URL) through the WordPress Dashboard as there is a high chance that some images or page elements will continue to load from the old domain. We also advise against using phpMyAdmin as it can result in data serialization issues.
Our hosting Control Panel's "WordPress" section (that was recently announced in our blog) and WP-CLI have proven to work properly, so we will explain how to use them to change the domain (Site Address/URL) of your WordPress:
WordPress should store its domain (Site Address/URL) only in its database; however, the domain may be hard-coded in the files of your WordPress installation. This usually occurs by a caching plug-in or a theme's cache. So, you need to make sure that you purge your WordPress cache. If you still notice missing images, CSS files, or any other discrepancies, you should check the console of your browser for specific errors. It can help you find resources that link to the old domain. You can open the browser console on most browsers with the F12 function key of your keyboard. Of course, if you are unable to resolve the problem, you can contact us through a support ticket.
It takes a few simple steps to move a WordPress website from one ICDSoft hosting account to another. You can find a short overview of the steps listed below; for an in-depth guide on the process, please check the "Moving WordPress between hosting accounts on our servers" article from our online documentation.
- Create a backup through the hosting Control Panel (where WordPress is currently installed) -> "WordPress" section -> "Manage WordPress installations" subsection -> click the pencil (edit) icon for your WordPress installation -> "Backup" section -> "Backup now" button.
- Download the backup to your computer using the "Download" button next to the newly created backup.
- Import the downloaded backup to the account where you want to move your WordPress installation through the hosting Control Panel -> "WordPress" section -> "Import WordPress backup" subsection.
- Last but not least, you have to change the name servers of your domain name, so they point to the hosting account where you just imported your WordPress website.
To get an existing WordPress website working from a subdomain or a different directory within the same hosting account, you need to move the files of your WordPress website and change its Site Address (URL) in the database. There are multiple ways to achieve this result; however, we will list only the two most commonly used ways below:
Move WordPress to HTTPS
We have made a dedicated topic for this, since it is a very common question: How to move WordPress to HTTPS.
As you can see, people may have something completely different in mind when they say they want to "move" their WordPress website. That is why we tried to explain all the possible ways of "moving" WordPress. Now, you know where to look if you need to “move” WordPress websites just about anywhere – from one host to another, from one domain to another, from a domain to a subdomain or a subdirectory, and even from HTTP to HTTPS.
We hope you liked this post and learned something new. If that is the case, please share it.