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.

Tags:
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.

18 Comments
  • Maria
    Reply

    Thank you! 🙂

    09/12/2014at12:16
  • Thank you! This worked perfectly.

    18/01/2015at19:26
  • This article helped me alot! Thanks.

    15/03/2015at23:29
  • this really helped me, great technique. Thank you! 🙂

    02/04/2015at14:04
  • Zedman
    Reply

    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.

    08/09/2015at12:24
  • Genius 🙂 Thank you

    29/01/2016at11:04
  • Very tricky, very fine!

    04/04/2016at13:42
  • Emre
    Reply

    Didn’t think about that. Clever solution 🙂

    04/05/2016at21:16
  • karan
    Reply

    THanks a lot…….

    18/05/2016at06:49
  • 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.

    Thanks,
    Alvaro

    08/06/2016at20:48
  • 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?

    Thanks,
    Alvaro

    08/06/2016at21:35
  • very helpful thanks 🙂

    09/06/2016at06:07
  • kobir liton
    Reply

    Thank you so much

    24/05/2019at17:46
  • Mike P
    Reply

    Great solution thanks

    06/08/2020at18:05
  • John McMahon
    Reply

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

    04/11/2020at01:54

Post a Comment