Add redirection to the plugin