Moving WordPress site from Localhost to Live Server

After making a site throughout local server just like xampp or wampp, we require to move it to live server. Following write-up will make suggestions all the required process for going wordpress internet site from local server to live server. This steps can even be useful as soon as moving site derived from one of live server completely to another live server.

Step 1

First thing we need to do would be to export our own wordpress databases in sql data format. If you aren’t confident conveying database adhere to this

moving-wordpress-site-from-localhost-to-live-server

  1. After clicking “Go”, it will download the database sql file. Open the sql file in your Dreamweaver editor .
  2. Now we have to find and replace our previous localhost site url with the new one live server url . Suppose local site developed in path http://localhost/wordpress and new domain url is http://sampledomain.com .Then we have to find old name and replace with new name
  3. Now open you live server cpanel ex: http://sampledomain.com/cpanel and on bottom of the page you find ‘Database Wizard’
  4. In the ‘Database Wizard’ we have to create database , user the add user to the database
  5. After again access cpanel home page and find ‘phpmyadmin’ .Click on phpmyadmin and select your currently created database
  6. On the above databse page click on ‘Import’. There we have to import our sql file that we discuessed in above steps
  7. Now we have completed all steps in database . Now have to work on file .
  8. Click on ‘File Manager’, you can find this link on Cpanel home page.
  9. inside ‘public_html’ folder we have to upload our wordpress files
  10. So to do this make a zip folder of wordpress folder. Upload it under ‘public_html’ folder.
  11. Now extract it and edit page ‘wp-config.php’ .Provide there new database details(databse name, username,password)
  12. That’s it ,If everything okk your new site will apear on you main domain .

Hope this tutorial helps you. If you need advance wordpress training you can visit WordPress training