added redirect rule for old api ios