You can export content from one WordPress site and import it into another WordPress site by following the steps below. This may be helpful when setting up a new Moodle WordPress blog each semester.
Export from the Old WordPress Site
- Login to the WordPress site you want to export content from. This could be from a previous WordPress site in Moodle or from a previous WordPress site created outside of Moodle.
- In the Dashboard, select the Tools option on the lefthand side menu and choose Export.
- Once you select "Export" you will be prompted to select what type of content you’d like to export. The default is to export "All Content" which includes all of your posts, pages, comments, custom fields, terms, navigation menus, and custom posts. However, you can choose specific content.
- Next, click "Download Export File".
- When you click the Download Export File button, WordPress will create an .XML file for you to save to your computer.
Import to the New WordPress Site
- Login to your new WordPress site (the one you want to import the content to),
- In the Dashboard, select the "Tools" option on the lefthand side menu and choose "Import".
- You will see multiple installers you can use to import your site from. However, you want to use the WordPress Installer, so scroll down to the one that says "WordPress" and select "Run Importer"
- In the Import WordPress window, click "Choose File" and select the .XML file you just created during the export process. Then click "Upload File and Import."
Assign Authors and Import Attachments
...
This content has been moved to the Moodle space.