fix redirect in post

This type of error is why testing is important in real applications. Human testing << automated testing.