Hello Jekyll, goodbye Wordpress!
Ok, yeah I know I am about 10yrs late to the party but I finally pulled the trigger in archiving my old wordpress website and moving to a static blog platform. After a whole 1 second of googling and a few more of deliberation I reached out for Jekyll. I considered briefly using github pages for hosting but then decided to self-host since I have a DO instance I use for hobby development and testing from time to time anyways.
Archiving a Wordpress site
If you google for archiving a wordpress site you’ll find surprisingly few good results. You’ll find a few articles and blogs about it and they all depend on wordpress plugins or downloading some sort of web crawler apps. The plugins either did not work on my wordpress site with an old PHP version and I did not want to bother to upgrade PHP (I was using an CentOS 6 distro, don’t judge me!). Another plugin simply wasn’t available anymore (the author withdrew the plugin).
Given the plugins were not going to work I was considering the web crawler option when it hit me: wait, may be wget
has options to completely download a site and its resources recursively?
Yes it does!
Here is how:
Credit goes to the linuxjournal article I found when I asked google about it.
Just like that, I was done. I spent more time looking at complicated ways of doing it when the easiest and cleaneast solution was right at my fingertips. The resulting archive is still at the same old url but now it’s all static content for my two legacy blogs:
https://moythreads.com/wordpress/
https://moythreads.com/astunicall/
This is my first ever Jekyll post and I am aiming to post regularly going forward. At least once a month. It’s kind of nice and liberating to be able to write using just a textfile with markdown. I had a couple of posts started in my old wordpress blog I’ll be completing and publishing soon here.
Onwards!