7 Steps to Migrate Your Wordpress.com Site to a New Server

steps to migrate your wordpress.com site to a new server

Setting up and running your WordPress website is all fun and games until you decide you need a new server. This is the opinion held by many people. They imagine that moving their sites to a new host is a long and daunting process, while actually it isn’t. In this article, we will focus on steps to migrate your WordPress.com site to a new server.

If you are having problems with your wordpress.com site, it could be time to look for greener pastures. Some may choose to stay with the same sever because they fear damaging their site during the migration process. Many look for experts to help them with this task, while others acquire the services of another host. Only a few have a go at it on their own.

If you currently own a website, you probably build the site on your own. The process of moving to a new server shouldn’t be a problem if you are familiar with WordPress’ features.

 Without wasting any more time, let’s have a look at the steps you need to follow to migrate your wordpress.com site to a new sever.

  1. Step 1: Back Up of site’s files

This is the first important step. It is akin to backing up a computer’s data when you are about to update the operating system. Although many plugins are available to help your perform this task, you need to do it manually for better results.

Connect to your web host using FileZilla (an FTP program) then copy the websites files to a folder in your PC. It is important to check the help file on the FTP program because files such as .htaccess are usually concealed. The process might take a bit longer so patience is paramount.

  1. Export of WordPress database
ALSO READ  16 Best Tools to Find Influencers on Social Media

Exporting your database is a simple task. Simply open the phpMyAdmin after logging into the cPanel account of the website server. On the side bar at the left side of the screen, select the WordPress installation then click on the Export button that appears on the navigation menu.

The SQL format and the default settings of Quick Export are okay so you will proceed with the process. Next, Select the Go button and the exportation process will begin. The file will be downloaded to your PC. You will be ready to move to the next stage once the FTP file transfer and database export is complete.

  1. Creation of WordPress database on the new server

Before you migrate to the new host server, you must first prepare it for the WordPress installation. There has to be a database which you can import your SQL data into. You will be given user login details which you will use to access the cPanel software.

You can use MySQL databases application to complete this process. If you discover that a web host doesn’t have this application then inquire on how you can create a database.

The first step is to open MySQL Database and creating a new database. Secondly, create a new MySQL user and don’t forget to develop a strong password. Lastly, add the user account to the database and give it All Privileges.

  1. Editing of the wp-config.php file

Look for the folder where you downloaded your WordPress site files to. In the folder, you will see a file named wp-config.php. It is the file that controls access between your database and website.

ALSO READ  Social Media Posting Guide for Businesses

 Take a copy of the file and transfer it to another folder in your PC so that in case anything goes wrong you can still start the process. Next, use a text editor to open the original file and make the following edits.

  1. Change the Database Name

Look for this line: define(‘DB_NAME’, ‘db_name’);

Change the db_name part of the line will have your old web host’s MySQL database name. You should change the name to that of the new database.

  1. Change database username

The second line you will see is: define(‘DB_USER’, ‘db_user’);

The db_user part of the line will contain the username of you old web host. Change it to match the username you just created.

  1. Change of the database password

Locate the third line: define(‘DB_PASSWORD’, ‘db_pass’);

The db_pass section of the line should be changed to the new password created for MySQL user.

After going through these three steps, save the wp-config.php file.

  1. Database import

Having created a database, the import process can begin. Go to the cPanel software and launch phpMyAdmin then select your new database. When it opens click on the import tab in the navigation menu. In the file to import section, click on file button and select the SQL file you had exported.

The next step is to un-tick the partial import check box while ensuring that the format is set to SQL. Lastly, click the Go button to begin the import. The time it takes to complete depends on the size of the database.

  1. Upload of WordPress files

Using an FTP program, connect to the new web host and look for the folder where the site will be held. Upload the files to the public_html folder. The uploaded files will include an updated wp-config.php. The process usually takes much longer. Take care not to delete the files from you PC once the upload is over.

  1. Defining new domain and linking to new URL
ALSO READ  Scaling Your Business with HubSpot's Growth Stack: A Step-by-Step Guide

This step is important if you are moving to a new domain. If you are moving a site, you will probably discover that there are links to other posts or images pointing to a URL on the server. This usually cause a break. To replace the old domain name during the migration process, use the Search Replace DB Script.

As you go about replacing the old domain, note that you’ll also be changing the site_url and home_url in the database. This is important because it will ensure that when you login to the site on the new domain you won’t be redirected to the old domain.

get google ranking ad

Remember to reconfigure the domain’s DNS settings before you use the site on the new host. These DNS changes usually take up to 48 hours to complete. After this period everything will be set. It is advisable to hold on to the backup files and database export because you may want to reverse the migration at some point.

Conclusion                                    

As you can clearly see, the process outlined above can serve any website owner-beginner or expert. You only need to ensure that you religiously follow all the steps. Keep the files on your PC just in case you think of returning to the original server.

About the Author

Tom Koh

Tom is the CEO and Principal Consultant of MediaOne, a leading digital marketing agency. He has consulted for MNCs like Canon, Maybank, Capitaland, SingTel, ST Engineering, WWF, Cambridge University, as well as Government organisations like Enterprise Singapore, Ministry of Law, National Galleries, NTUC, e2i, SingHealth. His articles are published and referenced in CNA, Straits Times, MoneyFM, Financial Times, Yahoo! Finance, Hubspot, Zendesk, CIO Advisor.

Share:

Search Engine Optimisation (SEO)

Baidu SEO: Optimising Your Website for Chinese Audiences

In today’s interconnected world, expanding your online presence to capture international markets has become essential. When targeting the Chinese market, …

Enterprise SEO: Everything You Need to Know

Are you looking to enhance your online presence and boost organic traffic to your website? If you’re operating on a …

10 Tested SEO-optimised Content Development Techniques

Content development refers to creating or improving material that conveys information to a particular audience. In addition to textual material …

7 Emerging Skills Every SEO Must Master in 2023

7 Emerging Skills Every SEO Must Master in 2023 One thing almost all SEOs can agree on is that SEO …

How to Use Keyword Intent to Maximize Conversion Rate

After keyword research, you’re armed with a list of potential keywords to target.  Let’s say one of the keywords is …

Search Engine Marketing (SEM)

Leveraging Social Media for Search Engine Marketing (SEM)

You’ve probably heard of social media, and how important it is to businesses and marketers. Chances are, you use one …

PSG Grants: The Complete Guide

How do you kickstart your technology journey with limited resources? The Productivity Solution Grant (PSG) is a great place to …

Is SEO Better Or SEM Better?

I think we can all agree that Google SEO is pretty cool! A lot of people get to enjoy high …

How To Remove A Web Page Without Affecting Overall SEO

Before removing an old page from your website, do you ever stop to think about the potential effect it might …

Toxic Links Threats and Disavows: Complete SEO guide

Your website is only as strong as the backlinks you have. We’re not talking numbers here but quality.  If you …

Social Media

25 of the Top Social Media Agencies in Singapore (in 2023)

Singapore is a hub of creativity and ingenuity, so it should come as no surprise that it’s also home to …

How to Find Influencers to Promote Your Small Business in Singapore (Low Cost)

In today’s digital age, social media influencers have become powerful tools for businesses looking to increase their brand awareness and …

Instagramming Your Way to Success: Tips for Effective Social Media Marketing in the Travel Industry

Social Media has revolutionised how businesses connect with their audience. In the travel industry, where experiences and visuals play a …

The Rise of Influencer Marketing: Leveraging Social Media to Promote Your Travel Planning Agency

Social media has become an integral part of our daily lives. People from all walks of life use social media …

App Marketing on a Budget: Cost-Effective Strategies for Maximum Impact

In today’s digital landscape, app marketing plays a crucial role in driving the success of your mobile application. However, many …

Technology

The Rise of Influencer Marketing: Leveraging Social Media to Promote Your Travel Planning Agency

Social media has become an integral part of our daily lives. People from all walks of life use social media …

8 Strategies for Bug Hunting: Debugging, Testing, and Code Review

Bugs are among the most unpleasant aspects of the software development process, whether you’ve worked on a little side project …

How Does A Virtual Private Network Work

If you’re reading this, I assume you’re either a small business owner who’s looking to expand your reach, or an …

Digital Identity Theft: How to Protect Yourself from Scams and Fraud

We are always online in this day and age of technology, which makes personal data more exposed than ever. Digital …

The Legal Consequences of Cybersecurity Breaches in Singapore

Technology has advanced greatly in the digital age. It paves the way for a higher risk of cybersecurity breaches. There …

Branding

What Are Virtual Fitting Rooms and How Do They Work? (2023)

Shopping for clothes online can be tricky. It’s difficult to know how something will look and fit without trying it …

Planograms: What They Are and How They’re Used in Visual Merchandising

As a retailer, you know the importance of creating an appealing and organised display of your merchandise. The way you …

PSG Grants: The Complete Guide

How do you kickstart your technology journey with limited resources? The Productivity Solution Grant (PSG) is a great place to …

The Importance of Authenticity in Your Brand Voice Strategy

Most companies are aware of the value of branding. The reputation of a firm may make or break it, after …

Featured Snippet Optimization: Complete Guide In 2022

You’ve probably seen the boxes that pop up at the top of the SERP featuring a summary of an answer …

Business

15 Ways to Remain Empathic While Still Making Deals

Empathy is an essential quality in any negotiation. It allows you to understand the other party’s perspective, build trust and …

10 Prospect Qualification Mistakes That Are Hurting Your Sales

10 Prospect Qualification Mistakes That Are Hurting Your Sales Prospecting is one of the most important aspects of sales. It’s …

How Pros Write Business Proposals To Win New Clients

As a business owner or entrepreneur, one of the most critical skills you need to have is the ability to …

Baidu SEO: Optimising Your Website for Chinese Audiences

In today’s interconnected world, expanding your online presence to capture international markets has become essential. When targeting the Chinese market, …

Time Management Tips for Busy Entrepreneurs (Free Tools)

Are you one of the entrepreneurs juggling multiple tasks, constantly racing against the clock? Do you often find yourself overwhelmed …

Most viewed Articles

Other Similar Articles