less "janky" solution to custom urls