How To Upload Your Local Wordpress Installation To Your Web Server

Now that you have completed designing your Wordpress web site on your local computer you need a way to upload all the content to your web server and have it run without any problems. You have come to the right place. This article is assuming you do not have any data on your web server and you want to transfer the wordpress blog you just designed on your local computer to the web server. Follow these instructions and everything will run smooth.

  • The first thing we must accomplish is to Deactivate all of the plugins in our local install.
  • Next, you need to backup your current sql database. We will do this procedure from phpmyadmin. Launch your web browser and navigate to this url http://localhost/phpmyadmin
  • Next select the database you wish to backup as shown below in the illustration.


  • Next, click on the Export tab, then scroll down and select the check-box Save as file. Next, click on Go you will then be prompted to save the database in sql format.
  • Next, do not skip this step, it is essential. Open your database backup file in notepad or a text editor of your choice. What we have to accomplish here is changing the current url of your local install blog with the new url of your web server.
  • When you open your database backup file in notepad, do a search for your blog’s url, for example http://localhost/test. Replace this url with the root address of your Web blog, for example Find and replace every occurrence of your local install url with your web site url.
  • Next, launch your ftp program and upload all your wordpress files to your root directory or a directory of your choice on your server.
  • Next, login to your CPanel account on your web server. Use the database wizard to create a new database, add a user to the database and give the user all priviledges.
  • Next, launch your FTP program and download the wp-config.php file to your computer.
  • Open up the wp-config.php file in notepad. The file currently contains information from your local install, so we will need to replace that information with the information of the new database you just created earlier on your web server. Use the illustration below for example.


  • Once you have completed changing the information in the wp-config.php file, upload it back to your web server.
  • Next, log back into your CPanel on your web server. Click on PHPMyadmin Click on the database in the left pane that you just created and then click on Import. Click the browse button and select your database backup that you created earlier in the tutorial. Next, click on Go.
  • Hopefully everything went successful.
  • Next, browse to your web site url, you should now see an exact duplicate of what you had on your local computer.
  • Make sure you activate all of your plugins.
  • Have a Great Day!