Wordpress & Web Development

How To Move Your WordPress Blog To Another Host

Jeffry Thurana 08-06-2010

Finding 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.

Before we begin, you should probably check out InMotion Hosting’s free website migration service offered by their secure WordPress hosting, starting at $4.99/mo.

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.

how to move wordpress blog

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.


how to move wordpress blog

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

how to move wordpress blog

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.

move wordpress to new 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.

move wordpress to new 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“.

move wordpress to new host

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

how to move blog to new domain 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.

how to move blog to new domain host

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

how to move blog to new domain 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.png

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.png

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.


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.

Related topics: Blogging, Web Hosting, Wordpress.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Gaz
    September 4, 2010 at 6:48 am

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

  2. thurana
    August 27, 2010 at 3:34 am

    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.

  3. Lisa
    August 26, 2010 at 8:28 pm

    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?

  4. Globinch
    August 23, 2010 at 5:02 am

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

  5. thurana
    August 9, 2010 at 12:01 am

    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.

  6. Shim Marom
    August 8, 2010 at 7:42 am

    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
      August 8, 2010 at 9:57 pm

      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.

  7. Gaz
    July 17, 2010 at 8:05 am

    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 ?

  8. Aibek
    June 11, 2010 at 12:26 pm

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

  9. TechGyo
    June 9, 2010 at 6:06 pm

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

  10. Digital Imagination
    June 9, 2010 at 9:30 am


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