testing out the codes to rewrite url