- Stable
3.0.0
Toggle Menu
1.93s
29.05s
Migrating from WordPress 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 Tools → Export → Export 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 Bob Monsour.