This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

📣 Join the live AMA session with Adam Silverstein on open source and WordPress core! Register Now →

How to Transfer Selected Data From WordPress or WooCommerce Site

Updated on April 22, 2021

5 Min Read
transfer-selected-data-from

Moving content from one WordPress website to another, at times, can become quite a stressful and hefty task. Now when you are talking about moving content, there are two ways of doing it; you can either migrate the whole website or you can simply copy specific data from one site to another. The following tutorial aims to educate WordPress users how to move specific data from one WordPress site to another. However, if you wish to migrate the entire content of your website, we have provided instructions of doing it at the end of this article.

So Let’s begin,

In order to copy selected data from one WordPress/WooCommerce site to another WordPress/WooCommerce, we’ll be using a single WooCommerce store with WordPress blog pre-installed.

Why?

So we can transfer both content, posts from blog side by side data from our WooCommerce store.

Before we begin, there are certain things that you should be aware of. Firstly, the kind of data a WordPress blog and WooCommerce Store contains.

A WordPress Blog contains the following two types of data,

  • Posts (included comments, authors, categories, status, publishing date etc)
  • Pages

On the other hand, a WooCommerce Store contains

  • Products
  • Variations
  • Orders
  • Refunds
  • Coupons
  • Webhooks
  • Media

You can access and transfer such data by navigating to “Tools > Export”.

WordPress Export

When you are going to navigate to “Tools” option in WordPress, by default, it is set to “All Content”. Underneath that option are a number of individual options such as Posts, Pages, Products, Variations, Orders, etc. You can simply select the information that you want to transfer and click “Download Export File”. It will automatically generate a XML file that will be imported on your new WordPress website.

Importing Posts:

In order to Import Posts from your old website to a new one, all you have to do is navigate to “Tools > Export” and select “Posts”. You get a variety of options to set such as categories, authors, date and status. Once you are done then click on “Download Export File” which will generate a XML file that will contain all posts, comments, authors, categories etc.

WordPress Export

In our example we’re going to select:

  • Posts: 2 posts with single comment on each post.
  • Category: Uncategorized
  • Author: Mustaasam Saleem
  • Date: All dates
  • Status: Published

Now we are going to download the XML file and upload it to our new WordPress website.

In order to do so go to your new website “WordPress Admin Dashboard” and navigate to “Tools > Import”. You’ll see a number of options that can be used. Select “WordPress”.

WordPress Import

Once you select it, a new popup will be shown asking you to install “WordPress Importer Plugin”. Click on “Install Now” while ignoring compatibility warnings. It has been tested on the new WordPress 4.5 and it works perfectly fine.

WordPress importer

Once installed and activated successfully, you’ll be asked to upload the XML file. Click on “Choose File” and select the XML file that we’ve downloaded as shown above and click on “Upload File and Import”. There you go! All done!

Upload File and Import

On successfully importing information to your new website, WordPress allows you to change the authors of the posts. Check “Import Attachments” and mark it if you want to download attachments.

Import Author WordPress

Click “Submit” and you will be able to see all imported data on your new website.

wordpress data move

Importing Selective Data in WooCommerce:

Similar to importing data from one blog to another, data transfer from one WooCommerce store to another is quite an easy task as well. In order to do so, visit the Back end panel of your old WooCommerce website and Navigate to “Tools > Export”. You will be provided with a number of options to import. Refer to the image below.

wordpress export

WordPress for WooCommerce is by default set to “All Content”.

But today we’ll learn about copying “Products” only.

In order to export data from your old website to the new one, navigate to “Tools > Export” and select “Products”. Click on “Download Export File” it will generate a XML file that contains all of your product details.

In our example we’re going to set the following attributes:

Products: 25 products

wordpress export

From your new WooCommerce store website, navigate to “Tools > Import” and click on “Choose File”. Select XML file and click on “Upload File and Import”. WordPress will import all data that we’ve exported in XML format.

When the process is completed, you’ll see all products on new store. Refer to the image below.

woocommerce migtration

Import Images:

If you noticed there aren’t any Images present with related product information. As you know that images are stored in “Media”. In order to access it, you’ve to Export media from old store and Import them to the new one. Every product image will appear as it was previously set.

woocommerce migtration

P.S: All steps will be followed the same way as importing products for other data too. Just Export from old website and Import to new website.

Few points to remember:

The above article is just to educate users about copying selective data. The above method is not recommended if you want to transfer all content from your old website to a new one, as it will disturb other settings of your website. To copy complete website we would recommend users to use WordPress Migrator Plugin. Learn How to Migrate WordPress website using WordPress Migrator Plugin in just a few clicks.

XML upload file size limit:

As you can see, a maximum of 10mb XML file can be uploaded only. If you’ve a large XML file, then there are number of ways to increase file size limit such as modifying functions.php file, modifying .htaccess or wp-config.php file and increasing file size limit in php.ini file. If you’re a non technical person, you can ask your WordPress hosting provider to increase your file size limit.

Conclusion

Doesn’t it sound easy to copy selected data from one WordPress/WooCommerce website to another? If you’ve faced any difficulty in understanding it, feel free to ask using the comment section below. Have a great day 🙂

 

Share your opinion in the comment section. COMMENT NOW

Share This Article

Mustaasam Saleem

Mustaasam is the WordPress Community Manager at Cloudways. Where he actively works and loves sharing his knowledge with the WordPress Community. When he is not working, you can find him playing squash with his friends, or defending in Football, and listening to music.

×

Get Our Newsletter
Be the first to get the latest updates and tutorials.

Thankyou for Subscribing Us!

×

Webinar: How to Get 100% Scores on Core Web Vitals

Join Joe Williams & Aleksandar Savkovic on 29th of March, 2021.

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!

Want to Experience the Cloudways Platform in Its Full Glory?

Take a FREE guided tour of Cloudways and see for yourself how easily you can manage your server & apps on the leading cloud-hosting platform.

Start my tour

CYBER WEEK SAVINGS

  • 0

    Days

  • 0

    Hours

  • 0

    Mints

  • 0

    Sec

GET OFFER

For 4 Months &
40 Free Migrations

For 4 Months &
40 Free Migrations

Upgrade Now