WordPress Themes, Plugins, Tutorials, Tips And More...

Tag: Transfer

Moving WordPress From One Domain To Another


In real it isn’t that much difficult to move whole of your WordPress website from one domain to another if all the steps followed properly. You will find plenty of resources over the web which talks about the topic, but moving a step further, we will be discussing on how one can move their WordPress website from one domain to another without losing anything on search engine front (i.e. SEO front).

Note: If you want to move your WordPress website from one server to another, then we recommend reading our earlier tutorial on this, which can be found at: How To Move A WordPress Site From One Server To Another?

Raising The Heat

There are high possibilities that you will get lost on doing this website moving transition from one domain to another, as well as results in nothing but risking all your hard work which in turn will ends up in affecting your search engine rankings. Not only this, but chances are there that your search traffic will also get affected as well. The process is simple, but as mentioned above, it needs to done with proper care.

On Starting Line – A Full Backup

You are about to begin the process. We assume here that your WordPress site setup is on example1.com and you are planning to migrate it to example2.com. Further, we are also assuming that you have a web hosting account setup and are much aware of web hosting control panel. Last, but not the least, we also assume that you know on how to use FTP (the file transfer protocol).

As from day one till now, we are always asking you take a full complete backup before you make yourself enter into such hefty transfer transitions. Create a full backup of your WordPress website. Doing so, there are plenty of plugins available for that – both free and paid options.

Suggested Reading: 7 Best Free Backup Plug-ins For WordPress

In The Race – Moving Your WordPress Website

Since you done with complete backup, now it’s time to start the domain migration process. We suggest you to download, install and activate the plugin called the Duplicator plugin on your old domain site example1.com.

Once activated, click on the new package create button followed by creating a duplicator package of your WordPress website. On clicking on the create button, the duplication process starts. Once the process completed, a zip package will get created, containing all your WordPress database and files.

On completion of this, you will then move to Duplicator package screen from where which you can download both the package and installer files on your computer. Next, connect FTP via your new site example2.com. Keep a note here that your root directory is completely empty with nothing into in it.

Now upload the installer.php file and your package zip file to your new site example2.com. Once done, simply launch the installer.php in a web browser. Add the required asked database information now for the new site and check on the box of Table removal.

Do keep a note here that your database is empty. Now, check on the box saying “I have read warning and notices” and click on the “Run Deployment” button. The plugin’s installer script will now install your database from old site example2.com. Now you are ready to install your themes and plugins.

On completion of the process, you will be notified the updated page where you are required to add an updated URLs. Although the plugin helps you identifying the URLs itself but its best to do it manually and once done, simply update it.

Finishing Line – Post Installation Steps

Since now you done with whole domain movement transition process, now re-save your WordPress permalinks.  Enter your login credentials in your new site example2.com’s WP-admin which you was using on your old site example1.com. Update the permalink by going to Settings >> Permalinks and you are done.

Now, delete the following files by going into the root directory using FTP: the installer.php, installer-data.sql and the installer-log.txt files. Followed by this, check on final stances like if there are any broken links, missing images, posts and pages with adding the proper redirects and notifying the search engines to keep all your search engines ranking same.

Photo Credit: Flickr/Alquiler de Coches

Note: Like the post, then make sure you do follow and like us on both Twitter and Facebook.

Moving WordPress From Local Server To Live Site


Although you got a full freedom to develop your WordPress website while on the move i.e. on the web itself but still preferably hundreds of thousands of developers around the world develop a WordPress website locally in lieu of speeding up the developing process.

While, once you are done with your website locally, the next step you would be looking onto move the site from local server to live site by migrating all of your posts, pages, images, themes and plugins. In this article, we are going to discuss all those steps require to complete the transfer.

#1 Local WordPress Database Export

To start the process, make sure you do have full access to your local server as well as you opted for the hosting service which supports WordPress very well. To export your local WordPress database, you will be required to use phpMyAdmin. Go to your localhost directory /phpmyadmin/ and click on your WordPress database and then click on the Export button from the top menu bar. Now choose custom, the option which will let you export your database. Simply select all your tablets now to export and gzipped all them together for compression. Once done, download it.

#2 Moving WordPress To Live Site

Open your FTP client now and connect it to your live site. On connection, start uploading the files but also make sure that you upload the files in the right directory as doing not as it have to be result in huge mess.

#3 Creating MySQL Database

Since the time the FTP client to take to upload all your WordPress files, its better you start working on importing your database. This can be done via cPanel. Log in to your cPanle dashboard and click on the MySQL database icon. Now create a database by entering a name for your database.

Once done, scroll down to MySQL users section and create or add an existing user to the database. As soon as you add the user, you will be asked by cPanel to set MySQL privileges for that user. Simply set all the privileges.

#4 Importing WordPress Database

Click on the phpMyAdmin section under your cPanel database section. On clicking, it will take you to the database which you created in step 3 above. You will notice that there will be no tables in your newly formed database. Not to worry, as if you remember you already downloaded all the tables in step 1 above.

Click on the Import tab in the top menu and click on choose file button followed by selecting the gzipped database file you saved in step 1. Press the Go button at the bottom of the page and phpMyadmin will now import your WordPress database.

#5 Updating Site URL

Since you done with all the basic but important parts, it’s time to set your site live with updating its URL. Look for the wp_options table in your phpMyAdmin. Click on the browse button next to wp_options and under the field options_name, you will find siteurl. Click the Edit Field icon and an edit field window will appear.

In the input box for option_value, you will see the URL of your local install probably something like: http://localhost/test. With proper care insert your new site url in this field, for example: http://www.example.com. Once done, make sure you save the field by clicking the Go button. Now, replicate the step for option name: home and update the home url to be the same as your siteurl.

#5 Final Step

Your site should be showing an Error Establishing Database Connection error. For this, you need to edit wp-config.php file and upload it back to your server. Now again checked you site and you will find, it should be live now. To ensure yourself completely, go to your WordPress admin panel, go to Settings > General and click save options. Go to Settings » Permalink and click Save.

Photo Credit: Flickr/Andrew

Note: Like the post, then make sure you do follow and like us on both Twitter and Facebook.

Powered by WordPress & Theme by Anders Norén