Skip to navigation Skip to main content
Eleventy
Eleventy Documentation
Stable
3.0.0
Toggle Menu
Eleventy 1.93s
Gatsby 29.05s

Migrating from IndieWeb Avatar for https://wordpress.orgWordPress to Eleventy

Using a WordPress Export File

If you would like to permanently escape the WordPress ecosystem, you can do a one-time export of your content via the Admin panel of your WordPress site. At time of writing this feature exists in the WordPress sidebar in ToolsExportExport content (section) → Export all (button).

This will create a compressed XML file with all of your posts (drafts included) for download. You can optionally also export your media library, but that is unnecessary for the purposes of this guide.

You can use lonekorean/wordpress-export-to-markdown to convert your exported XML file to markdown files (or another similar tool). This tool will also download any media from your post and page content too.

Now you can place these markdown files in your Eleventy input directory and we’ll build them for you! If you use the Image transform plugin, we’ll optimize your images automatically too!

WordPress XML Export to Markdown Tools

Community Resources

Resources via 11tybundle.dev (Migrating to Eleventy) curated by IndieWeb Avatar for https://www.bobmonsour.com/Bob Monsour.