Moving your WordPress site from Localhost to Live site

Tag: |   Category:

I used localhost for new client website design and development as it is fast and easy. Once the development is done I upload files and database in the live site. Here I will show you how easy it is to transfer your ready localhost website to live site.

There is thirdparty tools which can do the same job, like Akeeba Backup and BackupBuddy. But, here I will show you how to do manually as it is a simple process.

1. Export localhost database

Moving your WordPress site from Localhost to Live site

Go to your localhost 'phpmyadmin' and select the database, click Export > Go. This is create .sql file

2. FTP upload files.

Upload all your localhost WordPress file to your live site using any FTP software.

3. Create new database in your live site.

moving-your-wordpress-site-from-localhost-to-live-site-02

Go to you cPanel and create new database and username.

4. Import localhost database in your live site database.

Moving your WordPress site from Localhost to Live site

In your cPanel go to 'phpMyAdmin' and import your localhost database in your newly created database.

5. Edit wp-config.php file.

Open your localhost 'wp-config.php' file using your favorite editor and edit below database details.

Moving your WordPress site from Localhost to Live site

6. Edit site URL at live site database

In your live site cPanel go to 'phpMyAdmin' and look for 'wp_options'

Moving your WordPress site from Localhost to Live site

Click 'wp_options' and change 'siteurl' and 'home' to your live site URL. You can click Edit icon to edit.

Moving your WordPress site from Localhost to Live site

7. Done

Copyright © 2024 Siam Naulak.
magnifiercrossmenu