How Do I Export a Single WordPress Post or Page?

Follow this FAQ to export WordPress pages either one-by-one, or several at a time

This tutorial shows you how to export a select number of pages or posts so that you can import them into a different WordPress website.

  1. Open the WordPress admin section and go to Users>Add New.
  2. Create a new user with username ‘Exporter’, set the role to ‘Author’ and save.
  3. Now change the author of the post or posts that you need to export by selecting them and clicking edit. Change the author to ‘Exporter’ as shown below:
    export wordpress posts
  4. Now go to Tools>Export and choose what type of content you want to export e.g. ‘Posts’. Then select the author ‘Exporter’ and click ‘Download Export File’. The resulting file contains all the information you need in XML format.
    export WordPress posts using Tools Export
  5.  Now go to the WordPress website where you want to import this information and go to Tools>Import>WordPress. Note: if you’ve never imported anything before you’ll first be prompted to install a plugin which allows you to do this.  Choose the XML file from the previous step.  You’ll be asked which author you want to assign to the imported items during the import process.

How can I Import WordPress Posts without the Categories or Tags?

For this you’ll need to edit the XML file you created in the first step above. Open it in Notepad++ or other code editor. Each item contains information so you’ll need to do this for each and every item in your file: delete the category and/or tag rows and then save your file ready for import.

The category/tag lines look like this:

<wp:category>this contains category information</wp:category>

<wp:tag>this contains tag information</wp:tag>

Make sure that you delete the entire line including the green start/end tags in each case, otherwise you’ll end up with errors.

Did you find this FAQ useful or do you have questions? Please ask in the comments below.

Nina Young About the author

I studied mathematics at university, taught myself software development, honed my skills with multinational companies such as IBM and have set up and sold my own businesses. My perspective covers the all important period when a business moves from small and successful to substantial and market-leading, and my personal experience allows me to provide online solutions that give business leaders mastery of their online presence and control over business development.

  • Maria

    Thank you! 🙂

  • Thank you! This worked perfectly.

  • This article helped me alot! Thanks.

  • this really helped me, great technique. Thank you! 🙂

  • Zedman

    This solution is perfect. I needed to export the comments, and some other data, from one single post, and the steps were very easy to follow. I’d found several other solutions but all required accessing the data directly from the database using myPHPAdmin – way too scary and difficult. This solution took less than one minute. Thanks.

  • Genius 🙂 Thank you

  • Very tricky, very fine!

  • Emre

    Didn’t think about that. Clever solution 🙂

  • karan

    THanks a lot…….

  • Hello,

    Can anyone PLEASE explain me How can individual pages be exported from my WordPress editor to my MAC.

    I am developing several landing pages that I need to send to my leads but the CRM system I am using only allows me to use files saved in my computer, Therefore I need to save the landing pages that I develop with the WordPress editor into my computer to be able to continue using the CRM services I now have.

    I have searched extensively this issue but I have not been able to find an answer.


  • Hello nina,

    Thank your very much for responding so quick.

    Correct. i use ZOHO Campaigns for my email campaigns and this system only allows me to upload files from my computer and not from WordPress. since i am developing landing pages with WordPress Editor, I can not use these landing pages with ZOHO CAMPAIGNS due to their limitation. This is why i need to find a way to copy the landing pages from WordPress and paste them into my computer.

    Can you please help me solve this issue?


  • very helpful thanks 🙂

  • kobir liton

    Thank you so much

  • Mike P

    Great solution thanks

  • John McMahon

    Thank you also for the reference to notepad++ – great product for these purposes!


Post a Comment