change full redirect to relative