added new REST method to rewrite urls