Derive redirect URL from settings