add redirect in config