Redirect to the correct context path