allow a plugin to redirect a request