How To Move Your WordPress Blog To Another Host

Ads by Google

00 2 WP Logo   How To Move Your Wordpress Blog To Another HostFinding the perfect webhost is more or less similar to a general love story. While there are cases of love at first sight, most people have to go through disappointments and broken hearts before finding the one that we want to spend the rest of our life with.

There are also stories about finding your true soulmate while already with somebody else. Should you break up and leave your current partner to be with “the one”? Or should you keep the current compromised relationship just for the sake of avoiding complications?


Even though changing webhosts might be less complicated than changing spouses, it is still problematic. And it’s even more difficult if you have a long established blog hosted there. Moving databases could be a nightmare for the common people like the most of us.

Fortunately, if your blog is WordPress, it’s easy enough to learn how to move a WordPress blog from one webhost to another.

The Manual Method

By default, WordPress provides its users with a method to transfer the blog should circumstances require it. This feature is called “Export – Import” and is located under the “Tools” tab on the sidebar.

To save your data to be used later in another blog, click the “Export” link.

01 Tools Export Import   How To Move Your Wordpress Blog To Another Host

Ads by Google

You will arrive in the “Export” page. The explanation paragraph basically explains that the exported file you are about to create is in WordPress eXtended RSS (WXR).

Choose the author from the drop down menu. If your blog has multiple authors and you only want to export posts from one of them, you can use this option. Other than that, just leave the option to “All Authors” and click the “Download Export File” button.

02 Export   How To Move Your Wordpress Blog To Another Host

Your browser will download the data in an “.xml” file. Keep the file somewhere save to be used later.

02b Export Downloaded XML   How To Move Your Wordpress Blog To Another Host

Now, assuming that you already have another WordPress blog ready in another host, we’ll continue to the next step.

Within your new WordPress blog, click the “Import” link on the sidebar under the “Tools” tab, and you will arrive at the “Import” page. There’s a list of import options showing types of blogs that you can import your data from. Choose “WordPress” at the very bottom of the list.

02c Import Wordpress   How To Move Your Wordpress Blog To Another Host

At the next page, you’ll have to determine the location of the data file. Click “Choose File” button and browse around. After you find the file, continue by clicking the “Upload file and import” button.

02d Import Upload n Import   How To Move Your Wordpress Blog To Another Host

That is pretty much it. The process can’t go easier than that. You’ve just learned how to move a WordPress blog from one location to another.

The method can also be used to add posts from one blog to another. Very useful if you want to merge several blogs into one. Another possible usage is to back up the data of your blog(s).

The Automated Backup

The steps explained above are quick and simple, but it has one disadvantage: the process is manual. It means that if the blog that you are taking the data from is updated after you do the export, you’ll have to repeat everything all over again, manually.

There’s another option that you can do to automate the backup process: using a WordPress plugin called “WP-DB-Backup“.

03 Install Plugins WP DB Backup   How To Move Your Wordpress Blog To Another Host

After installing and activating the plugin, it’s immediately available in the sidebar under the “Tools” tab.

03 Tools Backup   How To Move Your Wordpress Blog To Another Host

On the Backup page, go to the “Scheduled Backup” section at the bottom of the page. You can choose the backup schedule according to your preferences, write down the email address to send the backup to, and click “Schedule backup” button to save the settings.

04c Backup Scheduled1   How To Move Your Wordpress Blog To Another Host

The backup of your blog will arrive in your inbox regularly according to your chosen schedule.

05 Daily Email Backup   How To Move Your Wordpress Blog To Another Host

However, the format of the backup is “.sql” (compressed into “.sql.gz“). This requires an extra effort in restoring the database to your blog and can’t be done from within the WordPress blog like the previous method.

To import the backup, log into your webhost account and go to phpMyAdmin (or another similar database management that your host uses), click the “Import” tab, choose the database file by clicking the “Choose File” button, and finally click “Go” button to start importing.

06 Import database   How To Move Your Wordpress Blog To Another Host

How to move other WordPress files

After done with transferring the soul of your blog, you might want to continue with the body. This includes all the themes and plugins that you use in the previous WordPress installation.

Basically, the least thing that you want to do is to copy everything inside the “wp-content” folder from your old WordPress folder to the new one. After this step, your plugins and themes will be available in your blog’s new home. You can use your chosen FTP client (offline or online) for this task.

WP Content   How To Move Your Wordpress Blog To Another Host

If you want to make sure everything is completely transferred, you could just safely copy everything inside one WordPress folder to another. This is similar to the process of upgrading WordPress manually. But please note that:

  • If the WordPress version in your old hosting is lower than the one in the new hosting, your new WordPress installation will be downgraded to the older version.
  • You should NEVER replace the “wp-config.php” file in the new WordPress with the one from the old installation as these two files contains different configuration specific to the database of the host.

WP Config   How To Move Your Wordpress Blog To Another Host

Now you have finished copy almost everything of your WordPress blog from your old host to the new one, the last step that you should do is to configure the settings of the new WordPress blog to mimic the old. Unfortunately, I haven’t found any way to do this automatically. If one of you readers know the shortcuts, please feel free to share using the comment below.

Have you ever moved your WordPress blog from one host to another? Do you know other methods of moving your blog?  If so, please share using the comments below.

Ads by Google

11 Comments - Write a Comment

Reply

Digital Imagination

Cool….

I didn’t know there are many stuffs like this in wordpress too…….

Reply

TechGyo

I knew how to import from blogspot but this is is new info for me. Thanks for this trick

Reply

Aibek

It should be noted that this will move just the database and not the files and settings which are also essential.

Reply

Gaz

Great post,
its useful for me.I have a wp blog with same domain,hosted with free hosting.
i need move to paid hosting.
Downloaded “WP-content” folder and change dns configure.
WP plugging and themas are well, but cannot find Content.
Can you explain how to move wp content ?

Reply

Shim Marom

Do I need to create a database in the new location first? i tried the phpAdmin and got an error message “#1046 – No database selected “.

Anonymous

The database in the new location should be created automatically by the new WordPress installation. If you haven’t install WordPress in the new location, you should do that prior to importing your old database.

Reply

thurana

Hi Hukapan,

Moving WP Content should be as simple as copy and paste (using FTP client). Just replace the wp-content folder in the new location with the one from the old location.

Reply

Globinch

Thanks for the post. This post helped me to achieve the same..
Thanks Again
..

Reply

Lisa

These are exactly the type of instructions I have been looking for, but I have a problem. When I try to import my backup file using phpMyAdmin thru godaddy I keep getting this error:

You attempted to load file with unsupported compression (application/gzip). Either support for it is not implemented or disabled by your configuration.

Any ideas to get past this?

Reply

thurana

Hi Lisa,

I can’t reproduce your error on my side, but I guess maybe it’s godaddy’s version of phpMyAdmin that cause the problem. You should try contacting their help line.

Reply

Gaz

Hi thurana ,
i have done , but can not see my post. somthing wrong.,

Your comment