Redirect old pk urls to id_code urls