WordPress

How to Move WordPress from localhost to Live Server

Completed your project base on localhost? Congratulations :). Now move your WordPress from localhost to Live Server. Let’s understand the best practice to perform this action.

Move WordPress from localhost to Live Server

Right, and professional techniques should be used while transferring a locally built website to the live server. You can go with some plugins and also can directly upload zip files. But it will be the best idea to move a localhost website using a plugin like All in One WP migrate.

Get Start to Move localhost WordPress to the live server.

For the localhost machine, your computer is a plot to build a building(website). But for now, you’ve to buy a live server, storage, and Domain name.

Hosting: you can buy it from the best hosting providers like Bluehost, Hostinger, SiteGroud, HostGator. Check which one will suit your needs.

You can buy the domain name from Namecheap, domain.com, BigRock, GoDaddy, etc.

After successfully register your domain and installing the WordPress website. You can move the localhost WordPress to a live server.

Using All-in-One WP Migration Plugin.

When you’re not much technical, it will be a good option to use a plugin to transfer the WordPress website.

How we perform this action?

In this tutorial, first of all, we’ll install AIO WP migration on both localhost and live WordPress CMS. After that, we take a backup from localhost and upload it to the live server. And that’s it, let’s understand how we perform all the actions.

First, we’ve to take the backup of the WordPress website. This can be done using the All-in-One WP Migration Plugin. Install and activate the plugin. If you don’t know how to install a plugin, then refer to this article.

Export WordPress
Export WordPress

After installation of the plugin, take a backup of the WordPress website. Just scroll to AIO WP migration Plugin settings and then Export. You can export the WordPress backup file using the file option, as displayed above.

Export the WordPress file into your machine and save it. Please note this backup can be used on any blog or website now, so keep it safe and secure.

When your live server is configured properly like installation of SSL etc. You can upload the backup file using the same plugin installed on your live server website.

Import WordPress
Import WordPress

You can choose import and then scroll to the “file” option provided. And select the location of your localhost backup and upload. If the file size is larger than the allowed size, learn how to increase the upload file size limit.

This upload may take a few minutes, depending on the size of the backup file, server speed, and internet speed.

After successful upload of the files, you can log in using the localhost ID and passwords. Now your localhost website is live on the internet.

Move WordPress without using any plugin.

We can also move a WordPress website manually from localhost to the live server. You have to perform a little technical task to do this.

Overview

In this, we’ve to download all the WordPress files, MySQL database and upload them to the live server. Let’s understand how to perform this action.

Download and Upload WordPress Files

From the localhost machine, copy all files to the online server directory. You can do this using the FileZilla application. If the hosting provider offers a cPanel in case, zip the whole WordPress folder(localhost) and upload it(to the live server). Here you don’t have to copy the wp-config.php file. You can replace that with the live wp-config.php file.

After uploading, extract it to the live server. If you don’t have cPanel, please go with the plugin migration option.

Download and Upload Database.

You’ve to access the phpMyAdmin of the localhost and export all SQL databases. This database file contains the whole structure of your website.

Export MySQL database Move WordPress localhost Live
Export MySQL database

You’ve to click on export and choose format SQL. And then, click on the Go button to download the MySQL database.

Now you’ve to upload this SQL file database to the live server. Access phpMyAdmin page, upload the SQL database file to the existing database, or create a new database and upload it.

Import MySQL database Move WordPress localhost Live
Import MySQL database

If hosting provider not providing access to phpMyAdmin then use plugin.

I hope this article will help you in uploading the localhost website to the live server. In case of any doubt or query, feel free to ask in the comment section below.

Ashok Kumar

Ashok Kumar working in the Search Engine Optimization field since 2015. And worked on many successful projects since then. He shares the real-life experience of best SEO practices with his followers on seoneurons.com. You also can learn Advance level SEO for WordPress, Blogger, or any other blogging platform. Stay tuned.

Related Articles

Leave a Reply

Back to top button