Support new pathtree rewrite with reversing of URLs moved to the pathtree