WordPress Export Posts: Best Practices for Exporting Posts With Images

[ad_1]

If you’ve built a website on WordPress, you may have used its blogging capabilities. For one reason or another, you might want to export your blog posts out of the site.

Fortunately, the process is simple enough that WordPress users with no technical knowledge can do it.

However, the best method to accomplish this varies depending on the WordPress posts you want to export. With this in mind, we will cover three ways of exporting WordPress blog posts.

Let’s start by discussing when it might be worth exporting from WordPress in the first place.

Why Export WordPress Posts

Sometimes, WordPress website owners want to simplify their niches or switch to a completely different one. Instead of deleting the old WordPress posts, you can preserve your work by exporting them to the new website.

Moving to a new domain is another reason to export your site content. Your old site might have search engine optimization (SEO) issues, so moving your WordPress posts to a new website will give them a fresh start.

Creating WordPress posts takes a lot of time and effort. Once you have published a significant number of posts, you might want to store them locally on your computer. Keep in mind that a blog export process is not the same as backing up a WordPress website.

Important! The following methods aren’t ideal for migrating hosting companies as they don’t export your website settings.

Method 1: Exporting All Posts Using the Export Tool

WordPress has a built-in export tool that lets you export content, including posts. It’s accessible via Tools -> Export from your WordPress dashboard.

This tool can download posts, pages, or media files from your WordPress site. Choosing to export all content will include comments, navigation menus, terms, custom fields, and custom posts next to posts and pages in the export file.

After choosing which content to export, click on the Download Export File button. You can import the exported XML file into another WordPress site using the built-in import tool.

WordPress built-in export tool

Important! Since XML is a text-based format, your export file won’t include media files. Even if you choose the Media option, it will only export an XML file containing links to your media items.

Exporting Posts With Images

The method above works effectively only for exporting WordPress posts. To retrieve your posts’ image files, you also need to download the WP-Content/Uploads folder.

You can access your website’s folder using the File Manager provided by your hosting provider or an FTP account. We will show you how to download the WP-Content/Uploads folder via Hostinger’s hPanel:

  1. Go to Files -> File Manager from your hPanel dashboard.
  2. Open your root directory (public_html) and enter the WP-Content directory.
  3. Right-click the Uploads folder and select Compress.
Compressing the Uploads folder inside the WP-Content directory via Hostinger's File Manager
  1. Give the compressed file a name and pick the ZIP format from the drop-down menu. Click Compress.
Compressing the Uploads folder into a ZIP file
  1. Once the ZIP file is ready, right-click on it and select Download.
Downloading the compressed Uploads folder in the ZIP format

Important! Don’t be alarmed if the compressed folder contains the same images in different sizes. Whenever you upload an image to the media library, WordPress will duplicate it in various sizes for different purposes, such as thumbnails and featured images.

Method 2: Exporting Specific Blog Posts From Various Categories

When exporting posts using the WordPress export feature, you can narrow down the blog posts based on their category, date range, author, and status.

Narrowing down blog posts to export based on categories, authors, date range, and status

We can use this filtering feature, particularly the Author constraint, to export specific blog posts from various categories. Here’s how to do it:

  1. Create a dummy user. Go to Users -> Add New from your WordPress dashboard.
  2. Fill in the required fields and assign the role of Author. In this example, we’re naming the new user as “Anon.” Click Add New User.
Creating a dummy user with the Author's role in WordPress
  1. Navigate to Posts -> All Posts and pick one blog post you want to export. Change the author to the dummy one you created earlier. Do this step to other chosen blog posts.
Changing a post's author via the WordPress editor
  1. Go to Tools -> Export and pick Posts. Set your dummy account as the Author constraint, then click Download Export File.
Exporting specific blog posts with the WordPress export tool using a dummy user

Method 3: Exporting WordPress Posts With Images to PDFs

The first and second methods are convenient for moving WordPress posts from one site to another. However, this exported file is unreadable outside of WordPress.

If you want to export WordPress posts with images in a more user-friendly format like PDF, you need to use a WordPress export post plugin.

This method caters to bloggers who want to repurpose their WordPress website content for newsletters. All the image files will be exported along with the text-based content, so you don’t have to worry about downloading them separately.

Here’s how to export a WordPress blog post into a PDF file using Print My Blog, an excellent export plugin that supports the PDF format:

  1. Install and activate the WordPress plugin.
Installing the Print My Blog plugin on WordPress
  1. Navigate to Print My Blog -> Settings from your WordPress dashboard. Check the Posts box and select Save Settings.
Configuring the Print My Blog plugin upon installation
  1. Go to the post you want to export. A button labeled PDF should appear on the upper part of the page.
The button to convert a WordPress post into a PDF file is located on the upper part of the page
  1. A popup window will appear upon clicking on the PDF option. If you click the Print to PDF button, your browser’s print settings will appear. Set the destination to Save as PDF and select Save.
Exporting a WordPress post through the browser's print settings

The export process above was using the plugin’s default settings. You can customize the content to print and page layout settings via Print My Blog -> Settings -> Customize Buttons.

For example, with the following Content settings, the plugin will export a PDF file containing the site title, date printed, post title, post featured image, and post content.

Customizing the Print My Blog plugin settings to print the desired content

The Page Layout section controls how the post will be displayed. The settings are convenient if you want to export more than one blog post in a single PDF file or condense the content to save paper when printing.

Customizing Print My Blog plugin's page layout settings

Conclusion

WordPress provides different ways to export WordPress posts into various formats. When the time calls for a post export, you only need to use the proper method to get the desired content.

Now, let’s quickly recap these methods:

  1. Export all WordPress posts using the Export tool.
  2. Export specific blog posts from various categories.
  3. Export WordPress posts with images to PDFs.

Good luck with exporting WordPress posts to your new site. Should you have any more questions, don’t hesitate to leave a comment below.

[ad_2]

Jaspreet Singh Ghuman

Jaspreet Singh Ghuman

Jassweb.com/

Passionate Professional Blogger, Freelancer, WordPress Enthusiast, Digital Marketer, Web Developer, Server Operator, Networking Expert. Empowering online presence with diverse skills.

jassweb logo

Jassweb always keeps its services up-to-date with the latest trends in the market, providing its customers all over the world with high-end and easily extensible internet, intranet, and extranet products.

GSTIN is 03EGRPS4248R1ZD.

Contact
Jassweb, Rai Chak, Punjab, India. 143518
Item added to cart.
0 items - 0.00