Revert "added auto redirect"

This reverts commit 40f4939c1587abaf00edb30559e53f647e973adf.