Preparing to move from Wordpress to Zola
15 February, 2024In Feb 2021 I said I was planning on moving from WordPress to Zola. I am still not done. Eking the work out really hasn’t worked. Who’d have thought?
If I didn’t care about maintaining URLs then I would probably be done by now, but I do because, y’know, I desperately want to be cool.
So, important URLs to maintain in priority order:
- Main entry point (
/blog
) - Individual post entry URL (
/blog/year/month/title
) - Feed URL (
/blog/feed
) - Year URL (
/blog/year/
) - Month URL(
/blog/year/month
)
Nice to have URLs:
- Tag URL (
/blog/tag/tagname
)
URLs I’m going to ignore:
- Category URLs (
/blog/category/catname/
) – I’ll merge this with tags - All pagination URLs (
blog/page/x/
)
Of the URLs I want to keep only the feed URL looks impossible – I don’t think Zola can create a feed at two levels deep, which means I’ll need a rewrite, which needs I’ll need a host which supports rewrites which I thought meant I’d have to actually get a proper host (like Hetzner’s CAX11) but actually it looks like my plan of hosting on Cloudflare Pages is still good to go because they support redirects!
I’m using a custom plugin to get my content out of WordPress in the first place. I’ll write about that another time.