How to export articles to WordPress


We have two methods for exporting an article from the Content Editor tool to your WordPress site. The first requires the WordPress API, and the second requires you to create a WXR export file. This quick guide explains both so you can decide which one works best for you. 

Export to WordPress using the API

Although it is mostly automated, this method requires a few preparations. Start by opening your WordPress dashboard using the following link while replacing the middle part of the link with your site's URL — https://your-site.com/wp-admin. Then perform the following actions once you are logged in: 

  1. Find the Users section in the side menu.
  2. Click “Add New User” (if you already have other users apart from Admin, you can use one of them and skip the next steps). 
  3. Then, fill out all required fields in the user creation form.
  4. Click the “Generate password” button to automatically create a strong password for this new user, or type your own. Copy or memorize the password, as it will be used to log in to this new account. 
  5. Select the user role — Author or Editor — to provide appropriate rights to the new user.
  6. Click the “Add New User” button to complete the process.

    WP-export-EN-4

Now, go to Users > All Users and find the newly added account. Hover your cursor over it and click "Edit." On the next page, scroll down to the “Application Passwords” block. Application passwords allow authentication via non-interactive systems, such as the REST API, without providing your actual password. These passwords can be easily revoked and cannot be used for traditional logins to your website.

First, type the name of your new app password, then click “Add New Application Password” to instantly generate it. Be sure to save and copy it, as you will need this password to complete the export.

WP-export-EN-5

Now, go to the Content Editor to complete the article export. Click Export > Export article. Then, select the WordPress API option from the menu that appears and click the Export button.

WP-export-EN-1

WP-export-EN-6
The next step lets you connect a new domain or use a previously connected one. To connect a new domain, enter your site’s URL, the username you created in WordPress, and the application password. Click Next to proceed. 

WP-export-EN-7

Now, you can finalize your article export from the Content Editor to WordPress and specify the details and settings. In this menu, you can create a new post on your site or update an existing one. 

WP-export-EN-8
You can select the post’s author, category, status after exporting (draft, publish, future publication, etc.), and publication date for delayed posts. To monitor article analytics in the Content Editor and keep track of published articles, activate the settings corresponding to each action. When all settings are selected and all details specified, click the Export button to finish the process. 

Export an article to WordPress with a WXR file

Go to the Content Editor and select the article you want to export. When the visual editor loads, click the Export button and select “Export article.”

WP-export-EN-1

The next menu on the screen will present multiple export options for your article. Select “WordPress WXR”  — as shown on the screen below  — and click the Export button to generate a WXR export file for your WordPress site. After the generation, the file will be automatically downloaded to your device.
WP-export-EN-2
Next, log in to the administrator account on your WP site. From the left-hand menu, go to Tools > Import to find the WordPress importer tool. If it is not installed, click "Install now" > "Run importer." Follow the instructions on the screen to upload your WXR file and complete the import.

WP-export-EN-3