server transform and redirect