Did this article
help you?

This helped me

How to Export and Import a WordPress Blog

WordPress is an open-source blogging platform that is used both privately and on the WordPress.com website. Most blogs are hosted on the WordPress.com site, but many businesses and organizations download the software from WordPress.org for their business or personal blogs, or to use as a content management system (CMS). Blogs often change addresses. For example, you may decide you want your WordPress.com blog to go on your professional website, or you may want to move a self-hosted blog to WordPress.com, while you change domain names. You can do this with the WordPress import and export functions. Read more to find out how to export and import a WordPress blog.

Part 1
Part 1 of 3:

Exporting WordPress Blogs

  1. How.com.vn English: Step 1 Sign into your existing WordPress blog.
    Click on your blog name, and select "Dashboard" from the menu. You should see a list of options on the left-hand side of your screen.[1]
  2. Step 2 Find the "Tools" menu on the left-hand side, near the bottom of the dashboard.
    Choose the "Export" box from the list of options.[2] You will most likely want to export your content first, so you can import it somewhere else.
    Advertisement
  3. How.com.vn English: Step 3 Decide how much of your content you want to export.
    The top option is "All Content," and it is the most popular choice. Click "Download Export File" to create an "XML" file of your entire blog on your computer.
    • You may see the option "Guided Transfer" on your Export page. This is a service, provided by WordPress.com, for approximately $119. They will export your website and import it onto the site of your choice. If you choose to download the Extensible Markup Language (XML), or website, file, it is always completely free of charge.
    • Some uploads, photos, and links may not be exported into your file. You may need to re-upload some of this content onto your new website.
  4. How.com.vn English: Step 4 Place the file in an easy to access folder, or on your desktop.
    You will need this file to import it later.
    Advertisement
Part 2
Part 2 of 3:

Importing WordPress Blogs

  1. How.com.vn English: Step 1 Go to your WordPress.com or WordPress.org website.
    Go to the blog page. Find the Tools section of the Dashboard and select the "Import" option.
    • You can try to transfer your WordPress.com or .org blog to a non-WordPress platform. Some content that does not match the website format may be lost. WordPress is free and open-source, so if a web programmer can install the WordPress.org software on your new website, it may be the easiest option. You will already have familiarity with how the blog can be changed, leading to fewer problems.
  2. How.com.vn English: Step 2 Choose the WordPress option and then choose the XML file on your computer.
    Click "Upload" to upload the XML file to the new blog. Select "Download & import file attachments" to move your media along with the rest of your blog.
    Advertisement
Part 3
Part 3 of 3:

Importing and Exporting WordPress Databases

  1. How.com.vn English: Step 1 Assign a web developer to export your database if you have never dealt with coding before.
    It is important to follow exact instructions to make sure your database stays intact and uploads properly to a new website.
  2. Step 2 login to your local "phpMyAdmin" to export your private CMS database.
    Under WordPress, click the "Structure" tab and then the "Export" option. Click the box for "Add drop table/drop view" and the box to "Save as file."
  3. Step 3 Click "Go" to download a Structured Query Language (SQL) file.
    Open the file in a text editor program. Select the find function to find all of the previous URL (website) addresses.
  4. How.com.vn English: Step 4 Replace each old URL address with the new domain address.
    You can click "Replace All" to do this in 1 step. Check your document to make sure all the URL addresses are changed before saving the file.
  5. How.com.vn English: Step 5 Create a new database for your new domain.
    Login to your server and go to "MySQL Databases." Create a new database and assign it a new user to serve as an administrator.
  6. Step 6 login to the "phpMyAdmin" for your new database.
    Under the "Import" tab, select the file you just downloaded, changed, and saved. Click "Go" to upload the file to your WordPress platform.
  7. Step 7 Find the "wp-config.php" file on your server.
    Change the database details, replacing them with the new server and domain settings.
    Advertisement

Expert Q&A

Search
Add New Question
  • Question
    Are there any other ways you can do this?
    How.com.vn English: Martin Aranovitch
    Martin Aranovitch
    WordPress Trainer & Educator
    Martin Aranovitch is a WordPress Trainer and Educator and a WordPress Writer for WPMU DEV. With over 18 years of digital marketing and website maintenance experience, Martin specializes in providing comprehensive instruction for people looking to use WordPress effectively. He holds a Bachelor’s degree in Science and Technology Studies from The University of New South Wales. Martin is also a digital publisher and the author of multiple WordPress guides and training manuals for people of all learning levels.
    How.com.vn English: Martin Aranovitch
    WordPress Trainer & Educator
    Expert Answer
    Another way to import and export a WordPress blog involves using a migration plugin like Shipper Pro for example. This plugin can be used to move complex WordPress sites (e.g. from one host to another), migrate only certain parts of a site, or move entire Multisite installations (many WordPress sites hosted under one domain).
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit

      Advertisement

      Tips

      • If you want to redirect all of your readers to your new site, WordPress.com provides a "Site Redirect Upgrade" that will automatically redirect your fans. The service costs approximately $12 per year, but may the price depend upon the length of time you use it and the URL.
      Advertisement

      Things You'll Need

      • WordPress Blog (either .com or .org)
      • Free computer memory
      • Guided Transfer service (optional)
      • Site Redirect service (optional)
      • Web programmer

      [negedafit.com]


      References

      1. Martin Aranovitch. WordPress Trainer & Educator. Expert Interview. 30 March 2021.
      2. Martin Aranovitch. WordPress Trainer & Educator. Expert Interview. 30 March 2021.
      3. http://webdesignerwall.com/tutorials/exporting-and-importing-wordpress
      4. http://en.support.wordpress.com/moving-a-blog/
      5. http://en.support.wordpress.com/export/
      6. http://en.support.wordpress.com/site-redirect/

      About this article

      How.com.vn English: Martin Aranovitch
      Co-authored by:
      WordPress Trainer & Educator
      This article was co-authored by Martin Aranovitch. Martin Aranovitch is a WordPress Trainer and Educator and a WordPress Writer for WPMU DEV. With over 18 years of digital marketing and website maintenance experience, Martin specializes in providing comprehensive instruction for people looking to use WordPress effectively. He holds a Bachelor’s degree in Science and Technology Studies from The University of New South Wales. Martin is also a digital publisher and the author of multiple WordPress guides and training manuals for people of all learning levels. This article has been viewed 159,841 times.
      How helpful is this?
      Co-authors: 15
      Updated: March 30, 2023
      Views: 159,841
      Thanks to all authors for creating a page that has been read 159,841 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement