How To Migrate A Website from One Domain To Another
When we develop custom WordPress sites, our normal practice is to build it on a test or development server. This is especially true when we are working on a live site already generating traffic.
Once the website is complete and approved, we transfer it over. This method is comparatively simple but it may be tiresome. However many of the steps are similar to transferring ownership of a domain.
In the below discussion, we’re assuming the domain already has adequate hosting.
You will find 2 items to consider when moving an internet site:
- The technical facet of moving, and
- Protecting any SEO work being done
In order to begin, you need to have the following information handy:
- User log ins for Cpanel or web hosting account of the domain destination.
- Utilization of Cpanel/web hosting account of domain to be migrated.
Now ask this question…
Did the website being moved have any search engine optimization work completed?
Do you plan on preserving the backlinks? If so, you will need all the URLs for that website.
Is the domain in which you are to move have an already existing site? Would you want to retain its backlinks? If the answer is yes, you again need all the URLs of that site before they are removed.
The groundwork just before migration
- Produce a backup from the website files (such as the SQL database) and upgrade WordPress and all sorts of remaining plug ins on the website that you’re going to move into. Be sure that the website still looks as it is.
- Repair the database. This is vital. Moving a website that has a damaged database can lead to a damaged website.
- Remove old backup copies because this can greatly expand the files you will upload into your client’s webhost.
- Produce a new backup using WPTwin or Backup Buddy. You can also download the files via FTP, and backup on your own, just in case the files are needed in the future.
- Upload the backup to a different folder around the destination web host. This task will minimize down time of the existing website. This is going to do nothing to the present site (if there’s a present site).
Preparing the destination domain for the migration
If there’s a current website around the domain that you’re going to transfer:
- Produce a backup from the existing site and download it/store it inside a new folder around the webhost. Again, this is going to do absolutely nothing to the present site at this time.
- Download the sitemap to obtain the listing of all index/do follow web addresses. You’ll need this should you intend on protecting the uses of back links that could help the present domain.
Completing the migration
- Produce a new database in PhpMyAdmin. Be aware of the database title, localhost, database user and password.
- Import the SQL database out of your backup, and make certain all web addresses within the database are transformed in the old domain towards the new domain.
- You may either do that by hand or make use of a tool to exchange all web addresses. If you don’t switch the web addresses, then many items like links in your navigation menu and photographs will have that old URL inside them.
- Open the Backup buddy import file, go into the database particulars and test before unzipping.
- If you didn’t use Backup buddy, edit the wp-config.php file and go into the database particulars in there.
Here is/are the reason why the URL list of the site is/are necessary:
If you wish to preserve backlinks that could indicate pages/posts around the original domain, many of these web addresses have to be rerouted 1 by 1 towards the corresponding page around the destination domain.
Take note however that if you wish to preserve the backlinks that could indicate the destination domain (prior to the website changed), then all the web addresses have to be rerouted 1 by 1 towards the corresponding new site.
See the next post as we will demonstrate an easy way of redirecting web addresses 1 by 1.
Do you need to migrate your WordPress website?
We offer an hourly web design packages. Contact us today!