This site was migrated from WordPress hosted on Bytemark to static files hosted on GitHub Pages.
The old WordPress repository was archived: cc-archive/wp-theme-openglam.
Process to migrate from WordPress to static files:
- Used
curlto pull down the four visible pages as.htmlfiles - Used
curlto pull down missing dependencie (js, css) into relevant directory structure - Used
curlto pull down missing uploads intowp-content/uploads/ - Moved everything into
docs/ - Added
docs/.nojekyll(empty file) - Discovered the site had a lot of "orphan pages" not present within the site's current nav from prior site incarnations, but still publicly accessible.
- Setup a temporary node environment virtual space.
- Used
wordpress-to-eleventy, to generate static.htmlpages, amending the default post and page templates' header and footer to pull down all the pages and posts via the site's API as new.htmlfiles into appropriate subdirectories. - Deleted temporary node environment.
- Used
scpto pull down everything from thewp-content/uploadsfolder to account for all the orphan posts/pages now added.scp -r [name-of-ssh-alias]:path/to/wp-content/uploads path/to/local/uploads