alexwlchan / alexwlchan.net

Source code and plugins for my website, a static site built with Jekyll
https://alexwlchan.net/
MIT License
42 stars 12 forks source link

Remove the per-year indexes; redirect all to /all-posts/ #756

Closed alexwlchan closed 5 months ago

alexwlchan commented 5 months ago

For a while I've had per-year archives, e.g. if you're reading /2013/my-great-post/ you can delete the last part of the URL to get /2013/ and see all the posts from /2013/.

Because good URLs are "hackable", right?

Yeah, right. In practice those pages get very little traffic (~20 hits in the last two months) and I'm not sure they're that useful anyway; is "all my posts from 2014" actually a useful query vs "all my posts"?

So this patch removes all those pages and redirects you straight to the all-posts index.

This is part of #741