make sure we don't redirect non-existent pages
Merge pull request #51 from Remo/fix-home-redirection

make sure we don't redirect non-existent pages