WordPress to Jekyll Migration Guide
WordPress to Jekyll Migration Guide
Step 1: Export WordPress Content
Since your WordPress blog is private, you’ll need to export the content:
Option A: WordPress Admin Export
- Log into your WordPress admin at
https://meansofproduction.wordpress.com/wp-admin
- Go to Tools > Export
- Choose All content or Posts
- Download the XML file
Option B: WordPress.com Export
- Go to your WordPress.com dashboard
- Navigate to My Sites > Settings > Export
- Choose Export All or Posts
- Download the export file
Step 2: Convert to Markdown
I’ll create a Python script to convert your WordPress XML export to Jekyll-compatible markdown files.
Step 3: Organize in Obsidian
The script will place converted posts in your bvault/blog/
directory with proper:
- Jekyll front matter
- Converted HTML to Markdown
- Preserved publication dates
- Category and tag mapping
Step 4: Sync and Publish
Use your existing sync workflow:
./sync-from-obsidian.sh
git add .
git commit -m "Import WordPress posts"
git push
Next Steps
- Export your WordPress content using one of the methods above
- Place the XML file in this directory
- Run the conversion script I’ll create
- Review converted posts in Obsidian
- Sync to your blog