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.
- Open the WordPress admin section and go to Users>Add New.
- Create a new user with username ‘Exporter’, set the role to ‘Author’ and save.
- 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:
- 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.
- 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.