I'm trying to migrate my site from Blogger to Hakyll (which I'll then deploy to Github pages), but I don't want all old links to break. Also, my old posts were all in blog.domain.com/, whereas now they'll be in domain.com/posts/. What's more, the URLs in Blogger only include the month and year, whereas in Hakyll they're including the day as well, which means I'll almost certainly have to do things manually. A quick Google search has not turned up answers, and I don't have enough knowledge of how-to-write-websites to solve my own problem.
Example of the format I'm trying to redirect from
blog.domain.com/2015/09/title.html
Which I would like to map to
domain.com/posts/2015-09-08-title.html
EDIT: I found something that ought to work, but doesn't. After setting up my redirects exactly as in the example file, I get one of two errors:
1) unexpected character \n
OR
2) expected ListField but got StringField