A tool to help you migrate from WordPress to Eleventy, but also can be used with WordPress to make a static website.
Not affliated with WordPress or Eleventy.
- Clone this repo.
npm install
DOMAIN_NAME=example.com npx eleventy --output=_site
- This will assume https://
- This now supports wordpress.com blogs
- You'll need https://nodejs.org/ or something similar installed on your computer
You should get a static copy of your WordPress pages and posts in _site.
I set up a demo site with a post and a couple pages you can see it here:
DOMAIN_NAME=suchexample.wordpress.com npx eleventy --output=_site
It doesn't move over any images, in fact it doesn't know about your wp-content
folder at all.
based on https://www.sitepoint.com/wordpress-headless-cms-eleventy/
- "Synergy!" -- Todd