Add redirect as a configuration option.