TryGhost/Ghost — pull request #1483 by robconery (2013-11-15 02:59:26+00:00)
Title: Added legacy support for Wordpress URL routing

Currently Ghost only has routing for /ROOT/slug and many blogs (like mine) have adopted a Wordpress style of /ROOT/year/month/day/slug. This PR allows for both options and simply adds a route that accepts the WP style.

Given that I just pushed my blog (http://www.wekeroad.com) I thought about how I wanted to handle some of my old links. The first choice is to push back a 301 and redirect to the Ghost /ROOT/slug way of doing things. The other part of me thought "why break history?".

This PR allows for incoming URLs to be routed correctly, and is the simplest way to address this problem.