Moving Wordpress from hosting to Localhost

Moving WordPress from hosting to localhost can be done in several ways. But in this time I will try to explain two of them.

The first way (the easiest one) is by using Wordpress Export/Import Tools.

How to Install WordPress on Localhost

Before we begin installing Wordpress on Localhost make sure that you have installed Apache web server with PHP and MySQL and they are running properly.

Download the latest version of Wordpress at

After you've finished downloading the file, unzip the file and copy all files and folders into the Apache Document Root.

How to create a MySQL database

To create a MySQL database on Localhost can be done in many ways but in this article we will create a MySQL database from the Command Line and using phpMyAdmin.

Creating a MySQL database from the Command Line