Revert "Added redirect function to dispatcher"

This reverts commit eb13e343fc4d437a5a0e84a0e5854d6c0643e98b.