For time-saving and better control reasons, I decided to merge few other blogs into this one. They were hosted on Google’s blogger. Here are some lessons I learned during the migration. Hope this helps.
- Use jekyll-import to import articles
- Due to the different URL formats, I use jekyll-redirect-from to redirect the old paths to the correct ones. This plugin is being supported by Github Pages
- Redirect some Blogger’s feature path to proper pages, for examples：
/search/label/NAME(article tagged with certain label)
/2020/02/(archives by year)
The vanilla Jekyll didn’t come with label pages by default, I built the tag page base on this article: https://blog.lunarlogic.io/2019/managing-tags-in-jekyll-blog-easily/