Rewrite url also