Add a common config for redirection