A previous commit (9698018e) broke redirect functionality; this fixes it.
Merge pull request #429 from duairc/fix-redirects

A previous commit (9698018e) broke redirect functionality; this fixes it.