Get rid of inconsistencies between server-side and client-side routes, like `/events/6122012` and `#/dates/6122012`