Add url rewriter for shortened urls