Fix for redirects
Merge pull request #125 from wshafer/master

Fix for redirects